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.737/1.737, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001052/0.001052, allocations: 180.2 kB / 377.1 MB, free: 1.52 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.931/1.931, allocations: 205.4 MB / 0.6366 GB, free: 8.539 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.0009243/0.0009242, allocations: 97.31 kB / 0.7509 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003747, allocations: 8 kB / 0.8748 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2878, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7727/1.061, allocations: 139.6 MB / 1.125 GB, free: 35.15 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/1.061, allocations: 79.09 kB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005941/1.067, allocations: 2.423 MB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.084e-06/1.067, allocations: 0 / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.067, allocations: 7.938 kB / 1.127 GB, free: 33.35 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.0004115/1.067, allocations: 0.5136 MB / 1.128 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.067, allocations: 18.64 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/1.067, allocations: 41.98 kB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.271e-05/1.067, allocations: 13.97 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.461e-05/1.068, allocations: 176.4 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.068, allocations: 4 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/1.068, allocations: 4 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/1.068, allocations: 247.2 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.068, allocations: 4 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.068, allocations: 0 / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/1.068, allocations: 3.938 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/1.068, allocations: 150.6 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/1.068, allocations: 218.1 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/1.068, allocations: 0.5403 MB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/1.068, allocations: 0 / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/1.069, allocations: 389.8 kB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 1.142e-06/1.069, allocations: 0 / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0007115/1.07, allocations: 0.7979 MB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/1.07, allocations: 105.4 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/1.07, allocations: 93.27 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/1.07, allocations: 29.7 kB / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/1.07, allocations: 84.8 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/1.07, allocations: 74.48 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/1.07, allocations: 4.031 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.223e-05/1.07, allocations: 325.9 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/1.07, allocations: 79.52 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.875e-05/1.07, allocations: 79.45 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/1.07, allocations: 176.8 kB / 1.131 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.07, allocations: 3.953 kB / 1.131 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002588/1.07, allocations: 333.2 kB / 1.132 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/1.07, allocations: 88.06 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.07, allocations: 3.938 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.07, allocations: 4.625 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/1.071, allocations: 0 / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.071, allocations: 0 / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/1.071, allocations: 20.47 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/1.071, allocations: 4 kB / 1.132 GB, free: 28.8 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.000183/1.071, allocations: 265.9 kB / 1.132 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/1.071, allocations: 28.61 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.548e-05/1.071, allocations: 8.828 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/1.071, allocations: 1.125 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.071, allocations: 4 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.071, allocations: 0.5 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/1.071, allocations: 269.7 kB / 1.132 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.071, allocations: 0 / 1.132 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/1.071, allocations: 8.453 kB / 1.132 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.071, allocations: 3.562 kB / 1.132 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/1.071, allocations: 16.22 kB / 1.132 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.071, allocations: 1.109 kB / 1.132 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.071, allocations: 4 kB / 1.132 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009184/1.072, allocations: 1.279 MB / 1.133 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/1.072, allocations: 92.86 kB / 1.134 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.072, allocations: 84.39 kB / 1.134 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/1.072, allocations: 8.75 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/1.072, allocations: 11.47 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/1.072, allocations: 24.36 kB / 1.134 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.996e-05/1.072, allocations: 76.92 kB / 1.134 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.072, allocations: 0 / 1.134 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002883/1.073, allocations: 79.55 kB / 1.134 GB, free: 26.74 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.001456/1.074, allocations: 1.966 MB / 1.136 GB, free: 24.94 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.075, allocations: 1.967 MB / 1.138 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.075, allocations: 0 / 1.138 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001/1.076, allocations: 2.022 MB / 1.14 GB, free: 21.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/1.077, allocations: 15.95 kB / 1.14 GB, free: 21.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/1.077, allocations: 410.3 kB / 1.14 GB, free: 20.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/1.077, allocations: 0.7242 MB / 1.141 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.308e-05/1.077, allocations: 4 kB / 1.141 GB, free: 20.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/1.077, allocations: 28.09 kB / 1.141 GB, free: 20.05 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/1.077, allocations: 0 / 1.141 GB, free: 20.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/1.096, allocations: 4.203 MB / 1.145 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.096, allocations: 240.6 kB / 1.145 GB, free: 17.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.755, allocations: 4 kB / 1.145 GB, free: 17.43 MB / 0.7292 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)