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.001218/0.001218, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001327/0.001327, allocations: 189.1 kB / 22.22 MB, free: 5.102 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.373/1.373, allocations: 225.6 MB / 251 MB, free: 13.03 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.002563/0.002563, allocations: 293.2 kB / 306.6 MB, free: 8.336 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.191/1.191, allocations: 180.9 MB / 0.53 GB, free: 14.52 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.004633/0.004633, allocations: 104.7 kB / 0.7308 GB, free: 39 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1597, allocations: 94.2 MB / 0.8228 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00296/0.1627, allocations: 1.614 MB / 0.8244 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1639, allocations: 0.6675 MB / 0.825 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.1639, allocations: 0 / 0.825 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.1641, allocations: 83.75 kB / 0.8251 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.1644, allocations: 99.69 kB / 0.8252 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1647, allocations: 102.5 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1649, allocations: 127.7 kB / 0.8254 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.165, allocations: 4 kB / 0.8254 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.1651, allocations: 79.73 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.1653, allocations: 115.7 kB / 0.8256 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1653, allocations: 8 kB / 0.8256 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.1654, allocations: 83.86 kB / 0.8257 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.1655, allocations: 35.91 kB / 0.8258 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.1656, allocations: 51.61 kB / 0.8258 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1658, allocations: 171.3 kB / 0.826 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1658, allocations: 3.984 kB / 0.826 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1658, allocations: 0 / 0.826 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1658, allocations: 0 / 0.826 GB, free: 14.6 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.0007065/0.1665, allocations: 407.1 kB / 0.8264 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1666, allocations: 8.625 kB / 0.8264 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.1666, allocations: 16.84 kB / 0.8264 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1669, allocations: 169.7 kB / 0.8265 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1669, allocations: 4.375 kB / 0.8266 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1669, allocations: 4.375 kB / 0.8266 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.1671, allocations: 131.7 kB / 0.8267 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1672, allocations: 3.984 kB / 0.8267 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1672, allocations: 0 / 0.8267 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1672, allocations: 4 kB / 0.8267 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1673, allocations: 71.91 kB / 0.8268 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.1677, allocations: 380 kB / 0.8271 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1679, allocations: 109.1 kB / 0.8272 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.168, allocations: 69.78 kB / 0.8273 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1681, allocations: 4 kB / 0.8273 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.1683, allocations: 166.7 kB / 0.8275 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1683, allocations: 0 / 0.8275 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005657/0.1689, allocations: 339.3 kB / 0.8278 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.169, allocations: 118.7 kB / 0.8279 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1692, allocations: 215.8 kB / 0.8281 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1692, allocations: 25.7 kB / 0.8281 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/0.1693, allocations: 120 kB / 0.8282 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.1693, allocations: 31.73 kB / 0.8283 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.1694, allocations: 29.72 kB / 0.8283 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1695, allocations: 334.8 kB / 0.8286 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-05/0.1696, allocations: 55.98 kB / 0.8287 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1697, allocations: 81.62 kB / 0.8287 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.17, allocations: 197 kB / 0.8289 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.17, allocations: 0 / 0.8289 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003635/0.1703, allocations: 271.1 kB / 0.8292 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.1704, allocations: 37.7 kB / 0.8292 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1704, allocations: 0 / 0.8292 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1704, allocations: 4.312 kB / 0.8292 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1705, allocations: 11.98 kB / 0.8292 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1705, allocations: 0 / 0.8292 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1706, allocations: 15.98 kB / 0.8293 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1706, allocations: 12 kB / 0.8293 GB, free: 10.93 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.0001575/0.1708, allocations: 182.3 kB / 0.8294 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.1708, allocations: 19.91 kB / 0.8295 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.171, allocations: 95.02 kB / 0.8296 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.171, allocations: 0 / 0.8296 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.171, allocations: 3.984 kB / 0.8296 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.171, allocations: 8 kB / 0.8296 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1712, allocations: 208.5 kB / 0.8298 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1713, allocations: 0 / 0.8298 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.1713, allocations: 11.98 kB / 0.8298 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1713, allocations: 4.094 kB / 0.8298 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.1713, allocations: 7.984 kB / 0.8298 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1713, allocations: 0 / 0.8298 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1713, allocations: 0 / 0.8298 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.1718, allocations: 343.6 kB / 0.8301 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.1719, allocations: 24.08 kB / 0.8301 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.1719, allocations: 11.98 kB / 0.8301 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.932e-05/0.172, allocations: 7.938 kB / 0.8302 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.172, allocations: 11.98 kB / 0.8302 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.1721, allocations: 8 kB / 0.8302 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001638/0.1722, allocations: 163.3 kB / 0.8303 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1722, allocations: 0 / 0.8303 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002526/0.1725, allocations: 43.89 kB / 0.8304 GB, free: 9.715 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.0001923/0.1727, allocations: 139 kB / 0.8305 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.173, allocations: 219.2 kB / 0.8307 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.173, allocations: 0 / 0.8307 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.1732, allocations: 131.4 kB / 0.8308 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.1734, allocations: 16.92 kB / 0.8309 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.174, allocations: 358.4 kB / 0.8312 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1743, allocations: 0.7197 MB / 0.8319 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.1744, allocations: 4 kB / 0.8319 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1744, allocations: 19.42 kB / 0.8319 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1744, allocations: 4 kB / 0.8319 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of Templates: time 0.004965/0.1794, allocations: 1.728 MB / 0.8336 GB, free: 6.359 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.795712519437075] Failed to read output from testmodel.py, exit status != 0: 0.1886437814682722 0.20212395100000002 0.033271633 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fab1f1917b0>