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.004273/0.004273, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001018/0.001018, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7577/0.7577, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.05 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002737/0.161, allocations: 1.488 MB / 0.6606 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.162, allocations: 0.5804 MB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.1621, allocations: 0 / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.1623, allocations: 79.81 kB / 0.6613 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1625, allocations: 91.69 kB / 0.6614 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.1629, allocations: 87.77 kB / 0.6614 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1631, allocations: 99.8 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.751e-05/0.1631, allocations: 11.98 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1633, allocations: 63.8 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.1634, allocations: 91.78 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1635, allocations: 4 kB / 0.6617 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1636, allocations: 71.94 kB / 0.6618 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.1637, allocations: 27.91 kB / 0.6618 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.1637, allocations: 47.67 kB / 0.6618 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1639, allocations: 138.4 kB / 0.662 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.164, allocations: 0 / 0.662 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.164, allocations: 0 / 0.662 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.164, allocations: 0 / 0.662 GB, free: 7.91 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.000529/0.1645, allocations: 457.3 kB / 0.6624 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1646, allocations: 8.031 kB / 0.6624 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.1646, allocations: 42.73 kB / 0.6625 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.1646, allocations: 12.75 kB / 0.6625 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1649, allocations: 200.9 kB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1649, allocations: 12.36 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1649, allocations: 4.375 kB / 0.6627 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.1651, allocations: 107.4 kB / 0.6628 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1651, allocations: 0 / 0.6628 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1651, allocations: 8 kB / 0.6628 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1651, allocations: 0 / 0.6628 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.144e-05/0.1652, allocations: 55.97 kB / 0.6628 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.1656, allocations: 305.7 kB / 0.6631 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.1658, allocations: 97.14 kB / 0.6632 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.1659, allocations: 77.73 kB / 0.6633 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1659, allocations: 4.094 kB / 0.6633 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.1661, allocations: 162.7 kB / 0.6635 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1661, allocations: 0 / 0.6635 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004451/0.1665, allocations: 287.1 kB / 0.6637 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.1666, allocations: 122.7 kB / 0.6638 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1668, allocations: 203.1 kB / 0.664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1668, allocations: 29.83 kB / 0.6641 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.1669, allocations: 108.1 kB / 0.6642 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1669, allocations: 19.7 kB / 0.6642 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.167, allocations: 33.62 kB / 0.6642 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1671, allocations: 330.8 kB / 0.6645 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.1672, allocations: 47.98 kB / 0.6646 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.1673, allocations: 70.56 kB / 0.6647 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.1674, allocations: 177 kB / 0.6648 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1675, allocations: 0 / 0.6648 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00027/0.1677, allocations: 243.1 kB / 0.6651 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.1678, allocations: 41.69 kB / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1678, allocations: 0 / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1678, allocations: 0 / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.891e-05/0.1679, allocations: 8 kB / 0.6651 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1679, allocations: 3.984 kB / 0.6651 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.168, allocations: 7.938 kB / 0.6651 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.168, allocations: 8.031 kB / 0.6651 GB, free: 4.355 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.0001363/0.1681, allocations: 176.3 kB / 0.6653 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.1682, allocations: 15.81 kB / 0.6653 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.1683, allocations: 67.02 kB / 0.6654 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1683, allocations: 4 kB / 0.6654 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1683, allocations: 0 / 0.6654 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1683, allocations: 3.938 kB / 0.6654 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1685, allocations: 217.7 kB / 0.6656 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1685, allocations: 4 kB / 0.6656 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.1686, allocations: 11.94 kB / 0.6656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1686, allocations: 3.984 kB / 0.6656 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1686, allocations: 4 kB / 0.6656 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1686, allocations: 3.984 kB / 0.6656 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1686, allocations: 0 / 0.6656 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.169, allocations: 307.3 kB / 0.6659 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.1691, allocations: 104.9 kB / 0.666 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1691, allocations: 4 kB / 0.666 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.1691, allocations: 4.125 kB / 0.666 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.1692, allocations: 7.984 kB / 0.666 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1692, allocations: 12 kB / 0.666 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001101/0.1693, allocations: 148.1 kB / 0.6662 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1693, allocations: 0 / 0.6662 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002456/0.1696, allocations: 39.98 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.0006739/0.1703, allocations: 0.8702 MB / 0.6671 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1706, allocations: 223.3 kB / 0.6673 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1706, allocations: 0 / 0.6673 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.1707, allocations: 147.4 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.0002112/0.1709, allocations: 20.34 kB / 0.6674 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.173, allocations: 2.084 MB / 0.6695 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1732, allocations: 0.7158 MB / 0.6702 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.1733, allocations: 8 kB / 0.6702 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.1733, allocations: 35.42 kB / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.1733, allocations: 0 / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.1927, allocations: 3.075 MB / 0.6732 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.367, allocations: 3.938 kB / 0.6732 GB, free: 11.91 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)