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.001373/0.001373, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001458/0.001458, allocations: 173 kB / 23.49 MB, free: 1.059 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.9692/0.9692, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.001602/0.001602, allocations: 237.9 kB / 260.5 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 0.6878/0.6878, allocations: 138.4 MB / 455.4 MB, free: 1.551 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.303e-06/1.303e-06, allocations: 0 / 0.555 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.508e-05, allocations: 4.984 kB / 0.555 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001841/0.001856, allocations: 1.657 MB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007894/0.002645, allocations: 0.662 MB / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.002708, allocations: 0 / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.002852, allocations: 71.83 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.003082, allocations: 107.5 kB / 0.5574 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.003371, allocations: 107.5 kB / 0.5576 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.003508, allocations: 127.7 kB / 0.5577 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.322e-05/0.003582, allocations: 8 kB / 0.5577 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.003755, allocations: 99.75 kB / 0.5578 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.003884, allocations: 99.81 kB / 0.5579 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.003901, allocations: 8 kB / 0.5579 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.004004, allocations: 83.92 kB / 0.558 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.004054, allocations: 35.91 kB / 0.558 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.0041, allocations: 31.86 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.004293, allocations: 163.5 kB / 0.5582 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004295, allocations: 0 / 0.5582 GB, free: 13.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.004297, allocations: 7.922 kB / 0.5582 GB, free: 13.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004301, allocations: 0 / 0.5582 GB, free: 13.63 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.0005106/0.004811, allocations: 0.5013 MB / 0.5587 GB, free: 13.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.004844, allocations: 12.75 kB / 0.5587 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.004986, allocations: 28.78 kB / 0.5587 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.005141, allocations: 160.1 kB / 0.5589 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.005152, allocations: 384 / 0.5589 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.005167, allocations: 12.31 kB / 0.5589 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.005324, allocations: 128 kB / 0.559 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.005333, allocations: 4.188 kB / 0.559 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.005344, allocations: 384 / 0.559 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.005352, allocations: 3.938 kB / 0.559 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.88e-05/0.005421, allocations: 65.59 kB / 0.5591 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.005743, allocations: 446.6 kB / 0.5595 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.005857, allocations: 115.8 kB / 0.5596 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.005912, allocations: 69.16 kB / 0.5597 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.005927, allocations: 0 / 0.5597 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.006102, allocations: 175.7 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 8.32e-07/0.006103, allocations: 4 kB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003454/0.006448, allocations: 258.7 kB / 0.5601 GB, free: 11.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.006489, allocations: 106.8 kB / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.006632, allocations: 257.6 kB / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.006645, allocations: 29.7 kB / 0.5605 GB, free: 11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.006707, allocations: 174.8 kB / 0.5606 GB, free: 10.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.006737, allocations: 39.67 kB / 0.5607 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.006777, allocations: 31.38 kB / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.006945, allocations: 0.504 MB / 0.5612 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.006993, allocations: 49.69 kB / 0.5612 GB, free: 10.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/0.007043, allocations: 73.06 kB / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.926e-05/0.007142, allocations: 130.9 kB / 0.5614 GB, free: 9.945 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.007145, allocations: 4 kB / 0.5614 GB, free: 9.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001766/0.007322, allocations: 204.8 kB / 0.5616 GB, free: 9.723 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.007349, allocations: 41.69 kB / 0.5617 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007353, allocations: 0 / 0.5617 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.007366, allocations: 8 kB / 0.5617 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.007433, allocations: 8 kB / 0.5617 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.007438, allocations: 4 kB / 0.5617 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.601e-05/0.007494, allocations: 15.88 kB / 0.5617 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.007504, allocations: 4 kB / 0.5617 GB, free: 9.637 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.833e-05/0.007592, allocations: 198.3 kB / 0.5619 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.007619, allocations: 31.78 kB / 0.5619 GB, free: 9.395 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.007756, allocations: 91.2 kB / 0.562 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007758, allocations: 0 / 0.562 GB, free: 9.301 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.007761, allocations: 4 kB / 0.562 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007764, allocations: 0 / 0.562 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.007877, allocations: 180.5 kB / 0.5622 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007879, allocations: 4 kB / 0.5622 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.00791, allocations: 11.98 kB / 0.5622 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.007914, allocations: 3.938 kB / 0.5622 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.007926, allocations: 4 kB / 0.5622 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007927, allocations: 0 / 0.5622 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007928, allocations: 0 / 0.5622 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.008149, allocations: 279.3 kB / 0.5625 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.008198, allocations: 35.77 kB / 0.5625 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.008224, allocations: 15.94 kB / 0.5625 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/0.00827, allocations: 7.984 kB / 0.5625 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.008311, allocations: 11.98 kB / 0.5626 GB, free: 8.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.008325, allocations: 8.125 kB / 0.5626 GB, free: 8.672 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.008518, allocations: 171.1 kB / 0.5627 GB, free: 8.504 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008518, allocations: 4 kB / 0.5627 GB, free: 8.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000164/0.008682, allocations: 43.94 kB / 0.5628 GB, free: 8.457 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.0001293/0.008811, allocations: 135.2 kB / 0.5629 GB, free: 8.316 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.009, allocations: 214 kB / 0.5631 GB, free: 8.082 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009001, allocations: 0 / 0.5631 GB, free: 8.082 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.009086, allocations: 140.8 kB / 0.5632 GB, free: 7.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.00924, allocations: 12.81 kB / 0.5633 GB, free: 7.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.009831, allocations: 343.9 kB / 0.5636 GB, free: 7.531 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.00987, allocations: 75.33 kB / 0.5637 GB, free: 7.438 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.009897, allocations: 8 kB / 0.5637 GB, free: 7.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.009922, allocations: 12.5 kB / 0.5637 GB, free: 7.418 MB / 490.7 MB Notification: Performance of SimCode: time 4.6e-07/0.009922, allocations: 0 / 0.5637 GB, free: 7.418 MB / 490.7 MB Notification: Performance of Templates: time 0.003187/0.01311, allocations: 1.741 MB / 0.5654 GB, free: 5.73 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.398472533095628]