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.001216/0.001216, allocations: 100.7 kB / 16.26 MB, free: 6.406 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.001153/0.001153, allocations: 189.9 kB / 17.2 MB, free: 5.938 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7566/0.7566, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 59.91 kB / 0.4911 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3444, allocations: 77.92 MB / 0.5672 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002873/0.3473, allocations: 1.591 MB / 0.5688 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.3483, allocations: 0.6416 MB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.3484, allocations: 0.5625 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.3486, allocations: 76.88 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.3488, allocations: 100 kB / 0.5695 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.3492, allocations: 102 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.3493, allocations: 131.6 kB / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.3494, allocations: 10.89 kB / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3496, allocations: 74.7 kB / 0.5699 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.3498, allocations: 105.4 kB / 0.57 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3498, allocations: 7.594 kB / 0.57 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3499, allocations: 73.62 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.35, allocations: 38.61 kB / 0.5701 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.3501, allocations: 58.73 kB / 0.5701 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3503, allocations: 160.9 kB / 0.5703 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3503, allocations: 1.656 kB / 0.5703 GB, free: 30.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3503, allocations: 0.5156 kB / 0.5703 GB, free: 30.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3504, allocations: 0.5625 kB / 0.5703 GB, free: 30.97 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.0006303/0.351, allocations: 485.7 kB / 0.5707 GB, free: 30.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.351, allocations: 8.719 kB / 0.5707 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.3511, allocations: 16.97 kB / 0.5708 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.3513, allocations: 216.1 kB / 0.571 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3513, allocations: 8.156 kB / 0.571 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3513, allocations: 3.531 kB / 0.571 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3516, allocations: 129.1 kB / 0.5711 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3516, allocations: 0 / 0.5711 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3516, allocations: 1.281 kB / 0.5711 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3516, allocations: 6.422 kB / 0.5711 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3518, allocations: 69.38 kB / 0.5712 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.3521, allocations: 411.3 kB / 0.5716 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.3523, allocations: 116.7 kB / 0.5717 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.3524, allocations: 82.47 kB / 0.5718 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3524, allocations: 5.5 kB / 0.5718 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.3527, allocations: 174.3 kB / 0.5719 GB, free: 29.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3527, allocations: 0 / 0.5719 GB, free: 29.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004759/0.3532, allocations: 333.2 kB / 0.5723 GB, free: 29.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.3532, allocations: 109.2 kB / 0.5724 GB, free: 29.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.3534, allocations: 212.8 kB / 0.5726 GB, free: 29.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3534, allocations: 27.52 kB / 0.5726 GB, free: 29.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.3535, allocations: 115.4 kB / 0.5727 GB, free: 29.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.3535, allocations: 40.64 kB / 0.5727 GB, free: 29.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.3536, allocations: 26.81 kB / 0.5728 GB, free: 28.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.3536, allocations: 335.9 kB / 0.5731 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.3537, allocations: 59.69 kB / 0.5731 GB, free: 28.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.3538, allocations: 83.61 kB / 0.5732 GB, free: 28.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.354, allocations: 198.9 kB / 0.5734 GB, free: 28.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.354, allocations: 3.938 kB / 0.5734 GB, free: 28.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003144/0.3543, allocations: 265.7 kB / 0.5737 GB, free: 28.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.3544, allocations: 37.73 kB / 0.5737 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3544, allocations: 2.594 kB / 0.5737 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3544, allocations: 1.703 kB / 0.5737 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.3545, allocations: 17.08 kB / 0.5737 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3545, allocations: 1.781 kB / 0.5737 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.634e-05/0.3546, allocations: 15.11 kB / 0.5737 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3546, allocations: 9.297 kB / 0.5737 GB, free: 28.33 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.0001178/0.3548, allocations: 181.6 kB / 0.5739 GB, free: 28.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3548, allocations: 17.44 kB / 0.5739 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.355, allocations: 99.28 kB / 0.574 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.355, allocations: 2.562 kB / 0.574 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.355, allocations: 2.031 kB / 0.574 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.355, allocations: 1.672 kB / 0.574 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3552, allocations: 233 kB / 0.5743 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3552, allocations: 0.6562 kB / 0.5743 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.3553, allocations: 10.08 kB / 0.5743 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3553, allocations: 2.312 kB / 0.5743 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3553, allocations: 5.344 kB / 0.5743 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3553, allocations: 2.812 kB / 0.5743 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3553, allocations: 0 / 0.5743 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.3557, allocations: 345.1 kB / 0.5746 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.3558, allocations: 110.5 kB / 0.5747 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.3558, allocations: 9.031 kB / 0.5747 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.3559, allocations: 10.73 kB / 0.5747 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.356, allocations: 12.09 kB / 0.5747 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.356, allocations: 7.766 kB / 0.5747 GB, free: 27.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3561, allocations: 167.1 kB / 0.5749 GB, free: 27.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3562, allocations: 0 / 0.5749 GB, free: 27.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3564, allocations: 44.31 kB / 0.575 GB, free: 27.48 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.0001592/0.3566, allocations: 136.4 kB / 0.5751 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.3569, allocations: 245.5 kB / 0.5753 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3569, allocations: 1.688 kB / 0.5753 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.3571, allocations: 165.4 kB / 0.5755 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.3573, allocations: 12.8 kB / 0.5755 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.3578, allocations: 350.3 kB / 0.5758 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.358, allocations: 0.7231 MB / 0.5765 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.145e-05/0.358, allocations: 10.72 kB / 0.5765 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.3581, allocations: 12.36 kB / 0.5765 GB, free: 26.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3581, allocations: 0 / 0.5765 GB, free: 26.23 MB / 446.1 MB Notification: Performance of Templates: time 0.005244/0.3633, allocations: 1.666 MB / 0.5782 GB, free: 26.12 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 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)