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: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001215/0.001215, allocations: 182.3 kB / 371.6 MB, free: 3.395 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.746/1.746, allocations: 205.2 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.0009305/0.0009305, allocations: 87.75 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.134e-05, allocations: 8 kB / 0.8663 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2738, allocations: 116.3 MB / 0.9799 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8668/1.141, allocations: 139.5 MB / 1.116 GB, free: 44.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.141, allocations: 81.81 kB / 1.116 GB, free: 44.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006335/1.147, allocations: 2.403 MB / 1.119 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.176e-06/1.147, allocations: 4 kB / 1.119 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.665e-06/1.147, allocations: 0.8438 kB / 1.119 GB, free: 42.86 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.0004857/1.148, allocations: 0.5063 MB / 1.119 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.148, allocations: 8.688 kB / 1.119 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/1.148, allocations: 44.67 kB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/1.148, allocations: 19.78 kB / 1.119 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/1.148, allocations: 172.7 kB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/1.148, allocations: 7.266 kB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/1.148, allocations: 7.938 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/1.148, allocations: 246.1 kB / 1.12 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/1.149, allocations: 0 / 1.12 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/1.149, allocations: 4 kB / 1.12 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.149, allocations: 0 / 1.12 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/1.149, allocations: 144.9 kB / 1.12 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/1.149, allocations: 219.6 kB / 1.12 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/1.149, allocations: 0.5347 MB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/1.15, allocations: 0.5234 MB / 1.121 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/1.15, allocations: 0 / 1.121 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003673/1.15, allocations: 391.1 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 1.724e-06/1.15, allocations: 0 / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0006313/1.151, allocations: 498.1 kB / 1.122 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/1.151, allocations: 100.4 kB / 1.122 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.553e-05/1.151, allocations: 100.9 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/1.151, allocations: 29.7 kB / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/1.151, allocations: 80.92 kB / 1.122 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/1.151, allocations: 82 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.151, allocations: 4.594 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/1.151, allocations: 329.2 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/1.151, allocations: 78 kB / 1.123 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/1.151, allocations: 85.45 kB / 1.123 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/1.151, allocations: 169.6 kB / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.151, allocations: 0 / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003158/1.152, allocations: 336.8 kB / 1.123 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/1.152, allocations: 79.92 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.152, allocations: 0 / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.152, allocations: 12 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/1.152, allocations: 0.6875 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/1.152, allocations: 0 / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/1.152, allocations: 15.84 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.152, allocations: 8.703 kB / 1.123 GB, free: 39.42 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.0002062/1.152, allocations: 251 kB / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/1.152, allocations: 27.23 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/1.152, allocations: 5.344 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.152, allocations: 0 / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.152, allocations: 0.625 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.152, allocations: 8 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.152, allocations: 274.9 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.153, allocations: 5.406 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-06/1.153, allocations: 0.625 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/1.153, allocations: 0 / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/1.153, allocations: 15.14 kB / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/1.153, allocations: 0 / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.153, allocations: 0.875 kB / 1.124 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.154, allocations: 1.277 MB / 1.125 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/1.154, allocations: 96.81 kB / 1.125 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.154, allocations: 82.56 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/1.154, allocations: 8 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/1.154, allocations: 6.719 kB / 1.125 GB, free: 37.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/1.154, allocations: 23.25 kB / 1.125 GB, free: 37.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.436e-05/1.154, allocations: 86.5 kB / 1.125 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.154, allocations: 0 / 1.125 GB, free: 37.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000312/1.154, allocations: 75.81 kB / 1.125 GB, free: 37.76 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.001811/1.156, allocations: 1.962 MB / 1.127 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001566/1.158, allocations: 1.958 MB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.158, allocations: 0.5625 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/1.159, allocations: 2.019 MB / 1.131 GB, free: 34.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/1.159, allocations: 15.56 kB / 1.131 GB, free: 34.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005962/1.16, allocations: 318.7 kB / 1.132 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/1.16, allocations: 0.7223 MB / 1.132 GB, free: 33.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.316e-05/1.16, allocations: 0 / 1.132 GB, free: 33.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/1.16, allocations: 36.41 kB / 1.132 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of SimCode: time 4.3e-07/1.16, allocations: 0 / 1.132 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/1.178, allocations: 4.239 MB / 1.136 GB, free: 31.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/1.178, allocations: 211.6 kB / 1.137 GB, free: 31.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.824, allocations: 0 / 1.137 GB, free: 31.01 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)