Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",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.776/1.776, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001027/0.001027, allocations: 193 kB / 377.1 MB, free: 1.531 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.645/1.645, allocations: 205.4 MB / 0.6366 GB, free: 8.656 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.0008912/0.0008915, allocations: 90.5 kB / 0.7509 GB, free: 63.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3019, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8224/1.124, allocations: 141.9 MB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004255/1.125, allocations: 89.2 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01263/1.137, allocations: 4.706 MB / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.889e-06/1.138, allocations: 1.594 kB / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.065e-05/1.138, allocations: 8 kB / 1.132 GB, free: 30.01 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001064/1.139, allocations: 0.5333 MB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.139, allocations: 8.031 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/1.139, allocations: 61.55 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/1.139, allocations: 32.95 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/1.139, allocations: 271.7 kB / 1.133 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/1.139, allocations: 25.22 kB / 1.133 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/1.14, allocations: 36 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/1.14, allocations: 309.5 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/1.14, allocations: 1.688 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/1.14, allocations: 12 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/1.14, allocations: 4 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/1.141, allocations: 250.4 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/1.143, allocations: 0.9619 MB / 1.134 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/1.143, allocations: 254.1 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/1.143, allocations: 4.234 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/1.144, allocations: 164.8 kB / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.255e-06/1.144, allocations: 0 / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0007081/1.144, allocations: 334.4 kB / 1.135 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/1.144, allocations: 61.14 kB / 1.135 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/1.144, allocations: 186.7 kB / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/1.145, allocations: 38.27 kB / 1.135 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/1.145, allocations: 152.7 kB / 1.135 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/1.145, allocations: 81.02 kB / 1.135 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/1.145, allocations: 8 kB / 1.135 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/1.145, allocations: 330.6 kB / 1.136 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/1.145, allocations: 100.5 kB / 1.136 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/1.145, allocations: 149.4 kB / 1.136 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/1.146, allocations: 107.2 kB / 1.136 GB, free: 25.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.146, allocations: 0 / 1.136 GB, free: 25.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006306/1.146, allocations: 310 kB / 1.136 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.146, allocations: 4.844 kB / 1.136 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.146, allocations: 0.7031 kB / 1.136 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/1.146, allocations: 4 kB / 1.136 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/1.147, allocations: 43.34 kB / 1.136 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.147, allocations: 4.5 kB / 1.136 GB, free: 25.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/1.147, allocations: 48.89 kB / 1.136 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/1.147, allocations: 21.36 kB / 1.136 GB, free: 25.45 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * 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.0002076/1.147, allocations: 163.9 kB / 1.137 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/1.147, allocations: 16.52 kB / 1.137 GB, free: 25.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/1.148, allocations: 289.5 kB / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.148, allocations: 0 / 1.137 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.148, allocations: 4.75 kB / 1.137 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.148, allocations: 1.688 kB / 1.137 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/1.149, allocations: 0.7414 MB / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.149, allocations: 0 / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/1.149, allocations: 30.33 kB / 1.138 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/1.149, allocations: 7.141 kB / 1.138 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/1.149, allocations: 5.125 kB / 1.138 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.149, allocations: 11.95 kB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.149, allocations: 2.109 kB / 1.138 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/1.15, allocations: 360.3 kB / 1.138 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/1.15, allocations: 98.12 kB / 1.138 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/1.15, allocations: 8.797 kB / 1.138 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/1.15, allocations: 36.53 kB / 1.138 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.15, allocations: 39.09 kB / 1.138 GB, free: 23.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/1.15, allocations: 13.61 kB / 1.138 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000104/1.151, allocations: 135.3 kB / 1.138 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.151, allocations: 4 kB / 1.138 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003277/1.151, allocations: 62.02 kB / 1.138 GB, free: 23.56 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: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007802/1.152, allocations: 0.9041 MB / 1.139 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005183/1.152, allocations: 262.1 kB / 1.14 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.152, allocations: 320 / 1.14 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/1.152, allocations: 132.6 kB / 1.14 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/1.153, allocations: 31.88 kB / 1.14 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/1.155, allocations: 2.177 MB / 1.142 GB, free: 20.17 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.156, allocations: 0.7725 MB / 1.143 GB, free: 19.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001515/1.156, allocations: 28.2 kB / 1.143 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/1.156, allocations: 80.34 kB / 1.143 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of SimCode: time 7.02e-07/1.156, allocations: 0 / 1.143 GB, free: 19.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/1.175, allocations: 4.921 MB / 1.147 GB, free: 16.55 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/1.175, allocations: 206.7 kB / 1.148 GB, free: 16.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/3.105, allocations: 0 / 1.148 GB, free: 16.31 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)