Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 81.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 157.8 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8278/0.8278, allocations: 101.3 MB / 361.1 MB, free: 9.512 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.14 kB / 0.5356 GB, free: 5.254 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1951, allocations: 85.89 MB / 0.6195 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007618/0.2027, allocations: 3.821 MB / 0.6232 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5551/0.7578, allocations: 132.6 MB / 0.7527 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009113/0.7587, allocations: 23.25 kB / 0.7527 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.7594, allocations: 171.3 kB / 0.7529 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.7612, allocations: 0.4926 MB / 0.7534 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.7631, allocations: 0.8316 MB / 0.7542 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.7649, allocations: 1.212 MB / 0.7554 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000761/0.7656, allocations: 435.2 kB / 0.7558 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007772/0.7664, allocations: 470.5 kB / 0.7562 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.767, allocations: 404.5 kB / 0.7566 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.7671, allocations: 105.8 kB / 0.7567 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.7683, allocations: 485.9 kB / 0.7572 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.7687, allocations: 278.5 kB / 0.7574 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005922/0.7693, allocations: 411.4 kB / 0.7578 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.7717, allocations: 1.549 MB / 0.7593 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7717, allocations: 0 / 0.7593 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7717, allocations: 1.906 kB / 0.7593 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.7717, allocations: 4 kB / 0.7593 GB, free: 8.746 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002737/0.7744, allocations: 1.31 MB / 0.7606 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.7745, allocations: 9.188 kB / 0.7606 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.7762, allocations: 234.8 kB / 0.7609 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.7776, allocations: 0.6818 MB / 0.7615 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.7777, allocations: 68.53 kB / 0.7616 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.7777, allocations: 77.12 kB / 0.7617 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.7794, allocations: 1.118 MB / 0.7627 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.7795, allocations: 0 / 0.7627 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.254e-05/0.7795, allocations: 36.06 kB / 0.7628 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.7796, allocations: 24.12 kB / 0.7628 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.7812, allocations: 1.022 MB / 0.7638 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.7852, allocations: 1.993 MB / 0.7658 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.7864, allocations: 0.6855 MB / 0.7664 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.7869, allocations: 251.5 kB / 0.7667 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.947e-05/0.787, allocations: 25.25 kB / 0.7667 GB, free: 4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008754/0.7879, allocations: 0.5114 MB / 0.7672 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.405e-06/0.7879, allocations: 0 / 0.7672 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002985/0.7909, allocations: 1.015 MB / 0.7682 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.791, allocations: 188.9 kB / 0.7684 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.7918, allocations: 0.5549 MB / 0.7689 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/0.7919, allocations: 42.73 kB / 0.7689 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.7923, allocations: 390.6 kB / 0.7693 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.7925, allocations: 259.5 kB / 0.7696 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.7928, allocations: 152.9 kB / 0.7697 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.793, allocations: 374.8 kB / 0.7701 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.7934, allocations: 235.3 kB / 0.7703 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006644/0.7941, allocations: 468.7 kB / 0.7707 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.7951, allocations: 0.5607 MB / 0.7713 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7951, allocations: 3.281 kB / 0.7713 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001917/0.797, allocations: 0.7924 MB / 0.7721 GB, free: 296 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.797, allocations: 5.188 kB / 0.7721 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.797, allocations: 0 / 0.7721 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/0.7977, allocations: 77.69 kB / 0.7721 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.7983, allocations: 158 kB / 0.7723 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.8007, allocations: 1.508 MB / 0.7738 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007168/0.8014, allocations: 72.97 kB / 0.7738 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.8015, allocations: 36.16 kB / 0.7739 GB, free: 14.72 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005166/0.802, allocations: 250.7 kB / 0.7741 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.8022, allocations: 77.58 kB / 0.7742 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.8046, allocations: 1.004 MB / 0.7752 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.8046, allocations: 7.531 kB / 0.7752 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.8046, allocations: 2.875 kB / 0.7752 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.8046, allocations: 3.984 kB / 0.7752 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/0.8089, allocations: 1.633 MB / 0.7768 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.8089, allocations: 2.875 kB / 0.7768 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.8094, allocations: 147.3 kB / 0.7769 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.8099, allocations: 74.44 kB / 0.777 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.8099, allocations: 20.08 kB / 0.777 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.812, allocations: 1.528 MB / 0.7785 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.812, allocations: 0 / 0.7785 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.8141, allocations: 0.9207 MB / 0.7794 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.8147, allocations: 176.3 kB / 0.7796 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.8149, allocations: 25.34 kB / 0.7796 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007162/0.8156, allocations: 53.83 kB / 0.7796 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.8158, allocations: 72.5 kB / 0.7797 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.8159, allocations: 33.62 kB / 0.7797 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007978/0.8167, allocations: 402.5 kB / 0.7801 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.8167, allocations: 0 / 0.7801 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001122/0.8178, allocations: 296.4 kB / 0.7804 GB, free: 10.25 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002249/0.82, allocations: 0.6345 MB / 0.781 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.8218, allocations: 0.7365 MB / 0.7817 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.8218, allocations: 2.781 kB / 0.7817 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009435/0.8227, allocations: 475.6 kB / 0.7822 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.8241, allocations: 270.8 kB / 0.7825 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.8283, allocations: 1.689 MB / 0.7841 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.8288, allocations: 420.7 kB / 0.7845 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008262/0.8296, allocations: 257.7 kB / 0.7848 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.8299, allocations: 110 kB / 0.7849 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of SimCode: time 7.52e-07/0.8299, allocations: 0 / 0.7849 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.02644/0.8563, allocations: 14.14 MB / 0.7987 GB, free: 13.93 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.909440616960637] Failed to read output from testmodel.py, exit status != 0: 0.8651892159832641 0.88250583 0.10739332800000001 Calling exit ...