Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001308/0.001308, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.001611/0.001611, allocations: 173.1 kB / 23.28 MB, free: 1.215 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.935/0.935, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001584/0.001584, allocations: 249.4 kB / 260.5 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7033/0.7033, allocations: 138.4 MB / 455.5 MB, free: 1.414 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5556 GB, free: 276 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.73e-05, allocations: 9.203 kB / 0.5556 GB, free: 268 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001813/0.00183, allocations: 1.638 MB / 0.5572 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.002617, allocations: 0.6542 MB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.002672, allocations: 8 kB / 0.5578 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.002796, allocations: 67.83 kB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.00301, allocations: 115.5 kB / 0.558 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.003271, allocations: 107.6 kB / 0.5581 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.003406, allocations: 127.6 kB / 0.5582 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.003469, allocations: 11.98 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.003629, allocations: 91.83 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.00375, allocations: 99.81 kB / 0.5584 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.003768, allocations: 8 kB / 0.5584 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.003877, allocations: 87.91 kB / 0.5585 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.003918, allocations: 27.92 kB / 0.5585 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.003956, allocations: 31.86 kB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.004124, allocations: 171.4 kB / 0.5587 GB, free: 13.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-06/0.004126, allocations: 0 / 0.5587 GB, free: 13.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004126, allocations: 0 / 0.5587 GB, free: 13.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.00413, allocations: 0 / 0.5587 GB, free: 13.01 MB / 490.7 MB 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.0004399/0.00457, allocations: 0.5052 MB / 0.5592 GB, free: 12.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.004602, allocations: 12.75 kB / 0.5592 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.004716, allocations: 32.77 kB / 0.5593 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.004844, allocations: 152.3 kB / 0.5594 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.004856, allocations: 4.375 kB / 0.5594 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.004867, allocations: 16.31 kB / 0.5594 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.004991, allocations: 128 kB / 0.5596 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004998, allocations: 192 / 0.5596 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.005006, allocations: 384 / 0.5596 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.005011, allocations: 3.938 kB / 0.5596 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.005063, allocations: 61.61 kB / 0.5596 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.005307, allocations: 407.3 kB / 0.56 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.005398, allocations: 111.8 kB / 0.5601 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.005437, allocations: 61.16 kB / 0.5602 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.005452, allocations: 8 kB / 0.5602 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.005584, allocations: 179.3 kB / 0.5604 GB, free: 11.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 8.01e-07/0.005585, allocations: 0 / 0.5604 GB, free: 11.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002456/0.005831, allocations: 246.6 kB / 0.5606 GB, free: 10.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.005866, allocations: 114.8 kB / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.005988, allocations: 253.5 kB / 0.5609 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.006, allocations: 29.64 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.006059, allocations: 174.8 kB / 0.5611 GB, free: 10.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.006087, allocations: 31.73 kB / 0.5612 GB, free: 10.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.006125, allocations: 43.34 kB / 0.5612 GB, free: 10.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.006234, allocations: 0.5079 MB / 0.5617 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.006266, allocations: 41.69 kB / 0.5617 GB, free: 9.621 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.006305, allocations: 65.06 kB / 0.5618 GB, free: 9.543 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.006379, allocations: 122.7 kB / 0.5619 GB, free: 9.402 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006381, allocations: 0 / 0.5619 GB, free: 9.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000143/0.006524, allocations: 196.8 kB / 0.5621 GB, free: 9.191 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.006548, allocations: 41.64 kB / 0.5622 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.006552, allocations: 0 / 0.5622 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.006562, allocations: 320 / 0.5622 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.006619, allocations: 15.98 kB / 0.5622 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.006622, allocations: 4 kB / 0.5622 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.00667, allocations: 15.89 kB / 0.5622 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.00668, allocations: 11.98 kB / 0.5622 GB, free: 9.098 MB / 490.7 MB 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.784e-05/0.006768, allocations: 198.3 kB / 0.5624 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.006792, allocations: 27.78 kB / 0.5624 GB, free: 8.859 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.006904, allocations: 83.22 kB / 0.5625 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006906, allocations: 0 / 0.5625 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006907, allocations: 0 / 0.5625 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.006913, allocations: 3.984 kB / 0.5625 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.007016, allocations: 157.1 kB / 0.5626 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007017, allocations: 0 / 0.5626 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.007046, allocations: 8 kB / 0.5627 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007048, allocations: 0 / 0.5627 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.007056, allocations: 7.984 kB / 0.5627 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.007059, allocations: 7.938 kB / 0.5627 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00706, allocations: 0 / 0.5627 GB, free: 8.566 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.007244, allocations: 275.3 kB / 0.5629 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.007283, allocations: 31.81 kB / 0.563 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.007302, allocations: 4 kB / 0.563 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-05/0.007345, allocations: 15.92 kB / 0.563 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.007376, allocations: 11.98 kB / 0.563 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.007387, allocations: 4 kB / 0.563 GB, free: 8.191 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.007451, allocations: 172.4 kB / 0.5632 GB, free: 8.023 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007451, allocations: 0 / 0.5632 GB, free: 8.023 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.007612, allocations: 43.94 kB / 0.5632 GB, free: 7.98 MB / 490.7 MB 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.0001245/0.007736, allocations: 138 kB / 0.5633 GB, free: 7.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.007884, allocations: 194.6 kB / 0.5635 GB, free: 7.621 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.007885, allocations: 0 / 0.5635 GB, free: 7.621 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.93e-05/0.007954, allocations: 136.8 kB / 0.5637 GB, free: 7.465 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.008089, allocations: 16.8 kB / 0.5637 GB, free: 7.449 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.008578, allocations: 343.8 kB / 0.564 GB, free: 7.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.008619, allocations: 71.33 kB / 0.5641 GB, free: 6.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.008646, allocations: 11.98 kB / 0.5641 GB, free: 6.969 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.008725, allocations: 98.19 kB / 0.5642 GB, free: 6.871 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008726, allocations: 0 / 0.5642 GB, free: 6.871 MB / 490.7 MB Notification: Performance of Templates: time 0.003186/0.01191, allocations: 1.865 MB / 0.566 GB, free: 5.059 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2258677510544658]