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.004834/0.004834, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.001303/0.001303, allocations: 189.7 kB / 16.67 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9418/0.9418, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 67.89 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3474, allocations: 81.03 MB / 0.6649 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002069/0.3495, allocations: 1.475 MB / 0.6663 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006879/0.3502, allocations: 0.5825 MB / 0.6669 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.3503, allocations: 1.375 kB / 0.6669 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.3504, allocations: 74.88 kB / 0.667 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3506, allocations: 87.19 kB / 0.667 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.3509, allocations: 92.58 kB / 0.6671 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.351, allocations: 101 kB / 0.6672 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/0.3511, allocations: 9.484 kB / 0.6672 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3512, allocations: 65.16 kB / 0.6673 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3513, allocations: 90.56 kB / 0.6674 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3514, allocations: 3.281 kB / 0.6674 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3515, allocations: 73.47 kB / 0.6675 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.3515, allocations: 27.22 kB / 0.6675 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.3516, allocations: 38.41 kB / 0.6675 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.3517, allocations: 138 kB / 0.6676 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3518, allocations: 0 / 0.6676 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3518, allocations: 1.281 kB / 0.6676 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.3518, allocations: 0 / 0.6676 GB, free: 4.844 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.0003728/0.3521, allocations: 466 kB / 0.6681 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.3522, allocations: 9 kB / 0.6681 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.064e-05/0.3522, allocations: 37.11 kB / 0.6681 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.3522, allocations: 20.38 kB / 0.6682 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3524, allocations: 205.9 kB / 0.6684 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.3524, allocations: 2 kB / 0.6684 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3524, allocations: 3.344 kB / 0.6684 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.3526, allocations: 116.4 kB / 0.6685 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3526, allocations: 5.328 kB / 0.6685 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3526, allocations: 3.938 kB / 0.6685 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.3526, allocations: 1.469 kB / 0.6685 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.3527, allocations: 59.03 kB / 0.6685 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.353, allocations: 301 kB / 0.6688 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.162e-05/0.3531, allocations: 97.77 kB / 0.6689 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.3531, allocations: 77.36 kB / 0.669 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3532, allocations: 0.875 kB / 0.669 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.3533, allocations: 151.4 kB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3533, allocations: 4 kB / 0.6691 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003464/0.3537, allocations: 300.8 kB / 0.6694 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.3537, allocations: 111 kB / 0.6695 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3538, allocations: 200.6 kB / 0.6697 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.3539, allocations: 31.3 kB / 0.6698 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.3539, allocations: 107.6 kB / 0.6699 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3539, allocations: 30.55 kB / 0.6699 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.354, allocations: 23.5 kB / 0.6699 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.354, allocations: 339.3 kB / 0.6702 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.73e-05/0.3541, allocations: 45.7 kB / 0.6703 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.3541, allocations: 66.19 kB / 0.6703 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3543, allocations: 179.2 kB / 0.6705 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3543, allocations: 0 / 0.6705 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002235/0.3545, allocations: 246.7 kB / 0.6707 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.3545, allocations: 43.31 kB / 0.6708 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3545, allocations: 0 / 0.6708 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.3545, allocations: 1.094 kB / 0.6708 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.3546, allocations: 7.875 kB / 0.6708 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3546, allocations: 3.984 kB / 0.6708 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.3547, allocations: 7.812 kB / 0.6708 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3547, allocations: 3.844 kB / 0.6708 GB, free: 2.125 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 8.479e-05/0.3548, allocations: 179.7 kB / 0.671 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3548, allocations: 15.69 kB / 0.671 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3549, allocations: 72.61 kB / 0.6711 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3549, allocations: 1.281 kB / 0.6711 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.355, allocations: 1.406 kB / 0.6711 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.355, allocations: 0 / 0.6711 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.3551, allocations: 214.6 kB / 0.6713 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3551, allocations: 0 / 0.6713 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.3551, allocations: 7.156 kB / 0.6713 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3551, allocations: 1.094 kB / 0.6713 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3551, allocations: 18.72 kB / 0.6713 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3551, allocations: 5.234 kB / 0.6713 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3552, allocations: 0 / 0.6713 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3554, allocations: 310.8 kB / 0.6716 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.3555, allocations: 100.9 kB / 0.6717 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3555, allocations: 11.41 kB / 0.6717 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.3556, allocations: 2.719 kB / 0.6717 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.3556, allocations: 10.55 kB / 0.6717 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3556, allocations: 4.312 kB / 0.6717 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000105/0.3557, allocations: 157.7 kB / 0.6719 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3557, allocations: 0 / 0.6719 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002113/0.356, allocations: 40.92 kB / 0.6719 GB, free: 1.211 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.0004374/0.3564, allocations: 0.8631 MB / 0.6728 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.3566, allocations: 220.4 kB / 0.673 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3566, allocations: 0 / 0.673 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3567, allocations: 151.9 kB / 0.6731 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.3569, allocations: 14.45 kB / 0.6731 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.3589, allocations: 2.109 MB / 0.6752 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3592, allocations: 0.7153 MB / 0.6759 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.3593, allocations: 2.5 kB / 0.6759 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.3593, allocations: 34.02 kB / 0.6759 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.3593, allocations: 1.156 kB / 0.6759 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4289/0.7883, allocations: 3.069 MB / 0.6789 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/9.032, allocations: 9.094 kB / 0.6789 GB, free: 12.34 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)