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.001251/0.001251, allocations: 93.06 kB / 19.65 MB, free: 280 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.001376/0.001376, allocations: 165 kB / 23.02 MB, free: 1.555 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.8759/0.8759, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.001569/0.001569, allocations: 233 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.6728/0.6728, allocations: 138.4 MB / 455.2 MB, free: 1.547 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.322e-06/1.322e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.356e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001794/0.001808, allocations: 1.654 MB / 0.5567 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008216/0.002629, allocations: 0.6582 MB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.002681, allocations: 4 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.00282, allocations: 71.83 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.003032, allocations: 111.5 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.003299, allocations: 107.7 kB / 0.5576 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.003436, allocations: 131.5 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.199e-05/0.003508, allocations: 8 kB / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.003672, allocations: 87.83 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.003802, allocations: 107.8 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.003821, allocations: 4 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.003928, allocations: 83.92 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.003979, allocations: 35.84 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.004023, allocations: 27.92 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.004215, allocations: 171.4 kB / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004217, allocations: 0 / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004217, allocations: 0 / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.004221, allocations: 0 / 0.5583 GB, free: 13.27 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.0006198/0.004841, allocations: 0.5091 MB / 0.5588 GB, free: 12.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.004872, allocations: 8.75 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.004999, allocations: 28.8 kB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.005155, allocations: 160.1 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.005168, allocations: 8.375 kB / 0.559 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.005181, allocations: 4.375 kB / 0.559 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.00533, allocations: 139.4 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.005339, allocations: 4.125 kB / 0.5591 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.00535, allocations: 384 / 0.5591 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.005357, allocations: 3.938 kB / 0.5591 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.609e-05/0.005423, allocations: 61.67 kB / 0.5592 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.00574, allocations: 446.6 kB / 0.5596 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.00585, allocations: 111.8 kB / 0.5597 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.005902, allocations: 65.16 kB / 0.5598 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.005922, allocations: 8 kB / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.006073, allocations: 175.7 kB / 0.5599 GB, free: 11.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.006074, allocations: 0 / 0.5599 GB, free: 11.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002992/0.006374, allocations: 262.7 kB / 0.5602 GB, free: 11.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.006415, allocations: 114.8 kB / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.006546, allocations: 249.6 kB / 0.5605 GB, free: 10.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.006561, allocations: 33.69 kB / 0.5606 GB, free: 10.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.006619, allocations: 170.8 kB / 0.5607 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.006649, allocations: 27.75 kB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.00669, allocations: 43.3 kB / 0.5608 GB, free: 10.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.006795, allocations: 0.504 MB / 0.5613 GB, free: 9.867 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.006838, allocations: 49.69 kB / 0.5613 GB, free: 9.812 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.006888, allocations: 80.56 kB / 0.5614 GB, free: 9.723 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.623e-05/0.006984, allocations: 130.7 kB / 0.5615 GB, free: 9.574 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006986, allocations: 256 / 0.5615 GB, free: 9.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001666/0.007153, allocations: 200.9 kB / 0.5617 GB, free: 9.359 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.007179, allocations: 41.69 kB / 0.5618 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.007184, allocations: 7.938 kB / 0.5618 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.007197, allocations: 0 / 0.5618 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.007264, allocations: 16.08 kB / 0.5618 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.007268, allocations: 4 kB / 0.5618 GB, free: 9.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.007319, allocations: 11.89 kB / 0.5618 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.007331, allocations: 11.92 kB / 0.5618 GB, free: 9.262 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.000316/0.007647, allocations: 198.3 kB / 0.562 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.007672, allocations: 27.84 kB / 0.562 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.007804, allocations: 91.06 kB / 0.5621 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007806, allocations: 0 / 0.5621 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.007809, allocations: 0 / 0.5621 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.007813, allocations: 4 kB / 0.5621 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.007922, allocations: 188.5 kB / 0.5623 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007924, allocations: 0 / 0.5623 GB, free: 8.707 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.007953, allocations: 8 kB / 0.5623 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.007956, allocations: 3.938 kB / 0.5623 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.007968, allocations: 7.984 kB / 0.5623 GB, free: 8.688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007969, allocations: 0 / 0.5623 GB, free: 8.688 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.00797, allocations: 0 / 0.5623 GB, free: 8.688 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.008183, allocations: 279.3 kB / 0.5626 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.008228, allocations: 31.83 kB / 0.5626 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.008252, allocations: 11.94 kB / 0.5626 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.008295, allocations: 4 kB / 0.5626 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.008336, allocations: 15.98 kB / 0.5626 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.00835, allocations: 7.984 kB / 0.5627 GB, free: 8.305 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.45e-05/0.008425, allocations: 175.1 kB / 0.5628 GB, free: 8.133 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008425, allocations: 0 / 0.5628 GB, free: 8.133 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.008585, allocations: 43.94 kB / 0.5629 GB, free: 8.09 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.0001282/0.008713, allocations: 135.2 kB / 0.563 GB, free: 7.949 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.008904, allocations: 206.6 kB / 0.5632 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008905, allocations: 3.938 kB / 0.5632 GB, free: 7.715 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.008987, allocations: 140.9 kB / 0.5633 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.009135, allocations: 16.8 kB / 0.5633 GB, free: 7.539 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.009712, allocations: 340.1 kB / 0.5637 GB, free: 7.164 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.441e-05/0.009756, allocations: 79.27 kB / 0.5637 GB, free: 7.066 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.869e-05/0.009785, allocations: 15.97 kB / 0.5638 GB, free: 7.051 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.009811, allocations: 12.5 kB / 0.5638 GB, free: 7.039 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009812, allocations: 0 / 0.5638 GB, free: 7.039 MB / 490.7 MB Notification: Performance of Templates: time 0.00318/0.01299, allocations: 1.727 MB / 0.5655 GB, free: 5.363 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.4070483087562025]