Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 249.3 MB / 261.8 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009876/0.0009879, allocations: 90.45 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.425e-05/4.427e-05, allocations: 3.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2976, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9205/1.218, allocations: 134.6 MB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.219, allocations: 92.06 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01352/1.232, allocations: 4.693 MB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/1.232, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.941e-05/1.232, allocations: 4 kB / 1.028 GB, free: 12.14 MB / 0.6511 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.000748/1.233, allocations: 0.5151 MB / 1.028 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.233, allocations: 12.03 kB / 1.029 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.431e-05/1.233, allocations: 62.66 kB / 1.029 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/1.233, allocations: 31.62 kB / 1.029 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/1.234, allocations: 257.6 kB / 1.029 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/1.234, allocations: 26.25 kB / 1.029 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/1.234, allocations: 26.62 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/1.234, allocations: 298.6 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.234, allocations: 0 / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/1.234, allocations: 18.95 kB / 1.029 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/1.234, allocations: 4 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/1.235, allocations: 215.8 kB / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/1.236, allocations: 0.9594 MB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/1.237, allocations: 241.6 kB / 1.031 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/1.237, allocations: 106.3 kB / 1.031 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/1.237, allocations: 4.234 kB / 1.031 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/1.237, allocations: 141.2 kB / 1.031 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/1.237, allocations: 0 / 1.031 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0004193/1.237, allocations: 232.1 kB / 1.031 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/1.237, allocations: 59.39 kB / 1.031 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.238, allocations: 186.9 kB / 1.031 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/1.238, allocations: 41.25 kB / 1.031 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.238, allocations: 153.8 kB / 1.031 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/1.238, allocations: 73.05 kB / 1.032 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/1.238, allocations: 6.688 kB / 1.032 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.238, allocations: 335.6 kB / 1.032 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/1.238, allocations: 83.25 kB / 1.032 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/1.238, allocations: 133.2 kB / 1.032 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/1.239, allocations: 93.09 kB / 1.032 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.239, allocations: 4 kB / 1.032 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004218/1.239, allocations: 281 kB / 1.032 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.239, allocations: 4 kB / 1.032 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.239, allocations: 4 kB / 1.032 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.239, allocations: 0 / 1.032 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/1.239, allocations: 47.34 kB / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.239, allocations: 3.953 kB / 1.032 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/1.239, allocations: 54.95 kB / 1.033 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/1.239, allocations: 12 kB / 1.033 GB, free: 8.145 MB / 0.6511 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.0001251/1.24, allocations: 137.5 kB / 1.033 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/1.24, allocations: 23.72 kB / 1.033 GB, free: 7.992 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/1.24, allocations: 259.5 kB / 1.033 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.24, allocations: 0 / 1.033 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.24, allocations: 4 kB / 1.033 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/1.24, allocations: 3.953 kB / 1.033 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008537/1.241, allocations: 0.7042 MB / 1.034 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.241, allocations: 0 / 1.034 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/1.241, allocations: 34.73 kB / 1.034 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.241, allocations: 0 / 1.034 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/1.241, allocations: 15.56 kB / 1.034 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.241, allocations: 0 / 1.034 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.241, allocations: 0 / 1.034 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/1.242, allocations: 333 kB / 1.034 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/1.242, allocations: 100.8 kB / 1.034 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/1.242, allocations: 11.61 kB / 1.034 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/1.242, allocations: 35.67 kB / 1.034 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.242, allocations: 38.69 kB / 1.034 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/1.242, allocations: 12 kB / 1.034 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.395e-05/1.242, allocations: 142.9 kB / 1.034 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.242, allocations: 0 / 1.034 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002764/1.242, allocations: 50.56 kB / 1.034 GB, free: 6.484 MB / 0.6511 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.0006968/1.243, allocations: 0.881 MB / 1.035 GB, free: 5.637 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003703/1.244, allocations: 239.1 kB / 1.035 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.244, allocations: 0 / 1.035 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/1.244, allocations: 116 kB / 1.036 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/1.244, allocations: 37.75 kB / 1.036 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/1.245, allocations: 380.1 kB / 1.036 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/1.245, allocations: 0.7723 MB / 1.037 GB, free: 4.215 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000116/1.245, allocations: 37.98 kB / 1.037 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/1.245, allocations: 84.83 kB / 1.037 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of SimCode: time 5.21e-07/1.245, allocations: 4 kB / 1.037 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/1.262, allocations: 4.957 MB / 1.042 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/1.262, allocations: 188.4 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/3.136, allocations: 4 kB / 1.042 GB, free: 15.15 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)