Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IBPSA_latest_IBPSA_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.001027/0.001027, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.0009605/0.0009606, allocations: 191 kB / 16.91 MB, free: 6.195 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.23/1.23, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6904/0.6904, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 493.2 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.349, allocations: 76.18 MB / 0.556 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002454/0.3515, allocations: 1.643 MB / 0.5576 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008985/0.3524, allocations: 0.64 MB / 0.5583 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.3525, allocations: 0.5312 kB / 0.5583 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.3526, allocations: 79.3 kB / 0.5583 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.3529, allocations: 91.03 kB / 0.5584 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.3532, allocations: 93.89 kB / 0.5585 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3533, allocations: 133.5 kB / 0.5586 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.706e-05/0.3534, allocations: 8.594 kB / 0.5586 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3536, allocations: 74.97 kB / 0.5587 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3537, allocations: 113.6 kB / 0.5588 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3537, allocations: 6.438 kB / 0.5588 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3539, allocations: 77.81 kB / 0.5589 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.3539, allocations: 33.16 kB / 0.5589 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.354, allocations: 53.86 kB / 0.559 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.3542, allocations: 162.2 kB / 0.5591 GB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3542, allocations: 0 / 0.5591 GB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3542, allocations: 1.594 kB / 0.5591 GB, free: 33.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3542, allocations: 1.875 kB / 0.5591 GB, free: 33.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006071/0.3548, allocations: 490.7 kB / 0.5596 GB, free: 33.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3549, allocations: 8.938 kB / 0.5596 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.3549, allocations: 35.19 kB / 0.5597 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.355, allocations: 16.94 kB / 0.5597 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3551, allocations: 223.8 kB / 0.5599 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3551, allocations: 2.594 kB / 0.5599 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3552, allocations: 4.438 kB / 0.5599 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3554, allocations: 129.9 kB / 0.56 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3554, allocations: 0 / 0.56 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3554, allocations: 3.266 kB / 0.56 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3554, allocations: 1.094 kB / 0.56 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.3556, allocations: 73.34 kB / 0.5601 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.3559, allocations: 408.8 kB / 0.5605 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3561, allocations: 115.6 kB / 0.5606 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3562, allocations: 81.31 kB / 0.5607 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3562, allocations: 2.922 kB / 0.5607 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.3565, allocations: 180.2 kB / 0.5608 GB, free: 32.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3565, allocations: 0 / 0.5608 GB, free: 32.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004698/0.357, allocations: 333.8 kB / 0.5612 GB, free: 32.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.357, allocations: 106.7 kB / 0.5613 GB, free: 32.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3572, allocations: 211.8 kB / 0.5615 GB, free: 32.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3572, allocations: 28.67 kB / 0.5615 GB, free: 31.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.3573, allocations: 114.4 kB / 0.5616 GB, free: 31.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3573, allocations: 36.45 kB / 0.5616 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.3574, allocations: 30.19 kB / 0.5617 GB, free: 31.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.3574, allocations: 333.4 kB / 0.562 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.3575, allocations: 65.12 kB / 0.562 GB, free: 31.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.3576, allocations: 83.91 kB / 0.5621 GB, free: 31.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.3578, allocations: 200.2 kB / 0.5623 GB, free: 31.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3578, allocations: 5.125 kB / 0.5623 GB, free: 31.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003005/0.3581, allocations: 265.5 kB / 0.5626 GB, free: 31.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.3581, allocations: 35.89 kB / 0.5626 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3582, allocations: 0.6562 kB / 0.5626 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3582, allocations: 1.188 kB / 0.5626 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.3583, allocations: 17.36 kB / 0.5626 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3583, allocations: 1.375 kB / 0.5626 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3584, allocations: 19.83 kB / 0.5626 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3584, allocations: 5.016 kB / 0.5626 GB, free: 31.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,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 (10): * Single equations (assignments): 9 * 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.0001315/0.3586, allocations: 183.8 kB / 0.5628 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.3586, allocations: 16.88 kB / 0.5628 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.3588, allocations: 95.77 kB / 0.5629 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3588, allocations: 1.469 kB / 0.5629 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3588, allocations: 0 / 0.5629 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3588, allocations: 6.062 kB / 0.5629 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.359, allocations: 234.8 kB / 0.5632 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.359, allocations: 0 / 0.5632 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.359, allocations: 9.922 kB / 0.5632 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.3591, allocations: 5.484 kB / 0.5632 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3591, allocations: 8.016 kB / 0.5632 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3591, allocations: 1.781 kB / 0.5632 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3591, allocations: 1.062 kB / 0.5632 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.3595, allocations: 330.3 kB / 0.5635 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.3595, allocations: 109.1 kB / 0.5636 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.3596, allocations: 8.766 kB / 0.5636 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.3597, allocations: 7 kB / 0.5636 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.3597, allocations: 13.28 kB / 0.5636 GB, free: 30.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3598, allocations: 14.25 kB / 0.5636 GB, free: 30.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3599, allocations: 167.6 kB / 0.5638 GB, free: 30.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3599, allocations: 1.812 kB / 0.5638 GB, free: 30.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.3601, allocations: 46.77 kB / 0.5639 GB, free: 30.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0006049/0.3608, allocations: 0.897 MB / 0.5647 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.3611, allocations: 246.6 kB / 0.565 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3611, allocations: 0.5625 kB / 0.565 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.3612, allocations: 166.1 kB / 0.5651 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.3615, allocations: 20.06 kB / 0.5651 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.3635, allocations: 2.255 MB / 0.5673 GB, free: 27.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.3637, allocations: 0.7242 MB / 0.568 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.51e-05/0.3637, allocations: 9.375 kB / 0.5681 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.3638, allocations: 40.12 kB / 0.5681 GB, free: 27.09 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3638, allocations: 1.062 kB / 0.5681 GB, free: 27.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.3777, allocations: 3.369 MB / 0.5714 GB, free: 26.79 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/0.3779, allocations: 225.8 kB / 0.5716 GB, free: 26.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.175, allocations: 2.5 kB / 0.5716 GB, free: 26.54 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)