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.001481/0.001481, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001777/0.001777, allocations: 219.8 kB / 23.03 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.002481/0.002481, allocations: 300 kB / 313.5 MB, free: 2.609 MB / 238.1 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 1.226/1.226, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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 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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002804/0.002804, allocations: 99.75 kB / 0.7402 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.16, allocations: 95.39 MB / 0.8334 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00314/0.1631, allocations: 1.609 MB / 0.835 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1644, allocations: 0.635 MB / 0.8356 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.1645, allocations: 0 / 0.8356 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.1646, allocations: 79.75 kB / 0.8357 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.1649, allocations: 103.7 kB / 0.8358 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1653, allocations: 110.3 kB / 0.8359 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1655, allocations: 131.6 kB / 0.836 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.1656, allocations: 7.984 kB / 0.836 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.1658, allocations: 71.86 kB / 0.8361 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.166, allocations: 123.7 kB / 0.8362 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.166, allocations: 4 kB / 0.8362 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.1662, allocations: 87.92 kB / 0.8363 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.1663, allocations: 35.86 kB / 0.8363 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.1664, allocations: 43.72 kB / 0.8363 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.1667, allocations: 175.6 kB / 0.8365 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1667, allocations: 3.938 kB / 0.8365 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1667, allocations: 0 / 0.8365 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1667, allocations: 0 / 0.8365 GB, free: 5.148 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.0007332/0.1674, allocations: 411 kB / 0.8369 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1674, allocations: 13.34 kB / 0.8369 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.603e-05/0.1675, allocations: 192 / 0.8369 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1675, allocations: 42.73 kB / 0.837 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.1677, allocations: 24.84 kB / 0.837 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.168, allocations: 158.2 kB / 0.8371 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.168, allocations: 8.375 kB / 0.8371 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.168, allocations: 4.375 kB / 0.8372 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1683, allocations: 149 kB / 0.8373 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1683, allocations: 3.938 kB / 0.8373 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1683, allocations: 11.98 kB / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1683, allocations: 0 / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1685, allocations: 97.67 kB / 0.8374 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.1689, allocations: 360.1 kB / 0.8377 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.1691, allocations: 142.8 kB / 0.8379 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.1693, allocations: 103.5 kB / 0.838 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1693, allocations: 0 / 0.838 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.1696, allocations: 204.5 kB / 0.8382 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1696, allocations: 0 / 0.8382 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006837/0.1703, allocations: 406.5 kB / 0.8386 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.1703, allocations: 114.8 kB / 0.8387 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1706, allocations: 219.1 kB / 0.8389 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1706, allocations: 29.7 kB / 0.8389 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.1707, allocations: 112.1 kB / 0.839 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.1707, allocations: 35.75 kB / 0.839 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.1708, allocations: 29.67 kB / 0.8391 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1709, allocations: 342.7 kB / 0.8394 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1711, allocations: 89.67 kB / 0.8395 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1712, allocations: 109.5 kB / 0.8396 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.1714, allocations: 201 kB / 0.8398 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1714, allocations: 0 / 0.8398 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003929/0.1718, allocations: 309.2 kB / 0.8401 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.1719, allocations: 37.7 kB / 0.8401 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1719, allocations: 11.98 kB / 0.8401 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1719, allocations: 0 / 0.8401 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.172, allocations: 12 kB / 0.8401 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.172, allocations: 240 / 0.8401 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1721, allocations: 11.92 kB / 0.8402 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1721, allocations: 8 kB / 0.8402 GB, free: 1.062 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.0001792/0.1723, allocations: 184 kB / 0.8403 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.1724, allocations: 19.86 kB / 0.8404 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1726, allocations: 107.1 kB / 0.8405 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1726, allocations: 0 / 0.8405 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1726, allocations: 0 / 0.8405 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1726, allocations: 4 kB / 0.8405 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.1728, allocations: 184.6 kB / 0.8406 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1728, allocations: 0 / 0.8406 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.1729, allocations: 11.94 kB / 0.8406 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1729, allocations: 4 kB / 0.8407 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1729, allocations: 0 / 0.8407 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1729, allocations: 4 kB / 0.8407 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1729, allocations: 8.062 kB / 0.8407 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.1734, allocations: 393 kB / 0.841 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.1735, allocations: 35.78 kB / 0.8411 GB, free: 28 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.1735, allocations: 4 kB / 0.8411 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.1736, allocations: 7.984 kB / 0.8411 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.1737, allocations: 15.92 kB / 0.8411 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.1737, allocations: 4.047 kB / 0.8411 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001602/0.1739, allocations: 172.1 kB / 0.8413 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1739, allocations: 0 / 0.8413 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002643/0.1741, allocations: 40 kB / 0.8413 GB, free: 15.79 MB / 0.5919 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.0008875/0.175, allocations: 0.9323 MB / 0.8422 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.1754, allocations: 274.7 kB / 0.8425 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1754, allocations: 0 / 0.8425 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.1756, allocations: 169.2 kB / 0.8426 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.1758, allocations: 22.36 kB / 0.8427 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.1786, allocations: 2.418 MB / 0.845 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.1787, allocations: 110.1 kB / 0.8451 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.468e-05/0.1788, allocations: 8.172 kB / 0.8451 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.1788, allocations: 47.41 kB / 0.8452 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.1788, allocations: 0 / 0.8452 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.2043, allocations: 3.818 MB / 0.8489 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.64, allocations: 7.344 kB / 0.8489 GB, free: 7.977 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.791686768992804] Failed to read output from testmodel.py, exit status != 0: 11.798147190012969 11.825254823 11.653594424 Calling exit ...