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.52/1.52, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001105/0.001105, allocations: 172.9 kB / 366.7 MB, free: 1.656 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.355/1.355, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0008672/0.0008673, allocations: 87.06 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.735e-05, allocations: 0 / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.5575, allocations: 116.3 MB / 0.9732 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.7172, allocations: 138.9 MB / 1.109 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.7176, allocations: 75.95 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009307/0.7269, allocations: 2.41 MB / 1.111 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7269, allocations: 0.6875 kB / 1.111 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.7269, allocations: 4 kB / 1.111 GB, free: 8.906 MB / 0.7136 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.0005293/0.7275, allocations: 0.4988 MB / 1.112 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.7275, allocations: 8.031 kB / 1.112 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.7277, allocations: 16.8 kB / 1.112 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.7278, allocations: 174.9 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.7279, allocations: 4.906 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.7279, allocations: 4 kB / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002277/0.7281, allocations: 145.8 kB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.7285, allocations: 242.4 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.7286, allocations: 0 / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.7286, allocations: 0 / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.7286, allocations: 0.625 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.7288, allocations: 190.7 kB / 1.113 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005821/0.7294, allocations: 0.5362 MB / 1.113 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.73, allocations: 0.5174 MB / 1.114 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.73, allocations: 0 / 1.114 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005259/0.7306, allocations: 385.1 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 1.914e-06/0.7306, allocations: 0 / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0007306/0.7313, allocations: 413.4 kB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.7314, allocations: 109.1 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.7315, allocations: 86.66 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.7315, allocations: 33.69 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.7316, allocations: 84.92 kB / 1.115 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.7317, allocations: 74.95 kB / 1.115 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.7317, allocations: 1.344 kB / 1.115 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7318, allocations: 326.8 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.732, allocations: 75.98 kB / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.7321, allocations: 81.27 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.7323, allocations: 104 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7323, allocations: 0 / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004507/0.7327, allocations: 271.5 kB / 1.116 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.7329, allocations: 80.97 kB / 1.116 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7329, allocations: 4 kB / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.7329, allocations: 0 / 1.116 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/0.733, allocations: 10.05 kB / 1.116 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.733, allocations: 0 / 1.116 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.7331, allocations: 19.84 kB / 1.116 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.7331, allocations: 8.812 kB / 1.116 GB, free: 4.246 MB / 0.7136 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.0002861/0.7334, allocations: 248 kB / 1.116 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.7335, allocations: 23.77 kB / 1.116 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.296e-05/0.7335, allocations: 9.953 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.7335, allocations: 0 / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.7336, allocations: 4 kB / 1.116 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7336, allocations: 0 / 1.116 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.7338, allocations: 237.5 kB / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7339, allocations: 0 / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.7339, allocations: 4 kB / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7339, allocations: 3.062 kB / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.7339, allocations: 19.98 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7339, allocations: 3.953 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7339, allocations: 0 / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/0.7349, allocations: 0.5631 MB / 1.117 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.735, allocations: 92.86 kB / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.7352, allocations: 83.92 kB / 1.117 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.7354, allocations: 12.03 kB / 1.117 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.7354, allocations: 11.94 kB / 1.117 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.7355, allocations: 23.92 kB / 1.117 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.7355, allocations: 83.28 kB / 1.117 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7356, allocations: 0 / 1.117 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005087/0.7361, allocations: 72 kB / 1.117 GB, free: 2.699 MB / 0.7136 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.0005848/0.7367, allocations: 256.1 kB / 1.117 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002263/0.7389, allocations: 1.936 MB / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.739, allocations: 0 / 1.119 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.7411, allocations: 2.003 MB / 1.121 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.7413, allocations: 12 kB / 1.121 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/0.7419, allocations: 252.3 kB / 1.121 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.7423, allocations: 0.7166 MB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.589e-05/0.7423, allocations: 3.984 kB / 1.122 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.7423, allocations: 11.44 kB / 1.122 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.7423, allocations: 3.938 kB / 1.122 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.00736/0.7497, allocations: 2.744 MB / 1.125 GB, free: 10.77 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)