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.64/1.64, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001045/0.001045, allocations: 180.4 kB / 371.6 MB, free: 3.379 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.833/1.833, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008957/0.0008958, allocations: 89.78 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.487e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3186, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.869/1.188, allocations: 139.5 MB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/1.188, allocations: 75.59 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005761/1.194, allocations: 2.407 MB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.373e-06/1.194, allocations: 2.875 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.754e-06/1.194, allocations: 4 kB / 1.118 GB, free: 42.77 MB / 0.7448 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.0003448/1.194, allocations: 0.4983 MB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.197e-05/1.194, allocations: 8.031 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.862e-05/1.194, allocations: 17.53 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.175e-05/1.194, allocations: 174.3 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/1.194, allocations: 7.828 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/1.194, allocations: 7.25 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/1.195, allocations: 236.2 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.195, allocations: 0 / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/1.195, allocations: 4 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.195, allocations: 0 / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/1.195, allocations: 154 kB / 1.12 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/1.195, allocations: 224.1 kB / 1.12 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/1.195, allocations: 0.5332 MB / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/1.196, allocations: 0.5252 MB / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/1.196, allocations: 0 / 1.121 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/1.196, allocations: 385.5 kB / 1.121 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 1.332e-06/1.196, allocations: 0 / 1.121 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0005692/1.197, allocations: 0.4921 MB / 1.122 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/1.197, allocations: 107.7 kB / 1.122 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.244e-05/1.197, allocations: 93.98 kB / 1.122 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/1.197, allocations: 29.7 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/1.197, allocations: 87.67 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/1.197, allocations: 77.17 kB / 1.122 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/1.197, allocations: 0 / 1.122 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/1.197, allocations: 323.5 kB / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/1.197, allocations: 82.55 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/1.197, allocations: 81.8 kB / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/1.197, allocations: 171.3 kB / 1.123 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/1.197, allocations: 3.953 kB / 1.123 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000276/1.198, allocations: 340.6 kB / 1.123 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/1.198, allocations: 77.23 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.198, allocations: 0 / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.198, allocations: 0 / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/1.198, allocations: 11.36 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.198, allocations: 0.5625 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/1.198, allocations: 12.47 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/1.198, allocations: 12.48 kB / 1.123 GB, free: 39.38 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 () * 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.000178/1.198, allocations: 242.4 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/1.198, allocations: 27.77 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/1.198, allocations: 5.344 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/1.198, allocations: 0.8438 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.198, allocations: 0 / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.198, allocations: 0.6875 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/1.198, allocations: 277.8 kB / 1.124 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.198, allocations: 5.688 kB / 1.124 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-06/1.198, allocations: 3.953 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.198, allocations: 4 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/1.198, allocations: 11.95 kB / 1.124 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.198, allocations: 4 kB / 1.124 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.198, allocations: 5.625 kB / 1.124 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009526/1.199, allocations: 1.271 MB / 1.125 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/1.199, allocations: 92.86 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/1.199, allocations: 86.48 kB / 1.125 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/1.2, allocations: 8 kB / 1.125 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/1.2, allocations: 15.23 kB / 1.125 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/1.2, allocations: 23.62 kB / 1.125 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.856e-05/1.2, allocations: 79.28 kB / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.2, allocations: 0 / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002689/1.2, allocations: 75.75 kB / 1.125 GB, free: 37.72 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) * 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.0004654/1.2, allocations: 252.5 kB / 1.125 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001239/1.202, allocations: 1.971 MB / 1.127 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.202, allocations: 0 / 1.127 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/1.203, allocations: 2.016 MB / 1.129 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/1.203, allocations: 12 kB / 1.129 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/1.203, allocations: 256.1 kB / 1.13 GB, free: 35.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/1.204, allocations: 0.722 MB / 1.13 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.167e-05/1.204, allocations: 0 / 1.13 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.02e-05/1.204, allocations: 7.438 kB / 1.13 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/1.204, allocations: 0 / 1.13 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of Templates: time 0.004776/1.208, allocations: 2.754 MB / 1.133 GB, free: 33.37 MB / 0.7448 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)