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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 119.9 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002549/0.002549, allocations: 279.6 kB / 303.6 MB, free: 3.758 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.217/1.217, allocations: 180.9 MB / 0.5268 GB, free: 2.773 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.004212/0.004212, allocations: 99.84 kB / 0.7259 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5153, allocations: 94.16 MB / 0.8179 GB, free: 7.449 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002338/0.5176, allocations: 1.61 MB / 0.8194 GB, free: 6.336 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009098/0.5185, allocations: 0.6591 MB / 0.8201 GB, free: 5.883 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.5186, allocations: 0 / 0.8201 GB, free: 5.883 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.5187, allocations: 81.77 kB / 0.8201 GB, free: 5.867 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.519, allocations: 104.8 kB / 0.8202 GB, free: 5.84 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.5193, allocations: 96.66 kB / 0.8203 GB, free: 5.797 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.5194, allocations: 124.8 kB / 0.8205 GB, free: 5.754 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 6.986e-05/0.5195, allocations: 11.05 kB / 0.8205 GB, free: 5.75 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.5197, allocations: 77.48 kB / 0.8205 GB, free: 5.723 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.5198, allocations: 113.5 kB / 0.8206 GB, free: 5.703 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.5198, allocations: 5.938 kB / 0.8207 GB, free: 5.703 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.52, allocations: 79.94 kB / 0.8207 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.52, allocations: 35.11 kB / 0.8208 GB, free: 5.668 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.5201, allocations: 56.55 kB / 0.8208 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.5203, allocations: 162.4 kB / 0.821 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5203, allocations: 4.531 kB / 0.821 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5203, allocations: 4 kB / 0.821 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5203, allocations: 0 / 0.821 GB, free: 5.566 MB / 0.5763 GB 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.000574/0.5209, allocations: 489 kB / 0.8214 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.5209, allocations: 9.281 kB / 0.8215 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.521, allocations: 17.5 kB / 0.8215 GB, free: 5.09 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.5211, allocations: 207.7 kB / 0.8217 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.5212, allocations: 7.625 kB / 0.8217 GB, free: 4.867 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.5212, allocations: 7.984 kB / 0.8217 GB, free: 4.863 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.5214, allocations: 132.1 kB / 0.8218 GB, free: 4.785 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.5214, allocations: 0 / 0.8218 GB, free: 4.785 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.5214, allocations: 1.625 kB / 0.8218 GB, free: 4.785 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5214, allocations: 1.188 kB / 0.8218 GB, free: 4.785 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.5216, allocations: 78.38 kB / 0.8219 GB, free: 4.762 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.5219, allocations: 404.3 kB / 0.8223 GB, free: 4.379 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.5221, allocations: 114.5 kB / 0.8224 GB, free: 4.305 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.5221, allocations: 68.83 kB / 0.8224 GB, free: 4.277 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.5222, allocations: 0 / 0.8224 GB, free: 4.277 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.5224, allocations: 174.1 kB / 0.8226 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.5224, allocations: 0 / 0.8226 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of matching and sorting (n=13): time 0.0004558/0.5228, allocations: 346.1 kB / 0.8229 GB, free: 4.02 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.5229, allocations: 110.6 kB / 0.8231 GB, free: 3.891 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.523, allocations: 215.2 kB / 0.8233 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.523, allocations: 30.05 kB / 0.8233 GB, free: 3.727 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.5231, allocations: 114.1 kB / 0.8234 GB, free: 3.621 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.5231, allocations: 34.34 kB / 0.8234 GB, free: 3.594 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.5232, allocations: 37.67 kB / 0.8235 GB, free: 3.566 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.5232, allocations: 331.2 kB / 0.8238 GB, free: 3.242 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.5233, allocations: 58.81 kB / 0.8238 GB, free: 3.23 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.5234, allocations: 74.45 kB / 0.8239 GB, free: 3.199 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.5236, allocations: 191.8 kB / 0.8241 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5236, allocations: 3.938 kB / 0.8241 GB, free: 3.082 MB / 0.5763 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002807/0.5238, allocations: 265.1 kB / 0.8243 GB, free: 2.965 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.5239, allocations: 44.27 kB / 0.8244 GB, free: 2.926 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5239, allocations: 0 / 0.8244 GB, free: 2.926 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5239, allocations: 7.484 kB / 0.8244 GB, free: 2.922 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.524, allocations: 10.2 kB / 0.8244 GB, free: 2.922 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.524, allocations: 2.812 kB / 0.8244 GB, free: 2.922 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/0.5241, allocations: 11 kB / 0.8244 GB, free: 2.918 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.5241, allocations: 7.766 kB / 0.8244 GB, free: 2.914 MB / 0.5763 GB 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.0001073/0.5242, allocations: 184.2 kB / 0.8246 GB, free: 2.754 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.5242, allocations: 20.94 kB / 0.8246 GB, free: 2.742 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.5244, allocations: 102.5 kB / 0.8247 GB, free: 2.676 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5244, allocations: 2.656 kB / 0.8247 GB, free: 2.676 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5244, allocations: 0 / 0.8247 GB, free: 2.676 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5244, allocations: 4.422 kB / 0.8247 GB, free: 2.676 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.5246, allocations: 231.9 kB / 0.8249 GB, free: 2.457 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5246, allocations: 0 / 0.8249 GB, free: 2.457 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.5246, allocations: 9.594 kB / 0.825 GB, free: 2.457 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5246, allocations: 0.75 kB / 0.825 GB, free: 2.457 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.5247, allocations: 10.86 kB / 0.825 GB, free: 2.453 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5247, allocations: 4 kB / 0.825 GB, free: 2.449 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5247, allocations: 0 / 0.825 GB, free: 2.449 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.525, allocations: 342.8 kB / 0.8253 GB, free: 2.27 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.5251, allocations: 104.6 kB / 0.8254 GB, free: 2.164 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.5251, allocations: 11.12 kB / 0.8254 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.5252, allocations: 8.656 kB / 0.8254 GB, free: 2.156 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.5253, allocations: 14.28 kB / 0.8254 GB, free: 2.148 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.5253, allocations: 7 kB / 0.8254 GB, free: 2.148 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001065/0.5254, allocations: 160.3 kB / 0.8256 GB, free: 2.055 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5254, allocations: 0 / 0.8256 GB, free: 2.055 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002494/0.5256, allocations: 44.92 kB / 0.8256 GB, free: 2.051 MB / 0.5763 GB 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.0001518/0.5258, allocations: 137.6 kB / 0.8258 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.5261, allocations: 211.8 kB / 0.826 GB, free: 1.848 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5261, allocations: 4 kB / 0.826 GB, free: 1.844 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.5262, allocations: 137 kB / 0.8261 GB, free: 1.758 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.5264, allocations: 16.86 kB / 0.8261 GB, free: 1.75 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.5269, allocations: 375.2 kB / 0.8265 GB, free: 1.516 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.527, allocations: 0.7317 MB / 0.8272 GB, free: 0.8086 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.5271, allocations: 13.25 kB / 0.8272 GB, free: 0.8047 MB / 0.5763 GB Notification: Performance of SimCode: time 2.91e-07/0.5271, allocations: 0 / 0.8272 GB, free: 0.8047 MB / 0.5763 GB Notification: Performance of Templates: time 0.003803/0.5309, allocations: 1.882 MB / 0.829 GB, free: 0.5781 MB / 0.5763 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.082789856940508] Failed to read output from testmodel.py, exit status != 0: 0.5399398820009083 0.551153373 0.028087014 Calling exit ...