Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000908/0.000908, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 176.2 kB / 16.57 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8082/0.8082, allocations: 113.7 MB / 405.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 8 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 77.12 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001905/0.1673, allocations: 1.286 MB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1683, allocations: 0.5849 MB / 0.5585 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.1684, allocations: 7.938 kB / 0.5586 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.1686, allocations: 63.89 kB / 0.5586 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.1689, allocations: 103.7 kB / 0.5587 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.1693, allocations: 67.78 kB / 0.5588 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1695, allocations: 79.88 kB / 0.5589 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.1696, allocations: 11.98 kB / 0.5589 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1697, allocations: 67.81 kB / 0.5589 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1699, allocations: 83.78 kB / 0.559 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1699, allocations: 4 kB / 0.559 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1701, allocations: 63.92 kB / 0.5591 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.1701, allocations: 35.91 kB / 0.5591 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.1702, allocations: 41.64 kB / 0.5592 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1704, allocations: 112 kB / 0.5593 GB, free: 9.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1704, allocations: 0 / 0.5593 GB, free: 9.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1705, allocations: 4 kB / 0.5593 GB, free: 9.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1705, allocations: 0 / 0.5593 GB, free: 9.035 MB / 430.1 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.000765/0.1712, allocations: 456.4 kB / 0.5597 GB, free: 8.535 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1713, allocations: 8.031 kB / 0.5597 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.1713, allocations: 46.48 kB / 0.5597 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.1714, allocations: 15.81 kB / 0.5598 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1717, allocations: 210.7 kB / 0.56 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1717, allocations: 4 kB / 0.56 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1717, allocations: 8 kB / 0.56 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1719, allocations: 123.2 kB / 0.5601 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.1719, allocations: 0 / 0.5601 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1719, allocations: 8 kB / 0.5601 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.172, allocations: 0 / 0.5601 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1721, allocations: 71.95 kB / 0.5602 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005381/0.1726, allocations: 408.8 kB / 0.5606 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1728, allocations: 121.1 kB / 0.5607 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1729, allocations: 0 / 0.5607 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.1731, allocations: 175 kB / 0.5608 GB, free: 7.203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1732, allocations: 0 / 0.5608 GB, free: 7.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006493/0.1738, allocations: 416.1 kB / 0.5612 GB, free: 6.766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.1739, allocations: 110.8 kB / 0.5613 GB, free: 6.633 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1741, allocations: 212.4 kB / 0.5615 GB, free: 6.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1742, allocations: 29.7 kB / 0.5616 GB, free: 6.379 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.1742, allocations: 108.1 kB / 0.5617 GB, free: 6.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1743, allocations: 39.55 kB / 0.5617 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.1743, allocations: 4 kB / 0.5617 GB, free: 6.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1744, allocations: 326.8 kB / 0.562 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1745, allocations: 59.97 kB / 0.5621 GB, free: 5.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1747, allocations: 73.69 kB / 0.5622 GB, free: 5.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1748, allocations: 97.53 kB / 0.5623 GB, free: 5.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1749, allocations: 0 / 0.5623 GB, free: 5.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003716/0.1752, allocations: 275.1 kB / 0.5625 GB, free: 5.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.1753, allocations: 37.69 kB / 0.5626 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1753, allocations: 4 kB / 0.5626 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1753, allocations: 0 / 0.5626 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.1754, allocations: 15.94 kB / 0.5626 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1754, allocations: 0 / 0.5626 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1755, allocations: 16.3 kB / 0.5626 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1756, allocations: 4 kB / 0.5626 GB, free: 5.297 MB / 430.1 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 ($whenCondition2,$PRE.decAng.tNext,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.1758, allocations: 171.5 kB / 0.5628 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.1758, allocations: 23.77 kB / 0.5628 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.176, allocations: 110.9 kB / 0.5629 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.176, allocations: 0 / 0.5629 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.176, allocations: 4 kB / 0.5629 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1761, allocations: 0 / 0.5629 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.1763, allocations: 233.5 kB / 0.5631 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1763, allocations: 0 / 0.5631 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.1764, allocations: 8 kB / 0.5631 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1764, allocations: 7.953 kB / 0.5631 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.1765, allocations: 8 kB / 0.5631 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1765, allocations: 4 kB / 0.5631 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1765, allocations: 0 / 0.5631 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.1771, allocations: 341.1 kB / 0.5635 GB, free: 4.301 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1772, allocations: 112.8 kB / 0.5636 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.1772, allocations: 4 kB / 0.5636 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.1773, allocations: 8 kB / 0.5636 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1774, allocations: 11.98 kB / 0.5636 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.1774, allocations: 11.98 kB / 0.5636 GB, free: 4.137 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.1776, allocations: 160.2 kB / 0.5638 GB, free: 3.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1776, allocations: 0 / 0.5638 GB, free: 3.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1779, allocations: 44 kB / 0.5638 GB, free: 3.938 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009391/0.1788, allocations: 0.9836 MB / 0.5648 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.1792, allocations: 247.1 kB / 0.565 GB, free: 2.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1792, allocations: 0 / 0.565 GB, free: 2.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.1795, allocations: 163.3 kB / 0.5651 GB, free: 2.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1797, allocations: 12.19 kB / 0.5652 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1817, allocations: 1.328 MB / 0.5665 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1821, allocations: 0.7355 MB / 0.5672 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.997e-05/0.1822, allocations: 7.984 kB / 0.5672 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.1822, allocations: 43.42 kB / 0.5672 GB, free: 280 kB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1822, allocations: 0 / 0.5672 GB, free: 280 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2564/0.4386, allocations: 3.191 MB / 0.5703 GB, free: 13.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.4389, allocations: 206.9 kB / 0.5705 GB, free: 13.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.393, allocations: 0 / 0.5705 GB, free: 13.05 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) Environment - environmentSimulation: