Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_IDEAS_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.005977/0.005977, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 197.8 kB / 16.68 MB, free: 5.926 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.02 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.158, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002787/0.1608, allocations: 1.491 MB / 0.6606 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1619, allocations: 0.5804 MB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.162, allocations: 0 / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1621, allocations: 75.77 kB / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1624, allocations: 87.81 kB / 0.6614 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.1628, allocations: 91.7 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.163, allocations: 95.8 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1632, allocations: 23.91 kB / 0.6616 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.1634, allocations: 55.88 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1636, allocations: 95.72 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1636, allocations: 4 kB / 0.6617 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1637, allocations: 75.92 kB / 0.6618 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.1638, allocations: 23.92 kB / 0.6618 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/0.1639, allocations: 43.67 kB / 0.6618 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.1642, allocations: 138.4 kB / 0.662 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1642, allocations: 0 / 0.662 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1642, allocations: 0 / 0.662 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.1642, allocations: 0 / 0.662 GB, free: 7.914 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005749/0.1648, allocations: 461.3 kB / 0.6624 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1648, allocations: 8.031 kB / 0.6624 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1649, allocations: 34.75 kB / 0.6625 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.1649, allocations: 16.75 kB / 0.6625 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1652, allocations: 204.8 kB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1653, allocations: 4.359 kB / 0.6627 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1653, allocations: 8.375 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1655, allocations: 107.5 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1655, allocations: 3.984 kB / 0.6628 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1655, allocations: 4 kB / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1655, allocations: 0 / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1656, allocations: 63.91 kB / 0.6628 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.166, allocations: 297.7 kB / 0.6631 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1661, allocations: 105.1 kB / 0.6632 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.1662, allocations: 69.75 kB / 0.6633 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1663, allocations: 0 / 0.6633 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.1665, allocations: 146.9 kB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1665, allocations: 7.938 kB / 0.6634 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000423/0.1669, allocations: 303 kB / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.167, allocations: 114.8 kB / 0.6638 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1671, allocations: 207.1 kB / 0.664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1672, allocations: 25.7 kB / 0.6641 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.1672, allocations: 112.1 kB / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.1673, allocations: 19.72 kB / 0.6642 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1673, allocations: 33.73 kB / 0.6642 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1674, allocations: 330.8 kB / 0.6645 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.1675, allocations: 51.98 kB / 0.6646 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.1676, allocations: 65.69 kB / 0.6647 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1677, allocations: 173.1 kB / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1677, allocations: 0 / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000264/0.168, allocations: 243.1 kB / 0.665 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.1681, allocations: 37.73 kB / 0.6651 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1681, allocations: 3.938 kB / 0.6651 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1681, allocations: 3.984 kB / 0.6651 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.1682, allocations: 8 kB / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1682, allocations: 240 / 0.6651 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.1683, allocations: 11.94 kB / 0.6651 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1683, allocations: 7.984 kB / 0.6651 GB, free: 4.359 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (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 (6): * Single equations (assignments): 5 * 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.0001485/0.1684, allocations: 178 kB / 0.6653 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1685, allocations: 15.81 kB / 0.6653 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.1686, allocations: 71.02 kB / 0.6654 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1687, allocations: 4.062 kB / 0.6654 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1687, allocations: 4 kB / 0.6654 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1687, allocations: 0 / 0.6654 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1689, allocations: 221.5 kB / 0.6656 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1689, allocations: 0 / 0.6656 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.1689, allocations: 11.98 kB / 0.6656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1689, allocations: 0 / 0.6656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1689, allocations: 8 kB / 0.6656 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.169, allocations: 3.938 kB / 0.6656 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.169, allocations: 4 kB / 0.6656 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.1693, allocations: 307.4 kB / 0.6659 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.1694, allocations: 100.9 kB / 0.666 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.1695, allocations: 4 kB / 0.666 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.1695, allocations: 7.984 kB / 0.666 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.1696, allocations: 8 kB / 0.666 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.1696, allocations: 8 kB / 0.666 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001169/0.1697, allocations: 152.1 kB / 0.6662 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/0.1697, allocations: 0 / 0.6662 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002484/0.17, allocations: 36 kB / 0.6662 GB, free: 3.117 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0006724/0.1706, allocations: 0.8684 MB / 0.6671 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.1709, allocations: 215.3 kB / 0.6673 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1709, allocations: 0 / 0.6673 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1711, allocations: 155.3 kB / 0.6674 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.1713, allocations: 12 kB / 0.6674 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.1732, allocations: 2.088 MB / 0.6695 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1735, allocations: 0.7197 MB / 0.6702 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.927e-05/0.1735, allocations: 4 kB / 0.6702 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.1736, allocations: 35.42 kB / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1736, allocations: 4 kB / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.1928, allocations: 3.104 MB / 0.6732 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.487, allocations: 12.02 kB / 0.6733 GB, free: 11.88 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)