Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.154/2.154, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 188.5 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.748/2.748, allocations: 205.4 MB / 0.5764 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 99.05 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004939, allocations: 8.906 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.4514, allocations: 132 MB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.4518, allocations: 79.94 kB / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01033/0.4621, allocations: 2.393 MB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4622, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.4622, allocations: 4 kB / 1.03 GB, free: 10.77 MB / 0.6823 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.0007317/0.4629, allocations: 432.6 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.463, allocations: 8.031 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.011e-05/0.4631, allocations: 42.55 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.4632, allocations: 11.86 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.4634, allocations: 178.9 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.4634, allocations: 8 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.4635, allocations: 4 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.4639, allocations: 181.6 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.4639, allocations: 7.922 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.464, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.464, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.4641, allocations: 79.97 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.4644, allocations: 225 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.4647, allocations: 142.5 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.4647, allocations: 0 / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.4652, allocations: 204.3 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.004e-06/0.4652, allocations: 0 / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001277/0.4665, allocations: 0.666 MB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.4666, allocations: 95.36 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.4667, allocations: 108.9 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.715e-05/0.4668, allocations: 57.67 kB / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.4669, allocations: 85.14 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.467, allocations: 102.8 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.467, allocations: 8 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4672, allocations: 342.8 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.4676, allocations: 168.9 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.468, allocations: 237.7 kB / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.4685, allocations: 209.8 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4685, allocations: 0 / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001019/0.4695, allocations: 492.6 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.4696, allocations: 12.12 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4696, allocations: 3.938 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.4696, allocations: 4 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.4698, allocations: 19.92 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.4698, allocations: 4 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.47, allocations: 31.66 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.47, allocations: 8 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * Algorithm blocks: 0 * 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.0003546/0.4704, allocations: 215 kB / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.4704, allocations: 11.83 kB / 1.034 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.4705, allocations: 13.22 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4705, allocations: 0 / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4705, allocations: 0 / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4705, allocations: 0 / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.4707, allocations: 217.3 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4708, allocations: 0 / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-06/0.4708, allocations: 0 / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4708, allocations: 0 / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.4708, allocations: 7.984 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4708, allocations: 0 / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4708, allocations: 0 / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.4718, allocations: 493.7 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.4718, allocations: 92.89 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.472, allocations: 39.95 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.4721, allocations: 8.125 kB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.4721, allocations: 0 / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.4722, allocations: 15.98 kB / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.664e-05/0.4722, allocations: 79.28 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4722, allocations: 4 kB / 1.035 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000425/0.4727, allocations: 55.98 kB / 1.035 GB, free: 5.074 MB / 0.6823 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: 35 (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],occ.occ,occ.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001747/0.4744, allocations: 1.14 MB / 1.036 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000739/0.4752, allocations: 360.8 kB / 1.037 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4752, allocations: 0 / 1.037 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.4754, allocations: 123.9 kB / 1.037 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.4756, allocations: 8.547 kB / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/0.4766, allocations: 401.1 kB / 1.037 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.477, allocations: 0.7207 MB / 1.038 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.039e-05/0.4771, allocations: 17.42 kB / 1.038 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.4772, allocations: 39.42 kB / 1.038 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of SimCode: time 1.123e-06/0.4772, allocations: 4 kB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.5021, allocations: 3.44 MB / 1.041 GB, free: 14.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003421/0.5025, allocations: 228.7 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.004, allocations: 1.547 kB / 1.042 GB, free: 14.7 MB / 0.698 GB