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.00123/0.00123, allocations: 112.5 kB / 15.73 MB, free: 76 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.001258/0.001258, allocations: 189.4 kB / 16.66 MB, free: 6.582 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6972/0.6972, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 63.91 kB / 0.5808 GB, free: 8.086 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3583, allocations: 80.2 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00218/0.3606, allocations: 1.481 MB / 0.6606 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.3614, allocations: 0.592 MB / 0.6612 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.3614, allocations: 1.375 kB / 0.6612 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.3616, allocations: 72.56 kB / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.3617, allocations: 84.81 kB / 0.6613 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.3621, allocations: 94.39 kB / 0.6614 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3622, allocations: 98.17 kB / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.3623, allocations: 6.312 kB / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3624, allocations: 60.09 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3626, allocations: 97.67 kB / 0.6617 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.3626, allocations: 3.938 kB / 0.6617 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.3627, allocations: 78.92 kB / 0.6618 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.3628, allocations: 20.12 kB / 0.6618 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.3628, allocations: 45.39 kB / 0.6618 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.363, allocations: 137 kB / 0.662 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3631, allocations: 0 / 0.662 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3631, allocations: 0 / 0.662 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3631, allocations: 1.281 kB / 0.662 GB, free: 8.164 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.0004521/0.3635, allocations: 467.3 kB / 0.6624 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3636, allocations: 9.969 kB / 0.6624 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.606e-05/0.3636, allocations: 33.12 kB / 0.6624 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.3636, allocations: 12.64 kB / 0.6625 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3639, allocations: 212.2 kB / 0.6627 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3639, allocations: 2.969 kB / 0.6627 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3639, allocations: 6.594 kB / 0.6627 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.3641, allocations: 109.1 kB / 0.6628 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3642, allocations: 5.703 kB / 0.6628 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3642, allocations: 5.391 kB / 0.6628 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3642, allocations: 0 / 0.6628 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3643, allocations: 62.47 kB / 0.6628 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.3647, allocations: 302.1 kB / 0.6631 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3648, allocations: 101.2 kB / 0.6632 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.3649, allocations: 76.77 kB / 0.6633 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.3649, allocations: 0 / 0.6633 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.3651, allocations: 149.4 kB / 0.6634 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3651, allocations: 1.406 kB / 0.6634 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004132/0.3655, allocations: 304.4 kB / 0.6637 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.3656, allocations: 106.8 kB / 0.6638 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3657, allocations: 208.1 kB / 0.664 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3658, allocations: 27.17 kB / 0.6641 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.3658, allocations: 110.6 kB / 0.6642 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.3658, allocations: 32.2 kB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.3659, allocations: 22.88 kB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.3659, allocations: 331.4 kB / 0.6645 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.366, allocations: 53.81 kB / 0.6646 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.3661, allocations: 66.97 kB / 0.6647 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3662, allocations: 170.8 kB / 0.6648 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3662, allocations: 0 / 0.6648 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002572/0.3665, allocations: 245.4 kB / 0.665 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.3665, allocations: 41.47 kB / 0.6651 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3665, allocations: 4.781 kB / 0.6651 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3666, allocations: 1.062 kB / 0.6651 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.3666, allocations: 11.06 kB / 0.6651 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3667, allocations: 1.281 kB / 0.6651 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.3667, allocations: 2.688 kB / 0.6651 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3667, allocations: 8.047 kB / 0.6651 GB, free: 5.578 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.0001101/0.3668, allocations: 172.7 kB / 0.6653 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3669, allocations: 23.58 kB / 0.6653 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.367, allocations: 73.16 kB / 0.6654 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.367, allocations: 5.156 kB / 0.6654 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.367, allocations: 0 / 0.6654 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.367, allocations: 5.078 kB / 0.6654 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.3672, allocations: 217.7 kB / 0.6656 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3672, allocations: 1.188 kB / 0.6656 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.3672, allocations: 6.812 kB / 0.6656 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3672, allocations: 0 / 0.6656 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3672, allocations: 7.656 kB / 0.6656 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3673, allocations: 1.281 kB / 0.6656 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3673, allocations: 8 kB / 0.6656 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.3676, allocations: 294.1 kB / 0.6659 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.3676, allocations: 117.8 kB / 0.666 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3676, allocations: 2.969 kB / 0.666 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.3677, allocations: 6.719 kB / 0.666 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.3677, allocations: 2.812 kB / 0.666 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3678, allocations: 13.11 kB / 0.666 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.111e-05/0.3679, allocations: 151.6 kB / 0.6662 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3679, allocations: 1.406 kB / 0.6662 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000232/0.3681, allocations: 39.16 kB / 0.6662 GB, free: 4.66 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.0004914/0.3686, allocations: 0.8563 MB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.3688, allocations: 224.9 kB / 0.6673 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3688, allocations: 0 / 0.6673 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.369, allocations: 155.5 kB / 0.6674 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.3691, allocations: 10.75 kB / 0.6674 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3707, allocations: 2.104 MB / 0.6695 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.3708, allocations: 0.717 MB / 0.6702 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.53e-05/0.3708, allocations: 2.312 kB / 0.6702 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.3709, allocations: 36.33 kB / 0.6702 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3709, allocations: 1.219 kB / 0.6702 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.391, allocations: 3.081 MB / 0.6732 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/7.665, allocations: 6.156 kB / 0.6732 GB, free: 15.8 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)