Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.9/1.9, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.002859/0.002858, allocations: 176.9 kB / 361.4 MB, free: 6.82 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.208/2.208, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.001154/0.001154, allocations: 96.48 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.259e-05/2.287e-05, allocations: 0 / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.006, allocations: 115.3 MB / 0.9645 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3018/1.308, allocations: 140.2 MB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.308, allocations: 93.41 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01371/1.322, allocations: 4.62 MB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/1.322, allocations: 0 / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.745e-05/1.322, allocations: 7.062 kB / 1.106 GB, free: 10.96 MB / 0.7136 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.001007/1.323, allocations: 0.5068 MB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/1.323, allocations: 15.31 kB / 1.107 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/1.323, allocations: 35.58 kB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/1.323, allocations: 263.7 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/1.323, allocations: 8 kB / 1.107 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/1.324, allocations: 23.94 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004771/1.324, allocations: 198.8 kB / 1.107 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/1.325, allocations: 258.6 kB / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.325, allocations: 0 / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/1.325, allocations: 0 / 1.107 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/1.325, allocations: 15.95 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/1.326, allocations: 0.8944 MB / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/1.327, allocations: 224 kB / 1.108 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/1.327, allocations: 101.3 kB / 1.108 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/1.327, allocations: 240 / 1.108 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/1.327, allocations: 139.6 kB / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.255e-06/1.327, allocations: 0 / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0004641/1.328, allocations: 201.3 kB / 1.109 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.328, allocations: 55.41 kB / 1.109 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/1.328, allocations: 170.2 kB / 1.109 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/1.328, allocations: 33.7 kB / 1.109 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/1.328, allocations: 152.9 kB / 1.109 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/1.328, allocations: 71.05 kB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/1.328, allocations: 0 / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.329, allocations: 338.8 kB / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/1.329, allocations: 76 kB / 1.11 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/1.329, allocations: 130.3 kB / 1.11 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/1.329, allocations: 83.41 kB / 1.11 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.329, allocations: 0 / 1.11 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004359/1.33, allocations: 241.2 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.33, allocations: 8 kB / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/1.33, allocations: 4 kB / 1.11 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.33, allocations: 4 kB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/1.33, allocations: 46.03 kB / 1.11 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/1.33, allocations: 7.875 kB / 1.11 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/1.33, allocations: 43.81 kB / 1.11 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/1.33, allocations: 17.59 kB / 1.11 GB, free: 6.43 MB / 0.7136 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 () * 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.0001534/1.33, allocations: 126.9 kB / 1.11 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003459/1.331, allocations: 201.6 kB / 1.111 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/1.331, allocations: 19.81 kB / 1.111 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/1.331, allocations: 235.3 kB / 1.111 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.331, allocations: 8 kB / 1.111 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.331, allocations: 0 / 1.111 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/1.331, allocations: 0 / 1.111 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/1.332, allocations: 0.6447 MB / 1.111 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.332, allocations: 0 / 1.111 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/1.333, allocations: 31.98 kB / 1.111 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/1.333, allocations: 7.984 kB / 1.111 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/1.333, allocations: 0 / 1.111 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/1.333, allocations: 3.953 kB / 1.111 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.333, allocations: 3.938 kB / 1.111 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/1.333, allocations: 303.3 kB / 1.112 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/1.333, allocations: 96.81 kB / 1.112 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/1.333, allocations: 1.781 kB / 1.112 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/1.333, allocations: 39.97 kB / 1.112 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.334, allocations: 39.89 kB / 1.112 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/1.334, allocations: 8 kB / 1.112 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001203/1.334, allocations: 119.8 kB / 1.112 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/1.334, allocations: 0 / 1.112 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000412/1.334, allocations: 47.94 kB / 1.112 GB, free: 4.438 MB / 0.7136 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) * 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.001112/1.335, allocations: 0.8683 MB / 1.113 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005169/1.336, allocations: 211.8 kB / 1.113 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.336, allocations: 320 / 1.113 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/1.336, allocations: 112.9 kB / 1.113 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/1.337, allocations: 34.92 kB / 1.113 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.338, allocations: 358.2 kB / 1.114 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/1.338, allocations: 0.7639 MB / 1.114 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001593/1.338, allocations: 31.25 kB / 1.114 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/1.339, allocations: 83.41 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/1.339, allocations: 0 / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/1.37, allocations: 4.445 MB / 1.119 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/1.37, allocations: 183.9 kB / 1.119 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/3.426, allocations: 0 / 1.119 GB, free: 13.39 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)