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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001073/0.001073, allocations: 189 kB / 377.1 MB, free: 1.535 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.642/1.642, allocations: 205.4 MB / 0.6367 GB, free: 8.496 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.001115/0.001114, allocations: 88.53 kB / 0.751 GB, free: 63.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 12 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2876, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7345/1.022, allocations: 139.6 MB / 1.125 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.022, allocations: 82.11 kB / 1.125 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005955/1.028, allocations: 2.426 MB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/1.028, allocations: 0 / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.593e-06/1.028, allocations: 0 / 1.127 GB, free: 33.32 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.0004063/1.029, allocations: 0.505 MB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/1.029, allocations: 8.031 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.039e-05/1.029, allocations: 13.97 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.591e-05/1.029, allocations: 175.1 kB / 1.128 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/1.029, allocations: 3.938 kB / 1.128 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/1.029, allocations: 7.438 kB / 1.128 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/1.029, allocations: 246.7 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/1.029, allocations: 1.359 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/1.03, allocations: 7.094 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.03, allocations: 4.5 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/1.03, allocations: 145.8 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/1.03, allocations: 221.3 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/1.03, allocations: 0.5433 MB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/1.03, allocations: 4 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/1.031, allocations: 385.2 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 1.273e-06/1.031, allocations: 0.6562 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0007135/1.031, allocations: 0.796 MB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/1.031, allocations: 104.6 kB / 1.13 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/1.031, allocations: 98.06 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/1.031, allocations: 25.7 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/1.031, allocations: 88.83 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/1.031, allocations: 73.95 kB / 1.13 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/1.031, allocations: 4.562 kB / 1.13 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.994e-05/1.032, allocations: 322.5 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/1.032, allocations: 82.7 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/1.032, allocations: 82.75 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/1.032, allocations: 172.8 kB / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.032, allocations: 0 / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002668/1.032, allocations: 342 kB / 1.131 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/1.032, allocations: 81.73 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.032, allocations: 0.5 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.032, allocations: 4 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.737e-05/1.032, allocations: 0 / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.032, allocations: 0 / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/1.032, allocations: 20.14 kB / 1.132 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/1.032, allocations: 12.88 kB / 1.132 GB, free: 28.84 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.0001924/1.033, allocations: 269.8 kB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/1.033, allocations: 27.77 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/1.033, allocations: 5.219 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.033, allocations: 4 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.033, allocations: 0 / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.033, allocations: 0.8438 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/1.033, allocations: 268.3 kB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.033, allocations: 0.5 kB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/1.033, allocations: 0 / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/1.033, allocations: 4.703 kB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/1.033, allocations: 23.53 kB / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.033, allocations: 1.016 kB / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.033, allocations: 0 / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/1.034, allocations: 1.276 MB / 1.133 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/1.034, allocations: 92.86 kB / 1.133 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.034, allocations: 85.75 kB / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/1.034, allocations: 11.56 kB / 1.134 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/1.034, allocations: 14.28 kB / 1.134 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/1.034, allocations: 19.94 kB / 1.134 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.319e-05/1.034, allocations: 82.8 kB / 1.134 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.034, allocations: 4.031 kB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002922/1.035, allocations: 75.94 kB / 1.134 GB, free: 26.77 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.0004564/1.035, allocations: 255.6 kB / 1.134 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.036, allocations: 1.957 MB / 1.136 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.036, allocations: 4 kB / 1.136 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/1.037, allocations: 2.019 MB / 1.138 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/1.037, allocations: 13.47 kB / 1.138 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/1.038, allocations: 352.7 kB / 1.138 GB, free: 22.49 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/1.038, allocations: 0.7226 MB / 1.139 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.296e-05/1.038, allocations: 3 kB / 1.139 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/1.038, allocations: 8.094 kB / 1.139 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.038, allocations: 0 / 1.139 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.00536/1.043, allocations: 2.736 MB / 1.142 GB, free: 20.2 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)