Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002391/0.002391, allocations: 81.5 kB / 19.44 MB, free: 340 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002881/0.002881, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003274/0.003274, allocations: 241.4 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.177/1.177, allocations: 138.4 MB / 454.7 MB, free: 1.516 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.61e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003188/0.003214, allocations: 1.623 MB / 0.5559 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.004613, allocations: 0.6543 MB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.004675, allocations: 0 / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.004848, allocations: 75.81 kB / 0.5566 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.005145, allocations: 107.6 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.005561, allocations: 111.6 kB / 0.5568 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.00578, allocations: 123.7 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.005856, allocations: 8 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.006116, allocations: 91.72 kB / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.00633, allocations: 111.8 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.006372, allocations: 7.984 kB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.00655, allocations: 83.92 kB / 0.5572 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.006615, allocations: 27.92 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.355e-05/0.006688, allocations: 35.84 kB / 0.5573 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.007016, allocations: 183.5 kB / 0.5575 GB, free: 13.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.007019, allocations: 0 / 0.5575 GB, free: 13.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007019, allocations: 0 / 0.5575 GB, free: 13.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.007024, allocations: 3.938 kB / 0.5575 GB, free: 13.66 MB / 490.7 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.0008367/0.00786, allocations: 0.5204 MB / 0.558 GB, free: 13.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.007895, allocations: 12.75 kB / 0.558 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.008103, allocations: 24.84 kB / 0.558 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.008373, allocations: 164.1 kB / 0.5582 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.008389, allocations: 4.375 kB / 0.5582 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.008406, allocations: 4.375 kB / 0.5582 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.008651, allocations: 131.2 kB / 0.5583 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.008662, allocations: 192 / 0.5583 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.008677, allocations: 4.375 kB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.008684, allocations: 3.938 kB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.008826, allocations: 65.69 kB / 0.5584 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.00941, allocations: 470.6 kB / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.009625, allocations: 119.8 kB / 0.5589 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.009741, allocations: 77.16 kB / 0.559 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.009767, allocations: 4 kB / 0.559 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.01006, allocations: 195.8 kB / 0.5592 GB, free: 11.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.01006, allocations: 0 / 0.5592 GB, free: 11.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005775/0.01064, allocations: 290.8 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.01072, allocations: 102.8 kB / 0.5596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.01101, allocations: 285.6 kB / 0.5598 GB, free: 10.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01103, allocations: 25.7 kB / 0.5599 GB, free: 10.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.01116, allocations: 170.8 kB / 0.56 GB, free: 10.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.01122, allocations: 47.66 kB / 0.5601 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.01129, allocations: 39.36 kB / 0.5601 GB, free: 10.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002727/0.01157, allocations: 0.5079 MB / 0.5606 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.01167, allocations: 65.75 kB / 0.5607 GB, free: 10.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.01187, allocations: 88.8 kB / 0.5608 GB, free: 9.957 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.01208, allocations: 150.8 kB / 0.5609 GB, free: 9.789 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01208, allocations: 0 / 0.5609 GB, free: 9.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003761/0.01246, allocations: 232.7 kB / 0.5611 GB, free: 9.543 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.01251, allocations: 41.69 kB / 0.5612 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01251, allocations: 0 / 0.5612 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01253, allocations: 0 / 0.5612 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.01263, allocations: 19.92 kB / 0.5612 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.01264, allocations: 0 / 0.5612 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/0.01274, allocations: 11.94 kB / 0.5612 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.01276, allocations: 4 kB / 0.5612 GB, free: 9.461 MB / 490.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: 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.0001788/0.01294, allocations: 203.4 kB / 0.5614 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.01298, allocations: 27.83 kB / 0.5614 GB, free: 9.219 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.01324, allocations: 103.1 kB / 0.5615 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.01324, allocations: 4 kB / 0.5615 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01325, allocations: 0 / 0.5615 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01325, allocations: 0 / 0.5615 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.01348, allocations: 192.5 kB / 0.5617 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01349, allocations: 0 / 0.5617 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.01355, allocations: 8 kB / 0.5617 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.01355, allocations: 3.938 kB / 0.5617 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.01357, allocations: 4 kB / 0.5617 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01357, allocations: 128 / 0.5617 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.01357, allocations: 4 kB / 0.5617 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.01406, allocations: 318.1 kB / 0.562 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.01414, allocations: 35.75 kB / 0.5621 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.01417, allocations: 7.938 kB / 0.5621 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.01426, allocations: 8 kB / 0.5621 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.01431, allocations: 7.984 kB / 0.5621 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.01434, allocations: 11.98 kB / 0.5621 GB, free: 8.449 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.0145, allocations: 179.2 kB / 0.5623 GB, free: 8.273 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0145, allocations: 0 / 0.5623 GB, free: 8.273 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000266/0.01477, allocations: 47.94 kB / 0.5623 GB, free: 8.227 MB / 490.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: 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.0002288/0.015, allocations: 131.2 kB / 0.5624 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.01539, allocations: 238.4 kB / 0.5627 GB, free: 7.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01539, allocations: 0 / 0.5627 GB, free: 7.828 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.01559, allocations: 164.7 kB / 0.5628 GB, free: 7.645 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.01582, allocations: 12 kB / 0.5628 GB, free: 7.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006432/0.01646, allocations: 336 kB / 0.5631 GB, free: 7.262 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.01658, allocations: 114.2 kB / 0.5633 GB, free: 7.129 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.886e-05/0.01663, allocations: 16.09 kB / 0.5633 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.01667, allocations: 12.5 kB / 0.5633 GB, free: 7.102 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01667, allocations: 0 / 0.5633 GB, free: 7.102 MB / 490.7 MB Notification: Performance of Templates: time 0.005798/0.02247, allocations: 1.712 MB / 0.565 GB, free: 5.441 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.791288178996183]