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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 110.7 kB / 17.04 MB, free: 5.809 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.001654/0.001654, allocations: 196 kB / 17.98 MB, free: 5.031 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7135/0.7135, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3542, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003014/0.3573, allocations: 1.58 MB / 0.5591 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3584, allocations: 0.6474 MB / 0.5598 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.3585, allocations: 0.9375 kB / 0.5598 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.3587, allocations: 77.69 kB / 0.5598 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.359, allocations: 106.4 kB / 0.5599 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.3594, allocations: 97.47 kB / 0.56 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.3596, allocations: 133.2 kB / 0.5601 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3598, allocations: 16.28 kB / 0.5602 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.3599, allocations: 71.08 kB / 0.5602 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.3602, allocations: 105.6 kB / 0.5603 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.3602, allocations: 7.5 kB / 0.5603 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.3604, allocations: 74.69 kB / 0.5604 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.3604, allocations: 38.72 kB / 0.5604 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.3605, allocations: 55.05 kB / 0.5605 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.3609, allocations: 166.8 kB / 0.5607 GB, free: 34.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3609, allocations: 1.875 kB / 0.5607 GB, free: 34.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.3609, allocations: 0 / 0.5607 GB, free: 34.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3609, allocations: 0.75 kB / 0.5607 GB, free: 34.84 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.000853/0.3618, allocations: 480.4 kB / 0.5611 GB, free: 34.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3618, allocations: 9.938 kB / 0.5611 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.3619, allocations: 20.16 kB / 0.5611 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.3622, allocations: 223.7 kB / 0.5614 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3622, allocations: 6.781 kB / 0.5614 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3622, allocations: 5.344 kB / 0.5614 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.3625, allocations: 125 kB / 0.5615 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3625, allocations: 1.188 kB / 0.5615 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3625, allocations: 1.766 kB / 0.5615 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3625, allocations: 1.156 kB / 0.5615 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.3627, allocations: 81.56 kB / 0.5616 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.3631, allocations: 399.6 kB / 0.562 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.3633, allocations: 118.5 kB / 0.5621 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.3634, allocations: 82.66 kB / 0.5621 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3634, allocations: 2.266 kB / 0.5621 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.3636, allocations: 182.3 kB / 0.5623 GB, free: 33.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.355e-06/0.3636, allocations: 1.531 kB / 0.5623 GB, free: 33.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.000566/0.3642, allocations: 340.7 kB / 0.5626 GB, free: 33.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3643, allocations: 108.4 kB / 0.5628 GB, free: 33.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3645, allocations: 211.3 kB / 0.563 GB, free: 33.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3645, allocations: 28.64 kB / 0.563 GB, free: 33.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.288e-05/0.3646, allocations: 112.3 kB / 0.5631 GB, free: 32.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.3646, allocations: 34.28 kB / 0.5631 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.3647, allocations: 27.47 kB / 0.5631 GB, free: 32.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.3648, allocations: 335.1 kB / 0.5635 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.734e-05/0.3649, allocations: 58.14 kB / 0.5635 GB, free: 32.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.365, allocations: 80.52 kB / 0.5636 GB, free: 32.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.3652, allocations: 199.2 kB / 0.5638 GB, free: 32.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3652, allocations: 0 / 0.5638 GB, free: 32.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003581/0.3656, allocations: 271.6 kB / 0.564 GB, free: 32.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.3656, allocations: 36.25 kB / 0.5641 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3656, allocations: 0 / 0.5641 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3657, allocations: 3.047 kB / 0.5641 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3658, allocations: 13.62 kB / 0.5641 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3658, allocations: 1.859 kB / 0.5641 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.3659, allocations: 15.41 kB / 0.5641 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3659, allocations: 4.953 kB / 0.5641 GB, free: 32.21 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.0001474/0.3661, allocations: 181.5 kB / 0.5643 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.3661, allocations: 22.83 kB / 0.5643 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.3663, allocations: 96.8 kB / 0.5644 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3663, allocations: 3.203 kB / 0.5644 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3663, allocations: 0 / 0.5644 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3664, allocations: 1.781 kB / 0.5644 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3666, allocations: 237.7 kB / 0.5646 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3666, allocations: 1.422 kB / 0.5646 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.3667, allocations: 10.08 kB / 0.5646 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3667, allocations: 5.781 kB / 0.5647 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3667, allocations: 13.89 kB / 0.5647 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3667, allocations: 0 / 0.5647 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3667, allocations: 1.906 kB / 0.5647 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.3672, allocations: 331.8 kB / 0.565 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.3673, allocations: 108.4 kB / 0.5651 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.3673, allocations: 8.047 kB / 0.5651 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.3674, allocations: 8.297 kB / 0.5651 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.3675, allocations: 12.59 kB / 0.5651 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.3675, allocations: 10.42 kB / 0.5651 GB, free: 31.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3677, allocations: 168 kB / 0.5653 GB, free: 31.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3677, allocations: 0.5938 kB / 0.5653 GB, free: 31.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.368, allocations: 39.47 kB / 0.5653 GB, free: 31.36 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.0002188/0.3682, allocations: 140.4 kB / 0.5655 GB, free: 31.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003906/0.3686, allocations: 242.3 kB / 0.5657 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3687, allocations: 0 / 0.5657 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.3688, allocations: 167.2 kB / 0.5658 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.3691, allocations: 19.36 kB / 0.5659 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.3697, allocations: 351.5 kB / 0.5662 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.37, allocations: 0.7212 MB / 0.5669 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.3701, allocations: 6.078 kB / 0.5669 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.3701, allocations: 16.91 kB / 0.5669 GB, free: 30.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3701, allocations: 1.438 kB / 0.5669 GB, free: 30.11 MB / 446.1 MB Notification: Performance of Templates: time 0.005219/0.3753, allocations: 1.653 MB / 0.5685 GB, free: 30.03 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)