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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4667/0.4667, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 105.1 kB / 420 MB, free: 8.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 43.92 kB / 0.4891 GB, free: 7.672 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3596, allocations: 70.07 MB / 0.5575 GB, free: 44.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003333/0.363, allocations: 1.544 MB / 0.559 GB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.364, allocations: 0.5937 MB / 0.5596 GB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.3641, allocations: 4 kB / 0.5596 GB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.3643, allocations: 71.39 kB / 0.5597 GB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3644, allocations: 75.81 kB / 0.5597 GB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.3647, allocations: 75.84 kB / 0.5598 GB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.3648, allocations: 95.73 kB / 0.5599 GB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.179e-05/0.3649, allocations: 8 kB / 0.5599 GB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.365, allocations: 55.83 kB / 0.56 GB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3651, allocations: 87.83 kB / 0.56 GB, free: 42.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3652, allocations: 4 kB / 0.56 GB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.3653, allocations: 79.86 kB / 0.5601 GB, free: 42.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.3653, allocations: 23.86 kB / 0.5601 GB, free: 42.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.3654, allocations: 43.67 kB / 0.5602 GB, free: 42.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.3656, allocations: 127.7 kB / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3656, allocations: 4 kB / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3656, allocations: 0 / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3656, allocations: 3.938 kB / 0.5603 GB, free: 42.27 MB / 410.7 MB 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.0004766/0.3661, allocations: 458.5 kB / 0.5607 GB, free: 41.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3661, allocations: 15.97 kB / 0.5608 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.3662, allocations: 8.844 kB / 0.5608 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3663, allocations: 208.8 kB / 0.561 GB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3664, allocations: 384 / 0.561 GB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3664, allocations: 4.375 kB / 0.561 GB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3665, allocations: 111.6 kB / 0.5611 GB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3665, allocations: 3.984 kB / 0.5611 GB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3666, allocations: 4 kB / 0.5611 GB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3666, allocations: 4 kB / 0.5611 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.3667, allocations: 51.97 kB / 0.5611 GB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.367, allocations: 309.6 kB / 0.5614 GB, free: 40.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.3671, allocations: 89.2 kB / 0.5615 GB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.3672, allocations: 73.73 kB / 0.5616 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3672, allocations: 4 kB / 0.5616 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3674, allocations: 158.7 kB / 0.5617 GB, free: 40.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3674, allocations: 0 / 0.5617 GB, free: 40.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003406/0.3677, allocations: 287.2 kB / 0.562 GB, free: 40.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.3678, allocations: 110.8 kB / 0.5621 GB, free: 40.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3679, allocations: 205.9 kB / 0.5623 GB, free: 39.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.3679, allocations: 29.7 kB / 0.5624 GB, free: 39.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.368, allocations: 108.4 kB / 0.5625 GB, free: 39.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.368, allocations: 27.64 kB / 0.5625 GB, free: 39.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.368, allocations: 29.7 kB / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.3681, allocations: 334.7 kB / 0.5628 GB, free: 39.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.3682, allocations: 47.98 kB / 0.5629 GB, free: 39.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.3682, allocations: 69.69 kB / 0.5629 GB, free: 39.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.3683, allocations: 181 kB / 0.5631 GB, free: 39.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3683, allocations: 4 kB / 0.5631 GB, free: 39.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002018/0.3685, allocations: 247.1 kB / 0.5634 GB, free: 38.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.3686, allocations: 37.7 kB / 0.5634 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3686, allocations: 0 / 0.5634 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3686, allocations: 0 / 0.5634 GB, free: 38.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.3687, allocations: 11.98 kB / 0.5634 GB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3687, allocations: 0 / 0.5634 GB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.3688, allocations: 7.906 kB / 0.5634 GB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3688, allocations: 4 kB / 0.5634 GB, free: 38.77 MB / 410.7 MB 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 9.266e-05/0.3689, allocations: 183.4 kB / 0.5636 GB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.3689, allocations: 11.91 kB / 0.5636 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.369, allocations: 67.16 kB / 0.5637 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.369, allocations: 4 kB / 0.5637 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3691, allocations: 0 / 0.5637 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3691, allocations: 0 / 0.5637 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.3692, allocations: 217.5 kB / 0.5639 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3692, allocations: 0 / 0.5639 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.3692, allocations: 12 kB / 0.5639 GB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3692, allocations: 0 / 0.5639 GB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3693, allocations: 7.984 kB / 0.5639 GB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3693, allocations: 0 / 0.5639 GB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3693, allocations: 3.938 kB / 0.5639 GB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.3698, allocations: 0.9503 MB / 0.5648 GB, free: 37.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.3698, allocations: 104.8 kB / 0.5649 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3699, allocations: 7.984 kB / 0.5649 GB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.3699, allocations: 4 kB / 0.5649 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.37, allocations: 7.938 kB / 0.5649 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.37, allocations: 7.984 kB / 0.565 GB, free: 37.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.881e-05/0.3701, allocations: 152.3 kB / 0.5651 GB, free: 36.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3701, allocations: 0 / 0.5651 GB, free: 36.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000317/0.3704, allocations: 40 kB / 0.5651 GB, free: 36.85 MB / 410.7 MB 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.0001699/0.3706, allocations: 131.2 kB / 0.5653 GB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3709, allocations: 223.3 kB / 0.5655 GB, free: 36.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3709, allocations: 0 / 0.5655 GB, free: 36.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.371, allocations: 151.3 kB / 0.5656 GB, free: 36.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.3712, allocations: 10.11 kB / 0.5656 GB, free: 36.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005515/0.3717, allocations: 484.3 kB / 0.5661 GB, free: 35.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.3719, allocations: 0.7275 MB / 0.5668 GB, free: 35.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.845e-05/0.372, allocations: 0 / 0.5668 GB, free: 35.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.372, allocations: 11.44 kB / 0.5668 GB, free: 35.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.372, allocations: 0 / 0.5668 GB, free: 35.04 MB / 410.7 MB Notification: Performance of Templates: time 0.003581/0.3756, allocations: 1.322 MB / 0.5681 GB, free: 33.73 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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 & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)