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.001026/0.001027, allocations: 91.03 kB / 16.66 MB, free: 6.582 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.001048/0.001049, allocations: 181.8 kB / 17.57 MB, free: 6.176 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.388/1.388, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7524/0.7524, allocations: 115.5 MB / 408.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.000384, allocations: 11.94 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4418, allocations: 77.51 MB / 0.5606 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001841/0.4437, allocations: 1.31 MB / 0.5619 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.4448, allocations: 0.6415 MB / 0.5625 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.4449, allocations: 1.094 kB / 0.5625 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.4451, allocations: 75.97 kB / 0.5626 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.4454, allocations: 110.2 kB / 0.5627 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.4457, allocations: 70.62 kB / 0.5627 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.4459, allocations: 123.9 kB / 0.5629 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.446, allocations: 6.703 kB / 0.5629 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.4462, allocations: 70.64 kB / 0.5629 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.4464, allocations: 99.2 kB / 0.563 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.4465, allocations: 2.312 kB / 0.563 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.4466, allocations: 74.83 kB / 0.5631 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.4467, allocations: 32.59 kB / 0.5631 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.506e-05/0.4468, allocations: 81.14 kB / 0.5632 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.447, allocations: 109.5 kB / 0.5633 GB, free: 33.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.447, allocations: 5.719 kB / 0.5633 GB, free: 33.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4471, allocations: 0 / 0.5633 GB, free: 33.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.4471, allocations: 0 / 0.5633 GB, free: 33.83 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.0006298/0.4477, allocations: 463.9 kB / 0.5638 GB, free: 33.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4478, allocations: 9.312 kB / 0.5638 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.4478, allocations: 17.53 kB / 0.5638 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.448, allocations: 216.9 kB / 0.564 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.448, allocations: 5.312 kB / 0.564 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.4481, allocations: 7.906 kB / 0.564 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.4483, allocations: 124.8 kB / 0.5641 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4483, allocations: 1.062 kB / 0.5641 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4484, allocations: 1.469 kB / 0.5641 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4484, allocations: 2.125 kB / 0.5641 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.4485, allocations: 71.27 kB / 0.5642 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.449, allocations: 410.7 kB / 0.5646 GB, free: 32.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.4492, allocations: 116.3 kB / 0.5647 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.4493, allocations: 80.17 kB / 0.5648 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.4493, allocations: 9.109 kB / 0.5648 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.4497, allocations: 174 kB / 0.5649 GB, free: 32.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.4497, allocations: 1.438 kB / 0.5649 GB, free: 32.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005918/0.4503, allocations: 332.4 kB / 0.5653 GB, free: 32.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4503, allocations: 110.6 kB / 0.5654 GB, free: 32.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.4505, allocations: 212 kB / 0.5656 GB, free: 32.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.4506, allocations: 27.89 kB / 0.5656 GB, free: 32.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.4506, allocations: 116.2 kB / 0.5657 GB, free: 31.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.4507, allocations: 35.73 kB / 0.5657 GB, free: 31.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.4507, allocations: 19.41 kB / 0.5658 GB, free: 31.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.847e-05/0.4508, allocations: 334.4 kB / 0.5661 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.4509, allocations: 61.77 kB / 0.5661 GB, free: 31.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.451, allocations: 84.97 kB / 0.5662 GB, free: 31.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.4512, allocations: 189.2 kB / 0.5664 GB, free: 31.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4513, allocations: 4.344 kB / 0.5664 GB, free: 31.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003395/0.4516, allocations: 269.5 kB / 0.5667 GB, free: 31.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.4516, allocations: 42.5 kB / 0.5667 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4517, allocations: 1.125 kB / 0.5667 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4517, allocations: 0 / 0.5667 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.4518, allocations: 17.72 kB / 0.5667 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4518, allocations: 1 kB / 0.5667 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4519, allocations: 17.27 kB / 0.5667 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4519, allocations: 9.688 kB / 0.5667 GB, free: 31.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.0001483/0.4521, allocations: 184.5 kB / 0.5669 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.4521, allocations: 19.16 kB / 0.5669 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.4524, allocations: 96 kB / 0.567 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4524, allocations: 2.125 kB / 0.567 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4524, allocations: 5.625 kB / 0.567 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4524, allocations: 1.203 kB / 0.567 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.4526, allocations: 229.9 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4526, allocations: 2.141 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.4527, allocations: 9.578 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4527, allocations: 1 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.4527, allocations: 5.734 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4527, allocations: 1.75 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4527, allocations: 2.156 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.4531, allocations: 344 kB / 0.5676 GB, free: 30.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.4532, allocations: 113.2 kB / 0.5677 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.4533, allocations: 8.297 kB / 0.5677 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.4534, allocations: 8.422 kB / 0.5677 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.4534, allocations: 9.609 kB / 0.5677 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.4535, allocations: 10.52 kB / 0.5678 GB, free: 30.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.4536, allocations: 162.9 kB / 0.5679 GB, free: 30.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4536, allocations: 2.625 kB / 0.5679 GB, free: 30.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.4539, allocations: 46.67 kB / 0.568 GB, free: 30.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.0001927/0.4541, allocations: 132.7 kB / 0.5681 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003381/0.4544, allocations: 240.4 kB / 0.5683 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4545, allocations: 1.344 kB / 0.5683 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.4546, allocations: 169.4 kB / 0.5685 GB, free: 30.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.4549, allocations: 15.3 kB / 0.5685 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.4555, allocations: 418.5 kB / 0.5689 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.4557, allocations: 0.7263 MB / 0.5696 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.4558, allocations: 12.64 kB / 0.5696 GB, free: 29.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4558, allocations: 0 / 0.5696 GB, free: 29.04 MB / 446.1 MB Notification: Performance of Templates: time 0.005474/0.4613, allocations: 1.838 MB / 0.5714 GB, free: 28.9 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)