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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 110.1 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 188.9 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002426/0.002426, allocations: 283.8 kB / 307 MB, free: 8.355 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.172/1.172, allocations: 180.8 MB / 0.5304 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002773/0.002773, allocations: 100.9 kB / 0.7311 GB, free: 38.87 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 94.2 MB / 0.8231 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002766/0.1674, allocations: 1.625 MB / 0.8247 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1686, allocations: 0.6635 MB / 0.8253 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.1686, allocations: 4 kB / 0.8253 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.1688, allocations: 67.83 kB / 0.8254 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1691, allocations: 111.7 kB / 0.8255 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.1694, allocations: 99.7 kB / 0.8256 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1696, allocations: 123.7 kB / 0.8257 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.1697, allocations: 11.97 kB / 0.8257 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1699, allocations: 79.73 kB / 0.8258 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.17, allocations: 111.8 kB / 0.8259 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1701, allocations: 7.938 kB / 0.8259 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1702, allocations: 79.92 kB / 0.826 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.1703, allocations: 31.91 kB / 0.826 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.1703, allocations: 59.61 kB / 0.8261 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1706, allocations: 175.2 kB / 0.8262 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1706, allocations: 0 / 0.8262 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1706, allocations: 0 / 0.8262 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1706, allocations: 0 / 0.8262 GB, free: 14.47 MB / 0.5762 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.0006911/0.1713, allocations: 415 kB / 0.8266 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1713, allocations: 8.625 kB / 0.8266 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.1714, allocations: 16.84 kB / 0.8267 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1716, allocations: 169.7 kB / 0.8268 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1716, allocations: 4.375 kB / 0.8268 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1716, allocations: 4.375 kB / 0.8268 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.1719, allocations: 159.6 kB / 0.827 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1719, allocations: 0 / 0.827 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1719, allocations: 0 / 0.827 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1719, allocations: 0 / 0.827 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1721, allocations: 105.7 kB / 0.8271 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1725, allocations: 383.9 kB / 0.8275 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1727, allocations: 130.9 kB / 0.8276 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.1729, allocations: 103.5 kB / 0.8277 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1729, allocations: 7.938 kB / 0.8277 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.1732, allocations: 208.5 kB / 0.8279 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.1732, allocations: 0 / 0.8279 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005897/0.1738, allocations: 398.5 kB / 0.8283 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.1738, allocations: 110.8 kB / 0.8284 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.174, allocations: 211.7 kB / 0.8286 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1741, allocations: 33.7 kB / 0.8286 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.1741, allocations: 124 kB / 0.8287 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.1742, allocations: 35.88 kB / 0.8288 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.1742, allocations: 25.72 kB / 0.8288 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1744, allocations: 334.8 kB / 0.8291 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.1745, allocations: 89.67 kB / 0.8292 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1746, allocations: 115.3 kB / 0.8293 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.1748, allocations: 201.1 kB / 0.8295 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1748, allocations: 0 / 0.8295 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003749/0.1752, allocations: 308.9 kB / 0.8298 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.1753, allocations: 37.69 kB / 0.8298 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1753, allocations: 0 / 0.8298 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1753, allocations: 96 / 0.8298 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.1754, allocations: 15.94 kB / 0.8298 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1754, allocations: 0 / 0.8298 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1755, allocations: 23.92 kB / 0.8299 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1755, allocations: 8 kB / 0.8299 GB, free: 10.42 MB / 0.5762 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 0.0001594/0.1757, allocations: 176.1 kB / 0.83 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.1757, allocations: 15.91 kB / 0.83 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.1759, allocations: 99.06 kB / 0.8301 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1759, allocations: 0 / 0.8301 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1759, allocations: 3.938 kB / 0.8301 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1759, allocations: 4 kB / 0.8301 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.1761, allocations: 212.9 kB / 0.8303 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1761, allocations: 0 / 0.8303 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.1762, allocations: 15.98 kB / 0.8304 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1762, allocations: 4 kB / 0.8304 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1762, allocations: 4 kB / 0.8304 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1762, allocations: 4 kB / 0.8304 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1762, allocations: 0 / 0.8304 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.1767, allocations: 377 kB / 0.8307 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.1768, allocations: 27.89 kB / 0.8308 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.1768, allocations: 8 kB / 0.8308 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.1769, allocations: 7.984 kB / 0.8308 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.1769, allocations: 7.984 kB / 0.8308 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.177, allocations: 8 kB / 0.8308 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001431/0.1771, allocations: 159.4 kB / 0.8309 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1771, allocations: 3.938 kB / 0.8309 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002582/0.1774, allocations: 47.94 kB / 0.831 GB, free: 9.156 MB / 0.5762 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.0001838/0.1775, allocations: 136.8 kB / 0.8311 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.1779, allocations: 274.7 kB / 0.8314 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1779, allocations: 0 / 0.8314 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.1781, allocations: 173 kB / 0.8316 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.1783, allocations: 19.55 kB / 0.8316 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.1789, allocations: 378.1 kB / 0.8319 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1793, allocations: 0.7236 MB / 0.8326 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.037e-05/0.1793, allocations: 8.172 kB / 0.8326 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.1794, allocations: 19.42 kB / 0.8327 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.1794, allocations: 4 kB / 0.8327 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of Templates: time 0.005053/0.1844, allocations: 1.734 MB / 0.8344 GB, free: 5.648 MB / 0.5762 GB " [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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.019234047969803] Failed to read output from testmodel.py, exit status != 0: 0.19176968885585666 0.20614330799999994 0.03263158199999994 Calling exit ...