Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.001343/0.001343, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001188/0.001188, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9236/0.9236, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7474/0.7474, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.272e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002014/0.002036, allocations: 1.655 MB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0007673/0.002804, allocations: 0.6542 MB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.152e-05/0.002855, allocations: 4 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.002981, allocations: 67.83 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.00318, allocations: 109.6 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.003407, allocations: 101.1 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.003534, allocations: 127.7 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.185e-05/0.003596, allocations: 16.89 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.003752, allocations: 92.69 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.00387, allocations: 103.9 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.003888, allocations: 11.94 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.727e-05/0.003985, allocations: 80.92 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.004028, allocations: 31.91 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.004065, allocations: 32.83 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.004233, allocations: 163.6 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004235, allocations: 0 / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004236, allocations: 0.5 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.004239, allocations: 1.031 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004165/0.004655, allocations: 0.5129 MB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.004685, allocations: 8.031 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.00479, allocations: 30.05 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.004908, allocations: 164 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.004917, allocations: 6.156 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.004927, allocations: 8.375 kB / 0.525 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.00504, allocations: 127.9 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.005045, allocations: 192 / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.005052, allocations: 384 / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.005056, allocations: 5.656 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.005102, allocations: 57.67 kB / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.005339, allocations: 411.3 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.005442, allocations: 101.4 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.00549, allocations: 65.16 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.005506, allocations: 4 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.00564, allocations: 188.4 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.005641, allocations: 0 / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0002273/0.005869, allocations: 240.1 kB / 0.5261 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.005903, allocations: 110.8 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.006017, allocations: 256.6 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.006028, allocations: 25.7 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.006091, allocations: 168.2 kB / 0.5267 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.006119, allocations: 39.61 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.006156, allocations: 35.36 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.006274, allocations: 0.505 MB / 0.5272 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.006333, allocations: 49.69 kB / 0.5273 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.006374, allocations: 72.98 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.006452, allocations: 119.7 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006454, allocations: 0 / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001481/0.006602, allocations: 203.8 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.006627, allocations: 45.62 kB / 0.5277 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.006631, allocations: 0 / 0.5277 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.006638, allocations: 0 / 0.5277 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.006697, allocations: 16.25 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-06/0.006699, allocations: 0 / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.006749, allocations: 19.88 kB / 0.5277 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.006759, allocations: 4 kB / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.006841, allocations: 208.3 kB / 0.5279 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.006863, allocations: 23.84 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.006969, allocations: 91.14 kB / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.00697, allocations: 0 / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.006971, allocations: 0 / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006974, allocations: 0 / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.007122, allocations: 141.8 kB / 0.5282 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007123, allocations: 1.25 kB / 0.5282 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.007152, allocations: 15.98 kB / 0.5282 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007153, allocations: 0 / 0.5282 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.007161, allocations: 4 kB / 0.5282 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007162, allocations: 4.562 kB / 0.5282 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.007164, allocations: 5.562 kB / 0.5282 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.007343, allocations: 271.3 kB / 0.5285 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.007383, allocations: 31.83 kB / 0.5285 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.007403, allocations: 11.94 kB / 0.5285 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.007444, allocations: 13.2 kB / 0.5285 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.007475, allocations: 11.98 kB / 0.5285 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.007487, allocations: 4 kB / 0.5285 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.007549, allocations: 179.2 kB / 0.5287 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007549, allocations: 0.6562 kB / 0.5287 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001442/0.007693, allocations: 40 kB / 0.5287 GB, free: 9.285 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.007811, allocations: 128.5 kB / 0.5289 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.007954, allocations: 202.1 kB / 0.5291 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.007956, allocations: 4 kB / 0.5291 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.792e-05/0.008024, allocations: 140.7 kB / 0.5292 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.008157, allocations: 12 kB / 0.5292 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.008643, allocations: 338.4 kB / 0.5295 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.008681, allocations: 79.33 kB / 0.5296 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.008707, allocations: 6.5 kB / 0.5296 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.008783, allocations: 102.1 kB / 0.5297 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.008784, allocations: 0 / 0.5297 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of Templates: time 0.00327/0.01205, allocations: 1.841 MB / 0.5315 GB, free: 6.469 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4614559854380786]