Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 293 MB / 309 MB, free: 4.805 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 167.3 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.4 MB / 0.6383 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007805/0.0007805, allocations: 95.06 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 11.98 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2144, allocations: 116.4 MB / 0.9904 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5867/0.8012, allocations: 139.7 MB / 1.127 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.8015, allocations: 78.86 kB / 1.127 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005683/0.8072, allocations: 2.44 MB / 1.129 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8072, allocations: 0 / 1.129 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8072, allocations: 8 kB / 1.129 GB, free: 32.46 MB / 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.0003334/0.8075, allocations: 0.5032 MB / 1.13 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.8076, allocations: 8.031 kB / 1.13 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.8077, allocations: 16.78 kB / 1.13 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.297e-05/0.8078, allocations: 173.8 kB / 1.13 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.8078, allocations: 8.312 kB / 1.13 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.8078, allocations: 4.375 kB / 1.13 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.8081, allocations: 253.3 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.8081, allocations: 192 / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.8081, allocations: 7.938 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8081, allocations: 6.297 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.8083, allocations: 142.4 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.8084, allocations: 220.2 kB / 1.131 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.8087, allocations: 0.5282 MB / 1.131 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.8089, allocations: 0.5264 MB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.809, allocations: 0 / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.8093, allocations: 394.8 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 1.162e-06/0.8093, allocations: 0.5625 kB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0006231/0.8099, allocations: 0.6953 MB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.8099, allocations: 108.6 kB / 1.133 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.228e-05/0.81, allocations: 93.86 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.81, allocations: 28.98 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.81, allocations: 84.8 kB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.8101, allocations: 71.19 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.8101, allocations: 11.97 kB / 1.133 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.8102, allocations: 326.3 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.8103, allocations: 82.94 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.8103, allocations: 78.94 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.8105, allocations: 356.9 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8106, allocations: 0 / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002966/0.8109, allocations: 328.8 kB / 1.134 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.8109, allocations: 80.5 kB / 1.134 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8109, allocations: 0 / 1.134 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.811, allocations: 4.062 kB / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.262e-05/0.811, allocations: 10.91 kB / 1.134 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.811, allocations: 7.266 kB / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.8111, allocations: 15.84 kB / 1.134 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.8111, allocations: 8.781 kB / 1.134 GB, free: 27.38 MB / 0.7292 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.0001801/0.8113, allocations: 265.2 kB / 1.135 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.8113, allocations: 23.75 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.8114, allocations: 9.25 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8114, allocations: 0 / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8114, allocations: 4.844 kB / 1.135 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.8114, allocations: 4 kB / 1.135 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.8115, allocations: 269.7 kB / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.8116, allocations: 0.5625 kB / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.8116, allocations: 0 / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8116, allocations: 3.938 kB / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.8116, allocations: 19.44 kB / 1.135 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8116, allocations: 0 / 1.135 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8116, allocations: 0 / 1.135 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.8126, allocations: 1.286 MB / 1.136 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.8127, allocations: 96.86 kB / 1.136 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.8128, allocations: 83.86 kB / 1.136 GB, free: 25.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.8129, allocations: 11.94 kB / 1.136 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.8129, allocations: 11.28 kB / 1.136 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.8129, allocations: 19.47 kB / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.182e-05/0.813, allocations: 83.28 kB / 1.136 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.41e-07/0.813, allocations: 0 / 1.136 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002851/0.8133, allocations: 75.94 kB / 1.137 GB, free: 25.3 MB / 0.7292 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.0004111/0.8137, allocations: 259.6 kB / 1.137 GB, free: 25.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.8149, allocations: 1.962 MB / 1.139 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8149, allocations: 0 / 1.139 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.816, allocations: 2.021 MB / 1.141 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.8163, allocations: 16 kB / 1.141 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.8167, allocations: 351.7 kB / 1.141 GB, free: 21.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.8169, allocations: 0.7144 MB / 1.142 GB, free: 20.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.298e-05/0.8169, allocations: 0 / 1.142 GB, free: 20.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.059e-05/0.817, allocations: 11.44 kB / 1.142 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.817, allocations: 0 / 1.142 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of Templates: time 0.005905/0.8229, allocations: 2.739 MB / 1.144 GB, free: 18.73 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)