Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.128/2.128, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 176.5 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.323/2.323, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009271/0.0009271, allocations: 97.31 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004596, allocations: 13.25 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.187/7.409, allocations: 2.19 GB / 3.089 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/7.409, allocations: 102 kB / 3.089 GB, free: 247.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2591/7.669, allocations: 58.89 MB / 3.147 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.725e-06/7.669, allocations: 0 / 3.147 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.146e-05/7.669, allocations: 23.53 kB / 3.147 GB, free: 242.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002851/7.672, allocations: 1.149 MB / 3.148 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/7.672, allocations: 11.81 kB / 3.148 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/7.673, allocations: 187.7 kB / 3.148 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/7.675, allocations: 0.6083 MB / 3.149 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/7.675, allocations: 59.25 kB / 3.149 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/7.675, allocations: 77.19 kB / 3.149 GB, free: 241.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/7.677, allocations: 0.8546 MB / 3.15 GB, free: 241 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/7.677, allocations: 192 / 3.15 GB, free: 241 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/7.677, allocations: 41.81 kB / 3.15 GB, free: 241 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/7.677, allocations: 19.62 kB / 3.15 GB, free: 241 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/7.68, allocations: 1.071 MB / 3.151 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005423/7.685, allocations: 2.375 MB / 3.153 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/7.687, allocations: 0.8024 MB / 3.154 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007499/7.688, allocations: 286.4 kB / 3.154 GB, free: 240 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/7.688, allocations: 34.88 kB / 3.154 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/7.689, allocations: 436.6 kB / 3.155 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.296e-06/7.689, allocations: 3.906 kB / 3.155 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.00473/7.694, allocations: 1.089 MB / 3.156 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.476e-05/7.694, allocations: 242.5 kB / 3.156 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/7.695, allocations: 0.638 MB / 3.157 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/7.695, allocations: 37.17 kB / 3.157 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/7.696, allocations: 370.5 kB / 3.157 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/7.696, allocations: 246.1 kB / 3.157 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/7.696, allocations: 11.12 kB / 3.157 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001265/7.696, allocations: 385.2 kB / 3.158 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/7.697, allocations: 212.8 kB / 3.158 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007876/7.698, allocations: 334.3 kB / 3.158 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008175/7.698, allocations: 265 kB / 3.158 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/7.698, allocations: 0 / 3.158 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002741/7.701, allocations: 0.7259 MB / 3.159 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/7.701, allocations: 9.281 kB / 3.159 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/7.701, allocations: 0 / 3.159 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009767/7.702, allocations: 84.97 kB / 3.159 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/7.703, allocations: 146 kB / 3.159 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/7.706, allocations: 1.51 MB / 3.161 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/7.707, allocations: 83.03 kB / 3.161 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/7.707, allocations: 30.11 kB / 3.161 GB, free: 237 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006764/7.708, allocations: 249.2 kB / 3.161 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/7.708, allocations: 74.25 kB / 3.161 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/7.712, allocations: 1.035 MB / 3.162 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/7.712, allocations: 15.75 kB / 3.162 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/7.712, allocations: 0 / 3.162 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/7.712, allocations: 7.469 kB / 3.162 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004821/7.717, allocations: 1.903 MB / 3.164 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/7.717, allocations: 3.609 kB / 3.164 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/7.718, allocations: 142.3 kB / 3.164 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009353/7.719, allocations: 87.86 kB / 3.164 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.002e-05/7.719, allocations: 22.53 kB / 3.164 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/7.721, allocations: 1.552 MB / 3.166 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/7.721, allocations: 0 / 3.166 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/7.725, allocations: 0.9272 MB / 3.167 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008612/7.726, allocations: 279 kB / 3.167 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/7.726, allocations: 25.33 kB / 3.167 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/7.727, allocations: 63.98 kB / 3.167 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/7.728, allocations: 65.66 kB / 3.167 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/7.728, allocations: 31.02 kB / 3.167 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009842/7.729, allocations: 474 kB / 3.168 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.61e-07/7.729, allocations: 0 / 3.168 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001883/7.731, allocations: 334.9 kB / 3.168 GB, free: 234.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002612/7.733, allocations: 1.019 MB / 3.169 GB, free: 234 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002617/7.736, allocations: 0.7299 MB / 3.17 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/7.736, allocations: 0 / 3.17 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/7.737, allocations: 0.4943 MB / 3.17 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/7.74, allocations: 254 kB / 3.17 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006061/7.746, allocations: 2.079 MB / 3.172 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/7.746, allocations: 0.9982 MB / 3.173 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001434/7.748, allocations: 253.8 kB / 3.174 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/7.748, allocations: 92.42 kB / 3.174 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of SimCode: time 8.92e-07/7.748, allocations: 4 kB / 3.174 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.04751/7.796, allocations: 19.98 MB / 3.193 GB, free: 221.7 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)