Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.667/1.667, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009952/0.0009953, allocations: 179.4 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 0.6626 GB, free: 4.277 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000881/0.0008813, allocations: 96.22 kB / 0.7808 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004579, allocations: 8 kB / 0.9088 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/0.7436, allocations: 120.3 MB / 1.026 GB, free: 55.68 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.9264, allocations: 141.9 MB / 1.165 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.9267, allocations: 81.17 kB / 1.165 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006153/0.9329, allocations: 2.444 MB / 1.167 GB, free: 0 / 0.7292 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9329, allocations: 0 / 1.167 GB, free: 0 / 0.7292 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.9329, allocations: 0 / 1.167 GB, free: 0 / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005193/0.9335, allocations: 0.509 MB / 1.168 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.9335, allocations: 9.625 kB / 1.168 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.9336, allocations: 18.06 kB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.9337, allocations: 174.6 kB / 1.168 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.9338, allocations: 384 / 1.168 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.9338, allocations: 5.625 kB / 1.168 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.9341, allocations: 246.9 kB / 1.168 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.9342, allocations: 1.25 kB / 1.168 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.9342, allocations: 11.19 kB / 1.168 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.9342, allocations: 0 / 1.168 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.9344, allocations: 147.4 kB / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.9346, allocations: 225.6 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.9351, allocations: 0.531 MB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.9356, allocations: 0.5214 MB / 1.17 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.9356, allocations: 0 / 1.17 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.9361, allocations: 392 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 1.232e-06/0.9361, allocations: 1.594 kB / 1.17 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0008909/0.937, allocations: 0.6954 MB / 1.171 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/0.9371, allocations: 106.5 kB / 1.171 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.9372, allocations: 101.8 kB / 1.171 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.9372, allocations: 25.7 kB / 1.171 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.9373, allocations: 81.59 kB / 1.171 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.9373, allocations: 74.58 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.9374, allocations: 0 / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9375, allocations: 328 kB / 1.171 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-05/0.9376, allocations: 83.66 kB / 1.171 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-05/0.9377, allocations: 90.55 kB / 1.172 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.9381, allocations: 343.3 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9381, allocations: 2.344 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003609/0.9385, allocations: 338.1 kB / 1.172 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/0.9386, allocations: 80.12 kB / 1.172 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9386, allocations: 0.6562 kB / 1.172 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.9386, allocations: 4.625 kB / 1.172 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.9386, allocations: 2.469 kB / 1.172 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.9387, allocations: 2 kB / 1.172 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.9387, allocations: 21.19 kB / 1.172 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.9388, allocations: 4 kB / 1.172 GB, free: 10.94 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002963/0.9391, allocations: 276 kB / 1.173 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.9391, allocations: 28.47 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.9391, allocations: 7.328 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.9392, allocations: 0 / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9392, allocations: 0 / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.9392, allocations: 0.6094 kB / 1.173 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.9394, allocations: 266.6 kB / 1.173 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.9394, allocations: 0 / 1.173 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-06/0.9395, allocations: 0.6094 kB / 1.173 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.9395, allocations: 8.812 kB / 1.173 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.9395, allocations: 21.48 kB / 1.173 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9395, allocations: 1.531 kB / 1.173 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9395, allocations: 1.969 kB / 1.173 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.941, allocations: 1.285 MB / 1.174 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.9411, allocations: 94.11 kB / 1.174 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.9412, allocations: 87.34 kB / 1.174 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.9413, allocations: 9.469 kB / 1.174 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.9414, allocations: 6.719 kB / 1.174 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.9414, allocations: 28.48 kB / 1.174 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.9415, allocations: 77.59 kB / 1.174 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9415, allocations: 0.6562 kB / 1.174 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003433/0.9418, allocations: 77.31 kB / 1.175 GB, free: 8.875 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005061/0.9423, allocations: 255.6 kB / 1.175 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001731/0.9441, allocations: 1.969 MB / 1.177 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9441, allocations: 192 / 1.177 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.9456, allocations: 2.017 MB / 1.179 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.9459, allocations: 18.95 kB / 1.179 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.9465, allocations: 347.8 kB / 1.179 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.9468, allocations: 0.7137 MB / 1.18 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.431e-05/0.9468, allocations: 3.938 kB / 1.18 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-06/0.9468, allocations: 8 kB / 1.18 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.9468, allocations: 0 / 1.18 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of Templates: time 0.005902/0.9527, allocations: 2.746 MB / 1.182 GB, free: 1.781 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)