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.0008617/0.0008616, allocations: 92.16 kB / 15.71 MB, free: 452 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.001125/0.001125, allocations: 177.5 kB / 16.58 MB, free: 6.859 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.355/1.355, allocations: 223.3 MB / 240.6 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6516/0.6516, allocations: 113.7 MB / 405.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 12 kB / 493.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 77.11 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001481/0.1507, allocations: 1.29 MB / 0.5582 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008484/0.1516, allocations: 0.5888 MB / 0.5587 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.1517, allocations: 0 / 0.5587 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.1518, allocations: 83.81 kB / 0.5588 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.152, allocations: 87.73 kB / 0.5589 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1523, allocations: 75.84 kB / 0.559 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1524, allocations: 103.7 kB / 0.5591 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.015e-05/0.1525, allocations: 15.98 kB / 0.5591 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1526, allocations: 59.81 kB / 0.5591 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1527, allocations: 87.77 kB / 0.5592 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1528, allocations: 0 / 0.5592 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1529, allocations: 67.94 kB / 0.5593 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.1529, allocations: 35.89 kB / 0.5593 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.153, allocations: 45.64 kB / 0.5594 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1531, allocations: 116 kB / 0.5595 GB, free: 8.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1531, allocations: 8 kB / 0.5595 GB, free: 8.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1532, allocations: 0 / 0.5595 GB, free: 8.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1532, allocations: 3.938 kB / 0.5595 GB, free: 8.941 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.0005326/0.1537, allocations: 448.4 kB / 0.5599 GB, free: 8.449 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1537, allocations: 12.03 kB / 0.5599 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.1538, allocations: 34.56 kB / 0.56 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.1538, allocations: 19.81 kB / 0.56 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.154, allocations: 206.7 kB / 0.5602 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.154, allocations: 8 kB / 0.5602 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.154, allocations: 7.938 kB / 0.5602 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1542, allocations: 134.1 kB / 0.5603 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1542, allocations: 0 / 0.5603 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1543, allocations: 0 / 0.5603 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1543, allocations: 0 / 0.5603 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1544, allocations: 67.97 kB / 0.5604 GB, free: 7.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.1548, allocations: 420.8 kB / 0.5608 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1549, allocations: 113.1 kB / 0.5609 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.155, allocations: 81.78 kB / 0.561 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.155, allocations: 7.938 kB / 0.561 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.1553, allocations: 174.7 kB / 0.5611 GB, free: 7.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1553, allocations: 0 / 0.5611 GB, free: 7.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004534/0.1557, allocations: 335 kB / 0.5615 GB, free: 6.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.1558, allocations: 110.8 kB / 0.5616 GB, free: 6.555 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.156, allocations: 208.4 kB / 0.5618 GB, free: 6.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.156, allocations: 41.64 kB / 0.5618 GB, free: 6.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.1561, allocations: 108.1 kB / 0.5619 GB, free: 6.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1561, allocations: 39.69 kB / 0.5619 GB, free: 6.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.1561, allocations: 0 / 0.5619 GB, free: 6.145 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1562, allocations: 326.8 kB / 0.5623 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.1563, allocations: 63.97 kB / 0.5623 GB, free: 5.754 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.1564, allocations: 81.62 kB / 0.5624 GB, free: 5.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.413e-05/0.1565, allocations: 85.59 kB / 0.5625 GB, free: 5.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1565, allocations: 8 kB / 0.5625 GB, free: 5.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002814/0.1568, allocations: 267 kB / 0.5627 GB, free: 5.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.1568, allocations: 41.69 kB / 0.5628 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1569, allocations: 96 / 0.5628 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1569, allocations: 7.938 kB / 0.5628 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.157, allocations: 8 kB / 0.5628 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.157, allocations: 4 kB / 0.5628 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.058e-05/0.1571, allocations: 7.984 kB / 0.5628 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1571, allocations: 4 kB / 0.5628 GB, free: 5.219 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.0001296/0.1572, allocations: 187.5 kB / 0.563 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1573, allocations: 19.77 kB / 0.563 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.1575, allocations: 98.97 kB / 0.5631 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1575, allocations: 4 kB / 0.5631 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1575, allocations: 384 / 0.5631 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1575, allocations: 0 / 0.5631 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1577, allocations: 229.5 kB / 0.5633 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1577, allocations: 8 kB / 0.5633 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-05/0.1577, allocations: 12 kB / 0.5633 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1577, allocations: 3.953 kB / 0.5634 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1578, allocations: 7.938 kB / 0.5634 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1578, allocations: 0 / 0.5634 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1578, allocations: 0 / 0.5634 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.1581, allocations: 331.4 kB / 0.5637 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.1582, allocations: 112.9 kB / 0.5638 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.1582, allocations: 7.953 kB / 0.5638 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.1583, allocations: 11.98 kB / 0.5638 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.1584, allocations: 7.984 kB / 0.5638 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1584, allocations: 11.98 kB / 0.5638 GB, free: 4.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1585, allocations: 168.2 kB / 0.564 GB, free: 3.906 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1585, allocations: 0 / 0.564 GB, free: 3.906 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1588, allocations: 40 kB / 0.564 GB, free: 3.867 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.0006395/0.1594, allocations: 0.8946 MB / 0.5649 GB, free: 2.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.1597, allocations: 243.3 kB / 0.5651 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1597, allocations: 0 / 0.5651 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1599, allocations: 167.3 kB / 0.5653 GB, free: 2.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.1601, allocations: 17.92 kB / 0.5653 GB, free: 2.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.1615, allocations: 1.189 MB / 0.5665 GB, free: 1.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1617, allocations: 0.7283 MB / 0.5672 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.186e-05/0.1618, allocations: 15.91 kB / 0.5672 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.1619, allocations: 47.36 kB / 0.5672 GB, free: 436 kB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1619, allocations: 0 / 0.5672 GB, free: 436 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.1779, allocations: 3.192 MB / 0.5704 GB, free: 13.44 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.1781, allocations: 217.6 kB / 0.5706 GB, free: 13.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/1.898, allocations: 0 / 0.5706 GB, free: 13.2 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: