Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_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.008125/0.008125, allocations: 101.6 kB / 15.73 MB, free: 6.449 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.0017/0.0017, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9707/0.9707, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002147, allocations: 67.91 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3589, allocations: 80.91 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002137/0.3611, allocations: 1.495 MB / 0.6656 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.3619, allocations: 0.5867 MB / 0.6662 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.362, allocations: 1.625 kB / 0.6662 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.3621, allocations: 70.06 kB / 0.6662 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.3623, allocations: 80.91 kB / 0.6663 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.3626, allocations: 98.38 kB / 0.6664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.3628, allocations: 102.5 kB / 0.6665 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.98e-05/0.3629, allocations: 3.969 kB / 0.6665 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.363, allocations: 59.5 kB / 0.6666 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3632, allocations: 90.19 kB / 0.6667 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3632, allocations: 7.5 kB / 0.6667 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.3633, allocations: 81.16 kB / 0.6667 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.3634, allocations: 27.27 kB / 0.6668 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.3634, allocations: 46.67 kB / 0.6668 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3636, allocations: 138.5 kB / 0.6669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3636, allocations: 0 / 0.6669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3636, allocations: 0 / 0.6669 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3637, allocations: 0 / 0.6669 GB, free: 5.211 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.0004726/0.3641, allocations: 458.5 kB / 0.6674 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3642, allocations: 10.34 kB / 0.6674 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.3642, allocations: 36.06 kB / 0.6674 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.3643, allocations: 20.47 kB / 0.6674 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3645, allocations: 206.4 kB / 0.6676 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3645, allocations: 5.844 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3645, allocations: 3.344 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3647, allocations: 108.3 kB / 0.6678 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3647, allocations: 0 / 0.6678 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3647, allocations: 1.281 kB / 0.6678 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3647, allocations: 1.219 kB / 0.6678 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.706e-05/0.3648, allocations: 66.97 kB / 0.6678 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.3651, allocations: 309 kB / 0.6681 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.3653, allocations: 97.81 kB / 0.6682 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.3654, allocations: 73.14 kB / 0.6683 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.3654, allocations: 5.344 kB / 0.6683 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.3656, allocations: 147.7 kB / 0.6684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3656, allocations: 0 / 0.6684 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004279/0.366, allocations: 296.2 kB / 0.6687 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.366, allocations: 110.4 kB / 0.6688 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.3662, allocations: 213.1 kB / 0.669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.3662, allocations: 27.02 kB / 0.669 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.3663, allocations: 106.1 kB / 0.6691 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3663, allocations: 32.11 kB / 0.6692 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.3663, allocations: 26.52 kB / 0.6692 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.3664, allocations: 332.6 kB / 0.6695 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/0.3665, allocations: 49.8 kB / 0.6696 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.3665, allocations: 69.88 kB / 0.6696 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3667, allocations: 174.4 kB / 0.6698 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3667, allocations: 1.406 kB / 0.6698 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00029/0.367, allocations: 245.2 kB / 0.67 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.367, allocations: 34.55 kB / 0.6701 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.367, allocations: 0 / 0.6701 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3671, allocations: 9.297 kB / 0.6701 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.3671, allocations: 7 kB / 0.6701 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3672, allocations: 0 / 0.6701 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.3672, allocations: 11.53 kB / 0.6701 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3672, allocations: 7.406 kB / 0.6701 GB, free: 2.496 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.0001005/0.3674, allocations: 176.5 kB / 0.6703 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.3674, allocations: 19.66 kB / 0.6703 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.3675, allocations: 68.23 kB / 0.6704 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3675, allocations: 1.094 kB / 0.6704 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3675, allocations: 1.438 kB / 0.6704 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3675, allocations: 5 kB / 0.6704 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.3677, allocations: 213.6 kB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3677, allocations: 0 / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.3677, allocations: 10.73 kB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3677, allocations: 1.031 kB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3677, allocations: 3.844 kB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3678, allocations: 1.438 kB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3678, allocations: 0 / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3681, allocations: 309.8 kB / 0.6709 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.3681, allocations: 104.9 kB / 0.671 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.3682, allocations: 4.188 kB / 0.671 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.859e-05/0.3682, allocations: 6.859 kB / 0.671 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.3683, allocations: 10.34 kB / 0.671 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3683, allocations: 4.031 kB / 0.671 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.577e-05/0.3684, allocations: 153.1 kB / 0.6711 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3684, allocations: 0 / 0.6711 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002356/0.3686, allocations: 40.91 kB / 0.6712 GB, free: 1.602 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.0005602/0.3692, allocations: 0.873 MB / 0.672 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3695, allocations: 217.4 kB / 0.6722 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3695, allocations: 0 / 0.6722 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3696, allocations: 159.3 kB / 0.6724 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3698, allocations: 19.47 kB / 0.6724 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3718, allocations: 2.09 MB / 0.6745 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3721, allocations: 0.7268 MB / 0.6752 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.7e-05/0.3721, allocations: 3.562 kB / 0.6752 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.3722, allocations: 36.98 kB / 0.6752 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.3722, allocations: 0 / 0.6752 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.3916, allocations: 3.062 MB / 0.6782 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/7.688, allocations: 9.281 kB / 0.6782 GB, free: 12.72 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)