Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001107/0.001107, allocations: 77.09 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.001016/0.001016, allocations: 169 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.9765/0.9765, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001766/0.001766, allocations: 241.7 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.728/0.728, allocations: 138.4 MB / 456.3 MB, free: 1.406 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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 4 kB / 0.5563 GB, free: 276 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.549e-05, allocations: 9.203 kB / 0.5564 GB, free: 268 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007101/0.007137, allocations: 4.716 MB / 0.561 GB, free: 11.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4443/0.4514, allocations: 143.9 MB / 0.7015 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.4525, allocations: 23.81 kB / 0.7015 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.4531, allocations: 194.2 kB / 0.7017 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.4549, allocations: 0.599 MB / 0.7022 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.4567, allocations: 0.8774 MB / 0.7031 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.4581, allocations: 1.483 MB / 0.7046 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006471/0.4587, allocations: 402.1 kB / 0.7049 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.4598, allocations: 0.7874 MB / 0.7057 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.4603, allocations: 390.8 kB / 0.7061 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.4604, allocations: 115.9 kB / 0.7062 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009059/0.4613, allocations: 484.5 kB / 0.7067 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.4615, allocations: 299 kB / 0.7069 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.4617, allocations: 383 kB / 0.7073 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.4632, allocations: 1.265 MB / 0.7085 GB, free: 240 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4632, allocations: 0 / 0.7085 GB, free: 240 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4632, allocations: 0 / 0.7085 GB, free: 240 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.4632, allocations: 0 / 0.7085 GB, free: 240 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00194/0.4652, allocations: 1.539 MB / 0.71 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4652, allocations: 8.75 kB / 0.71 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009811/0.4662, allocations: 351.4 kB / 0.7104 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.467, allocations: 0.7072 MB / 0.7111 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.467, allocations: 66.56 kB / 0.7111 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.4671, allocations: 91.92 kB / 0.7112 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008307/0.4679, allocations: 0.8929 MB / 0.7121 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4679, allocations: 0 / 0.7121 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.468, allocations: 43.98 kB / 0.7121 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.468, allocations: 20 kB / 0.7122 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/0.4687, allocations: 0.6883 MB / 0.7128 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.471, allocations: 2.105 MB / 0.7149 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006061/0.4716, allocations: 455.1 kB / 0.7153 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.4717, allocations: 154.3 kB / 0.7155 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/0.4718, allocations: 36.62 kB / 0.7155 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.4722, allocations: 486.4 kB / 0.716 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.725e-06/0.4722, allocations: 0 / 0.716 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.001383/0.4736, allocations: 0.7689 MB / 0.7167 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.4737, allocations: 188.9 kB / 0.7169 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.4741, allocations: 0.5695 MB / 0.7175 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.4742, allocations: 45.7 kB / 0.7175 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.4744, allocations: 471.7 kB / 0.7179 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.4746, allocations: 285.5 kB / 0.7182 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.4748, allocations: 184.1 kB / 0.7184 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.475, allocations: 0.5663 MB / 0.7189 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.4751, allocations: 105.9 kB / 0.719 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.4754, allocations: 353.4 kB / 0.7194 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.4758, allocations: 350.2 kB / 0.7197 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4758, allocations: 4 kB / 0.7197 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0009678/0.4768, allocations: 0.606 MB / 0.7203 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4768, allocations: 4 kB / 0.7203 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4768, allocations: 0 / 0.7203 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/0.4773, allocations: 127.6 kB / 0.7204 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.4777, allocations: 167.8 kB / 0.7206 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.4793, allocations: 1.875 MB / 0.7224 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.4797, allocations: 80.05 kB / 0.7225 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.4797, allocations: 27.97 kB / 0.7225 GB, free: 1.316 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003122/0.48, allocations: 219.7 kB / 0.7227 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.4802, allocations: 107.5 kB / 0.7228 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.4814, allocations: 0.8208 MB / 0.7236 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.4814, allocations: 12 kB / 0.7237 GB, free: 152 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4814, allocations: 4 kB / 0.7237 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.4814, allocations: 7.969 kB / 0.7237 GB, free: 140 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.4833, allocations: 1.318 MB / 0.725 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4833, allocations: 4 kB / 0.725 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.4836, allocations: 159.7 kB / 0.7251 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.484, allocations: 111.6 kB / 0.7252 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.4841, allocations: 27.97 kB / 0.7252 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.4854, allocations: 1.891 MB / 0.7271 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.4854, allocations: 3.516 kB / 0.7271 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009692/0.4864, allocations: 0.8374 MB / 0.7279 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.4867, allocations: 195 kB / 0.7281 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-05/0.4867, allocations: 20 kB / 0.7281 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.487, allocations: 43.97 kB / 0.7282 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.4871, allocations: 80.84 kB / 0.7282 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.4871, allocations: 31.98 kB / 0.7283 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002514/0.4874, allocations: 370.8 kB / 0.7286 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.4874, allocations: 3.938 kB / 0.7286 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007527/0.4881, allocations: 339.1 kB / 0.729 GB, free: 10.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.4895, allocations: 0.6296 MB / 0.7296 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008174/0.4903, allocations: 0.6085 MB / 0.7302 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4903, allocations: 0 / 0.7302 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.4907, allocations: 460.9 kB / 0.7306 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007562/0.4915, allocations: 330 kB / 0.7309 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.494, allocations: 1.564 MB / 0.7324 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.4942, allocations: 199.9 kB / 0.7326 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000472/0.4946, allocations: 189 kB / 0.7328 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.4952, allocations: 373.9 kB / 0.7332 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of SimCode: time 1.723e-06/0.4952, allocations: 0 / 0.7332 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of Templates: time 0.02148/0.5167, allocations: 17.17 MB / 0.7499 GB, free: 5.57 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.856418977025896]