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.0007433/0.0007433, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009561/0.0009561, allocations: 169 kB / 23.02 MB, free: 1.539 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 0.8521/0.8521, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.002051/0.002051, allocations: 225.9 kB / 260.2 MB, free: 12.84 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 0.6656/0.6656, allocations: 138.4 MB / 455.2 MB, free: 1.566 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.242e-06/1.242e-06, allocations: 0 / 0.5551 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.406e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001729/0.001743, allocations: 1.669 MB / 0.5567 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007787/0.002521, allocations: 0.6581 MB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.002571, allocations: 0 / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.002707, allocations: 75.81 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.002923, allocations: 111.5 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.003183, allocations: 107.6 kB / 0.5577 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003317, allocations: 127.7 kB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.363e-05/0.003391, allocations: 4 kB / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.003831, allocations: 91.78 kB / 0.5579 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.003967, allocations: 111.8 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.003987, allocations: 8 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.004094, allocations: 79.92 kB / 0.5581 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.004143, allocations: 35.84 kB / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.004191, allocations: 31.91 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.004374, allocations: 163.5 kB / 0.5583 GB, free: 13.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004376, allocations: 0 / 0.5583 GB, free: 13.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.004376, allocations: 0 / 0.5583 GB, free: 13.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.00438, allocations: 0 / 0.5583 GB, free: 13.3 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.0005089/0.004888, allocations: 0.5091 MB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.004922, allocations: 8.75 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.005056, allocations: 36.73 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.005211, allocations: 160.1 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.005223, allocations: 4.375 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.005234, allocations: 4.375 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.005383, allocations: 139.9 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.005391, allocations: 192 / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.005401, allocations: 384 / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.00541, allocations: 7.938 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/0.005472, allocations: 61.67 kB / 0.5592 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.005787, allocations: 450.6 kB / 0.5596 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.005897, allocations: 103.9 kB / 0.5597 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.00595, allocations: 69.16 kB / 0.5598 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.005964, allocations: 7.938 kB / 0.5598 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.006115, allocations: 179.9 kB / 0.56 GB, free: 11.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.006116, allocations: 0 / 0.56 GB, free: 11.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002955/0.006411, allocations: 254.6 kB / 0.5602 GB, free: 11.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.006452, allocations: 114.8 kB / 0.5603 GB, free: 10.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.006584, allocations: 257.6 kB / 0.5605 GB, free: 10.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.006596, allocations: 29.7 kB / 0.5606 GB, free: 10.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.006658, allocations: 166.8 kB / 0.5607 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.006688, allocations: 31.73 kB / 0.5608 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.006727, allocations: 39.36 kB / 0.5608 GB, free: 10.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.00683, allocations: 0.504 MB / 0.5613 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.006872, allocations: 49.69 kB / 0.5613 GB, free: 9.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.932e-05/0.006922, allocations: 76.98 kB / 0.5614 GB, free: 9.746 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.007013, allocations: 126.7 kB / 0.5615 GB, free: 9.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007015, allocations: 4 kB / 0.5615 GB, free: 9.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001666/0.007181, allocations: 204.9 kB / 0.5617 GB, free: 9.379 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.007205, allocations: 41.62 kB / 0.5618 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.007209, allocations: 0 / 0.5618 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.00722, allocations: 0 / 0.5618 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.007286, allocations: 19.92 kB / 0.5618 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.00729, allocations: 0 / 0.5618 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.007342, allocations: 15.89 kB / 0.5618 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.007352, allocations: 4 kB / 0.5618 GB, free: 9.293 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 8.109e-05/0.007433, allocations: 198.3 kB / 0.562 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.007458, allocations: 31.84 kB / 0.562 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.007589, allocations: 91.14 kB / 0.5621 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.007592, allocations: 4 kB / 0.5621 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.007596, allocations: 384 / 0.5621 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007599, allocations: 0 / 0.5621 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.007707, allocations: 180.5 kB / 0.5623 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.007709, allocations: 4 kB / 0.5623 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.007738, allocations: 8 kB / 0.5623 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.007743, allocations: 7.938 kB / 0.5623 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.007754, allocations: 7.984 kB / 0.5623 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.007757, allocations: 8 kB / 0.5623 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007758, allocations: 0 / 0.5623 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.007965, allocations: 283.3 kB / 0.5626 GB, free: 8.391 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.008004, allocations: 27.83 kB / 0.5626 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.008028, allocations: 7.938 kB / 0.5626 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.008068, allocations: 8 kB / 0.5626 GB, free: 8.348 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.008108, allocations: 11.97 kB / 0.5627 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.008123, allocations: 8 kB / 0.5627 GB, free: 8.328 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.257e-05/0.008196, allocations: 175.1 kB / 0.5628 GB, free: 8.156 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008196, allocations: 0 / 0.5628 GB, free: 8.156 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.008353, allocations: 47.94 kB / 0.5629 GB, free: 8.109 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.0001226/0.008476, allocations: 131.2 kB / 0.563 GB, free: 7.973 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.008667, allocations: 209.6 kB / 0.5632 GB, free: 7.742 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.008669, allocations: 0 / 0.5632 GB, free: 7.742 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.008749, allocations: 140.7 kB / 0.5633 GB, free: 7.582 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.008892, allocations: 20.8 kB / 0.5634 GB, free: 7.562 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.009452, allocations: 339.9 kB / 0.5637 GB, free: 7.188 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.009491, allocations: 71.33 kB / 0.5637 GB, free: 7.098 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.905e-05/0.00952, allocations: 7.984 kB / 0.5638 GB, free: 7.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.009547, allocations: 20.5 kB / 0.5638 GB, free: 7.07 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009547, allocations: 0 / 0.5638 GB, free: 7.07 MB / 490.7 MB Notification: Performance of Templates: time 0.00361/0.01316, allocations: 1.83 MB / 0.5656 GB, free: 5.293 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: 3.167807553894818]