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.00138/0.00138, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001537/0.001537, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9993/0.9993, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001841/0.001841, allocations: 241.2 kB / 261.3 MB, free: 12.66 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.6998/0.6998, allocations: 138.5 MB / 456.3 MB, free: 1.41 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.633e-06/1.633e-06, allocations: 0 / 0.5564 GB, free: 252 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.852e-05, allocations: 2.312 kB / 0.5564 GB, free: 248 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002122/0.002141, allocations: 1.653 MB / 0.558 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.002991, allocations: 0.6504 MB / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.003053, allocations: 4 kB / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.003196, allocations: 71.81 kB / 0.5587 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.003419, allocations: 115.5 kB / 0.5588 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.003689, allocations: 99.69 kB / 0.5589 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.003838, allocations: 127.6 kB / 0.559 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.677e-05/0.003904, allocations: 11.98 kB / 0.559 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.004071, allocations: 91.78 kB / 0.5591 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.00421, allocations: 107.8 kB / 0.5592 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.00423, allocations: 8 kB / 0.5592 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.00434, allocations: 83.92 kB / 0.5593 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.00439, allocations: 35.84 kB / 0.5593 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.004431, allocations: 23.92 kB / 0.5594 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.004616, allocations: 167.5 kB / 0.5595 GB, free: 12.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.004618, allocations: 0 / 0.5595 GB, free: 12.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004619, allocations: 0 / 0.5595 GB, free: 12.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.004622, allocations: 0 / 0.5595 GB, free: 12.99 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.0004721/0.005094, allocations: 0.5091 MB / 0.56 GB, free: 12.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.005125, allocations: 8.75 kB / 0.56 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.005257, allocations: 36.72 kB / 0.5601 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.005403, allocations: 156.3 kB / 0.5602 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.005414, allocations: 4.375 kB / 0.5602 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.005425, allocations: 8.375 kB / 0.5602 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.005554, allocations: 119.9 kB / 0.5603 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.005562, allocations: 8.125 kB / 0.5603 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.00557, allocations: 384 / 0.5603 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.005576, allocations: 7.922 kB / 0.5603 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.005626, allocations: 57.69 kB / 0.5604 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.005912, allocations: 411.3 kB / 0.5608 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.006017, allocations: 103.8 kB / 0.5609 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.006067, allocations: 65.16 kB / 0.561 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.00608, allocations: 4 kB / 0.561 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.006222, allocations: 179.7 kB / 0.5611 GB, free: 11.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 7.41e-07/0.006223, allocations: 0 / 0.5611 GB, free: 11.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002503/0.006473, allocations: 246.6 kB / 0.5614 GB, free: 10.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.006516, allocations: 114.8 kB / 0.5615 GB, free: 10.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.00664, allocations: 257.5 kB / 0.5617 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.006652, allocations: 25.7 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.006715, allocations: 166.8 kB / 0.5619 GB, free: 10.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.006748, allocations: 39.72 kB / 0.5619 GB, free: 10.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.006788, allocations: 31.36 kB / 0.562 GB, free: 10.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.00692, allocations: 0.5079 MB / 0.5625 GB, free: 9.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.56e-05/0.006956, allocations: 45.69 kB / 0.5625 GB, free: 9.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.653e-05/0.007002, allocations: 68.7 kB / 0.5626 GB, free: 9.531 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.863e-05/0.007091, allocations: 134.8 kB / 0.5627 GB, free: 9.379 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007093, allocations: 0 / 0.5627 GB, free: 9.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001543/0.007247, allocations: 201 kB / 0.5629 GB, free: 9.164 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.007277, allocations: 45.62 kB / 0.5629 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007281, allocations: 0 / 0.5629 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.007288, allocations: 0 / 0.5629 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.007341, allocations: 12 kB / 0.563 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.007344, allocations: 3.938 kB / 0.563 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.007392, allocations: 15.88 kB / 0.563 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.007402, allocations: 11.94 kB / 0.563 GB, free: 9.07 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 9.382e-05/0.007496, allocations: 194.3 kB / 0.5632 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.007522, allocations: 31.84 kB / 0.5632 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.007635, allocations: 79.12 kB / 0.5633 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.007638, allocations: 7.938 kB / 0.5633 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.007639, allocations: 0 / 0.5633 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.007643, allocations: 0 / 0.5633 GB, free: 8.742 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.007747, allocations: 149.2 kB / 0.5634 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.007749, allocations: 0 / 0.5634 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.007776, allocations: 11.98 kB / 0.5634 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.007777, allocations: 0 / 0.5634 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.007785, allocations: 4 kB / 0.5634 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.007787, allocations: 7.938 kB / 0.5634 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007788, allocations: 0 / 0.5634 GB, free: 8.547 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.007993, allocations: 275.3 kB / 0.5637 GB, free: 8.238 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.008035, allocations: 31.83 kB / 0.5637 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.008054, allocations: 7.984 kB / 0.5637 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.008094, allocations: 8.062 kB / 0.5638 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.008129, allocations: 11.98 kB / 0.5638 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.008143, allocations: 8 kB / 0.5638 GB, free: 8.172 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.919e-05/0.008212, allocations: 176.4 kB / 0.5639 GB, free: 8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008212, allocations: 0 / 0.5639 GB, free: 8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.008389, allocations: 39.94 kB / 0.564 GB, free: 7.961 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.0001286/0.008517, allocations: 134.5 kB / 0.5641 GB, free: 7.824 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.008684, allocations: 194.4 kB / 0.5643 GB, free: 7.605 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008686, allocations: 4 kB / 0.5643 GB, free: 7.602 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.00877, allocations: 148.8 kB / 0.5644 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.008922, allocations: 15.81 kB / 0.5645 GB, free: 7.422 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.009487, allocations: 339.9 kB / 0.5648 GB, free: 7.047 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.181e-05/0.009549, allocations: 79.27 kB / 0.5649 GB, free: 6.949 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.009584, allocations: 4 kB / 0.5649 GB, free: 6.945 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.009673, allocations: 98.19 kB / 0.565 GB, free: 6.848 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009674, allocations: 0 / 0.565 GB, free: 6.848 MB / 490.7 MB Notification: Performance of Templates: time 0.003759/0.01343, allocations: 1.895 MB / 0.5668 GB, free: 5.004 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.569479195866734]