Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.2 MB / 303.2 MB, free: 8.039 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.001251/0.001252, allocations: 187.8 kB / 371.8 MB, free: 10.14 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.712/1.712, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009045/0.0009045, allocations: 95.58 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004561, allocations: 9.969 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2525, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7711/1.024, allocations: 138.6 MB / 1.115 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.024, allocations: 80.48 kB / 1.115 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006553/1.031, allocations: 2.432 MB / 1.117 GB, free: 31.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.031, allocations: 0 / 1.117 GB, free: 31.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.031, allocations: 0 / 1.117 GB, free: 31.75 MB / 0.698 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.000458/1.031, allocations: 0.5119 MB / 1.118 GB, free: 31.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.031, allocations: 11.67 kB / 1.118 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/1.031, allocations: 50.3 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.761e-05/1.031, allocations: 11.56 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/1.031, allocations: 180.3 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/1.031, allocations: 0 / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/1.031, allocations: 7.844 kB / 1.118 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/1.032, allocations: 242.7 kB / 1.118 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/1.032, allocations: 0 / 1.118 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/1.032, allocations: 3.047 kB / 1.118 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/1.032, allocations: 1.344 kB / 1.118 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/1.032, allocations: 149.7 kB / 1.118 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/1.032, allocations: 226.8 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/1.032, allocations: 0.53 MB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/1.032, allocations: 4 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/1.033, allocations: 388.4 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.102e-06/1.033, allocations: 3.938 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0007311/1.034, allocations: 0.7958 MB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/1.034, allocations: 106.1 kB / 1.12 GB, free: 30.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/1.034, allocations: 96.75 kB / 1.121 GB, free: 30.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/1.034, allocations: 25.7 kB / 1.121 GB, free: 30.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/1.034, allocations: 84.83 kB / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/1.034, allocations: 76.06 kB / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/1.034, allocations: 0 / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.034, allocations: 329 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/1.034, allocations: 79.27 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/1.034, allocations: 85.42 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/1.034, allocations: 171.6 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.034, allocations: 3.953 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002564/1.034, allocations: 339.5 kB / 1.122 GB, free: 29.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/1.035, allocations: 79.09 kB / 1.122 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.035, allocations: 8 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.035, allocations: 0 / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/1.035, allocations: 3.875 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.035, allocations: 2.672 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/1.035, allocations: 15.47 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/1.035, allocations: 7.75 kB / 1.122 GB, free: 29.68 MB / 0.698 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.0002272/1.035, allocations: 265.9 kB / 1.122 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/1.035, allocations: 23.33 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.522e-05/1.035, allocations: 9.094 kB / 1.122 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.035, allocations: 11 kB / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.035, allocations: 0 / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.035, allocations: 0 / 1.122 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/1.035, allocations: 264.5 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.035, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-06/1.035, allocations: 3.953 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/1.035, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/1.035, allocations: 21.11 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.035, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.035, allocations: 3.938 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/1.036, allocations: 1.279 MB / 1.124 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/1.036, allocations: 92.7 kB / 1.124 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.036, allocations: 88.34 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/1.037, allocations: 7.688 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/1.037, allocations: 5.938 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/1.037, allocations: 21.66 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.517e-05/1.037, allocations: 83.11 kB / 1.124 GB, free: 29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.037, allocations: 0 / 1.124 GB, free: 29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000313/1.037, allocations: 86.83 kB / 1.124 GB, free: 28.99 MB / 0.698 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.001604/1.039, allocations: 1.967 MB / 1.126 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001195/1.04, allocations: 1.963 MB / 1.128 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.04, allocations: 4.094 kB / 1.128 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.041, allocations: 2.013 MB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/1.041, allocations: 16.06 kB / 1.13 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/1.042, allocations: 410.7 kB / 1.13 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/1.042, allocations: 0.718 MB / 1.131 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.283e-05/1.042, allocations: 0 / 1.131 GB, free: 27.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/1.042, allocations: 35.73 kB / 1.131 GB, free: 27.28 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/1.042, allocations: 0 / 1.131 GB, free: 27.28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/1.056, allocations: 4.239 MB / 1.135 GB, free: 26.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/1.057, allocations: 250.9 kB / 1.135 GB, free: 26.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.713, allocations: 3.938 kB / 1.135 GB, free: 26.56 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)