Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.567/2.567, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001511/0.001511, allocations: 187.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001135/0.001134, allocations: 88.67 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004883, allocations: 10.78 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2109, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.929/1.14, allocations: 140.8 MB / 1.116 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/1.14, allocations: 97.11 kB / 1.116 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01892/1.159, allocations: 4.698 MB / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/1.159, allocations: 0 / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.124e-05/1.159, allocations: 3.812 kB / 1.12 GB, free: 30.88 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001213/1.161, allocations: 0.5278 MB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.161, allocations: 11.56 kB / 1.121 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/1.161, allocations: 64.92 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/1.161, allocations: 31 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/1.161, allocations: 270.9 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/1.161, allocations: 23.88 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/1.161, allocations: 28.84 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/1.162, allocations: 314.6 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.162, allocations: 4 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/1.162, allocations: 17.61 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/1.162, allocations: 3.844 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/1.163, allocations: 240.8 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/1.166, allocations: 0.9577 MB / 1.123 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/1.166, allocations: 261 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/1.166, allocations: 7.891 kB / 1.123 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/1.167, allocations: 167 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 3.297e-06/1.167, allocations: 0 / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.001124/1.168, allocations: 331 kB / 1.124 GB, free: 29.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/1.168, allocations: 62.67 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/1.168, allocations: 184.2 kB / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/1.168, allocations: 36.11 kB / 1.124 GB, free: 29.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.169, allocations: 156.1 kB / 1.124 GB, free: 29.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/1.169, allocations: 83.08 kB / 1.124 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/1.169, allocations: 10.69 kB / 1.124 GB, free: 29.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.169, allocations: 332.5 kB / 1.124 GB, free: 28.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/1.169, allocations: 102.6 kB / 1.125 GB, free: 28.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/1.17, allocations: 151 kB / 1.125 GB, free: 28.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/1.17, allocations: 97.88 kB / 1.125 GB, free: 28.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.728e-06/1.17, allocations: 0 / 1.125 GB, free: 28.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009387/1.171, allocations: 311.8 kB / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.171, allocations: 3.875 kB / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.171, allocations: 2.812 kB / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.171, allocations: 3.969 kB / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/1.171, allocations: 40.41 kB / 1.125 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.171, allocations: 8.094 kB / 1.125 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/1.172, allocations: 56.44 kB / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/1.172, allocations: 7.719 kB / 1.125 GB, free: 28.73 MB / 0.698 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.0002913/1.172, allocations: 175 kB / 1.125 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/1.172, allocations: 19.53 kB / 1.125 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008798/1.173, allocations: 284.9 kB / 1.126 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.173, allocations: 0 / 1.126 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.173, allocations: 3.812 kB / 1.126 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/1.173, allocations: 7.047 kB / 1.126 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.175, allocations: 0.7255 MB / 1.126 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.175, allocations: 0 / 1.126 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/1.175, allocations: 36.58 kB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/1.175, allocations: 0 / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/1.175, allocations: 7.891 kB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.175, allocations: 3.812 kB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.175, allocations: 0 / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/1.176, allocations: 368.5 kB / 1.127 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/1.176, allocations: 99.36 kB / 1.127 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/1.176, allocations: 7.781 kB / 1.127 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/1.176, allocations: 39.45 kB / 1.127 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/1.177, allocations: 39.83 kB / 1.127 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/1.177, allocations: 11.62 kB / 1.127 GB, free: 27.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001604/1.177, allocations: 141.5 kB / 1.127 GB, free: 27.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.177, allocations: 0 / 1.127 GB, free: 27.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004591/1.177, allocations: 54.19 kB / 1.127 GB, free: 27.86 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: 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.00125/1.179, allocations: 0.9005 MB / 1.128 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000848/1.179, allocations: 268.8 kB / 1.128 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.18, allocations: 0 / 1.128 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003675/1.18, allocations: 132.8 kB / 1.128 GB, free: 27.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/1.18, allocations: 32.47 kB / 1.128 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/1.184, allocations: 2.176 MB / 1.131 GB, free: 25.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/1.184, allocations: 0.7669 MB / 1.131 GB, free: 25.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002268/1.185, allocations: 31.48 kB / 1.131 GB, free: 25.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/1.185, allocations: 87 kB / 1.131 GB, free: 25.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.185, allocations: 0 / 1.131 GB, free: 25.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/1.218, allocations: 4.92 MB / 1.136 GB, free: 24.07 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/1.218, allocations: 225.5 kB / 1.136 GB, free: 23.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.771, allocations: 0 / 1.136 GB, free: 23.82 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)