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.0008478/0.0008478, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001384/0.001384, allocations: 173 kB / 23.36 MB, free: 1.133 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.914/0.914, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.002354/0.002354, allocations: 248.9 kB / 260.5 MB, free: 12.68 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.6645/0.6645, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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 1.112e-06/1.112e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.436e-06/9.548e-06, allocations: 2.312 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004208/0.004218, allocations: 4.734 MB / 467 MB, free: 13.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1155/0.1197, allocations: 146 MB / 0.5987 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.1203, allocations: 23.81 kB / 0.5987 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.1208, allocations: 206.1 kB / 0.5989 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.1219, allocations: 0.5939 MB / 0.5995 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1231, allocations: 0.8786 MB / 0.6003 GB, free: 9.973 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.1244, allocations: 1.495 MB / 0.6018 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.1248, allocations: 406.8 kB / 0.6022 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006695/0.1255, allocations: 0.7912 MB / 0.603 GB, free: 7.254 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.1258, allocations: 386.8 kB / 0.6033 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-05/0.1259, allocations: 112 kB / 0.6034 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.1264, allocations: 495.2 kB / 0.6039 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.1265, allocations: 291 kB / 0.6042 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.1268, allocations: 386.9 kB / 0.6046 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0008894/0.1277, allocations: 1.253 MB / 0.6058 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1277, allocations: 0 / 0.6058 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of FrontEnd: time 7.11e-07/0.1277, allocations: 8 kB / 0.6058 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1277, allocations: 0 / 0.6058 GB, free: 4.352 MB / 0.5573 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.001221/0.1289, allocations: 1.386 MB / 0.6071 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.571e-05/0.1289, allocations: 8.75 kB / 0.6072 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/0.1297, allocations: 324.8 kB / 0.6075 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.1303, allocations: 0.59 MB / 0.608 GB, free: 2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.1304, allocations: 70.12 kB / 0.6081 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.1304, allocations: 84 kB / 0.6082 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008263/0.1313, allocations: 0.8805 MB / 0.609 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1313, allocations: 0 / 0.609 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.1313, allocations: 36 kB / 0.6091 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.1313, allocations: 24 kB / 0.6091 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005405/0.1319, allocations: 0.5879 MB / 0.6097 GB, free: 240 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1335, allocations: 1.6 MB / 0.6112 GB, free: 14.6 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.1339, allocations: 408.9 kB / 0.6116 GB, free: 14.2 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.134, allocations: 130.8 kB / 0.6118 GB, free: 14.07 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.1341, allocations: 28.64 kB / 0.6118 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.1344, allocations: 470.7 kB / 0.6122 GB, free: 13.55 MB / 0.573 GB Notification: Performance of pre-optimization done (n=85): time 1.643e-06/0.1344, allocations: 4 kB / 0.6122 GB, free: 13.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=85): time 0.0009394/0.1354, allocations: 0.5576 MB / 0.6128 GB, free: 12.98 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1354, allocations: 192.9 kB / 0.613 GB, free: 12.75 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.1357, allocations: 0.5172 MB / 0.6135 GB, free: 12.22 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.1358, allocations: 45.7 kB / 0.6135 GB, free: 12.17 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1359, allocations: 346.3 kB / 0.6138 GB, free: 11.82 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.136, allocations: 285.5 kB / 0.6141 GB, free: 11.54 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1362, allocations: 162.5 kB / 0.6143 GB, free: 11.38 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.1363, allocations: 394.5 kB / 0.6146 GB, free: 10.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1364, allocations: 96.7 kB / 0.6147 GB, free: 10.89 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1366, allocations: 316.5 kB / 0.615 GB, free: 10.53 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.1369, allocations: 325.6 kB / 0.6154 GB, free: 10.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1369, allocations: 0 / 0.6154 GB, free: 10.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0007922/0.1377, allocations: 460.5 kB / 0.6158 GB, free: 9.738 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.1377, allocations: 4 kB / 0.6158 GB, free: 9.734 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1377, allocations: 4 kB / 0.6158 GB, free: 9.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/0.1381, allocations: 116.7 kB / 0.6159 GB, free: 9.613 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.1384, allocations: 163.7 kB / 0.6161 GB, free: 9.453 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008376/0.1392, allocations: 1.309 MB / 0.6173 GB, free: 8.055 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.1394, allocations: 80.16 kB / 0.6174 GB, free: 7.977 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.1395, allocations: 27.97 kB / 0.6174 GB, free: 7.949 MB / 0.573 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.0001647/0.1397, allocations: 166.5 kB / 0.6176 GB, free: 7.777 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.1397, allocations: 75.94 kB / 0.6177 GB, free: 7.703 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007948/0.1405, allocations: 0.6519 MB / 0.6183 GB, free: 7.047 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.1405, allocations: 14.11 kB / 0.6183 GB, free: 7.035 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1405, allocations: 0 / 0.6183 GB, free: 7.035 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1405, allocations: 3.984 kB / 0.6183 GB, free: 7.031 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1416, allocations: 1.009 MB / 0.6193 GB, free: 6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1416, allocations: 0 / 0.6193 GB, free: 6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.1419, allocations: 143.8 kB / 0.6195 GB, free: 5.859 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.1422, allocations: 108.8 kB / 0.6196 GB, free: 5.75 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.1422, allocations: 23.97 kB / 0.6196 GB, free: 5.727 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007313/0.1429, allocations: 1.332 MB / 0.6209 GB, free: 4.305 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1429, allocations: 0 / 0.6209 GB, free: 4.305 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.1435, allocations: 0.5751 MB / 0.6214 GB, free: 3.711 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.1437, allocations: 151.1 kB / 0.6216 GB, free: 3.562 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.1438, allocations: 23.95 kB / 0.6216 GB, free: 3.539 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.144, allocations: 40.48 kB / 0.6217 GB, free: 3.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.1441, allocations: 72.86 kB / 0.6217 GB, free: 3.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.1441, allocations: 27.53 kB / 0.6217 GB, free: 3.406 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001783/0.1443, allocations: 263.4 kB / 0.622 GB, free: 3.148 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1443, allocations: 0 / 0.622 GB, free: 3.148 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004379/0.1447, allocations: 335.1 kB / 0.6223 GB, free: 2.82 MB / 0.573 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.001475/0.1462, allocations: 0.7505 MB / 0.6231 GB, free: 2.43 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.1467, allocations: 0.5125 MB / 0.6236 GB, free: 1.902 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.1467, allocations: 8 kB / 0.6236 GB, free: 1.895 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.147, allocations: 375 kB / 0.6239 GB, free: 1.516 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.1476, allocations: 311.3 kB / 0.6242 GB, free: 1.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.1494, allocations: 1.543 MB / 0.6257 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.1495, allocations: 203 kB / 0.6259 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003479/0.1498, allocations: 200.1 kB / 0.6261 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.1503, allocations: 311 kB / 0.6264 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.1503, allocations: 0 / 0.6264 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of Templates: time 0.01755/0.1679, allocations: 16.97 MB / 0.643 GB, free: 14.38 MB / 0.6042 GB " [Timeout remaining time 660] 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: 3.8823530548252165]