Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.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.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChilledWaterBypass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChilledWaterBypass",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.775/1.775, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001207/0.001207, allocations: 173.1 kB / 377.1 MB, free: 1.527 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.878/1.878, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.000919/0.000919, allocations: 90.77 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 15.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3227, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8818/1.205, allocations: 147.1 MB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003944/1.205, allocations: 106 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/CentralPlants/Cooling/Controls/ChilledWaterBypass.mo:78:3-78:77:writable] Warning: connect(y, y) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.03845/1.243, allocations: 12.94 MB / 1.145 GB, free: 20.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.475e-06/1.244, allocations: 0 / 1.145 GB, free: 20.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.396e-05/1.244, allocations: 12.64 kB / 1.145 GB, free: 20.39 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001408/1.245, allocations: 0.8706 MB / 1.146 GB, free: 19.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.245, allocations: 12.58 kB / 1.146 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.941e-05/1.245, allocations: 70.53 kB / 1.146 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/1.245, allocations: 65.97 kB / 1.146 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/1.246, allocations: 464.3 kB / 1.146 GB, free: 18.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/1.246, allocations: 25.22 kB / 1.146 GB, free: 18.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/1.246, allocations: 36.52 kB / 1.146 GB, free: 18.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/1.247, allocations: 402.6 kB / 1.147 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/1.247, allocations: 2.766 kB / 1.147 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/1.247, allocations: 16 kB / 1.147 GB, free: 18.53 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/1.247, allocations: 8 kB / 1.147 GB, free: 18.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/1.248, allocations: 306.4 kB / 1.147 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/1.249, allocations: 1.209 MB / 1.148 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.25, allocations: 0.5314 MB / 1.149 GB, free: 16.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/1.25, allocations: 4 kB / 1.149 GB, free: 16.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/1.251, allocations: 230.7 kB / 1.149 GB, free: 16.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/1.251, allocations: 0 / 1.149 GB, free: 16.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.001/1.252, allocations: 0.5193 MB / 1.149 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/1.252, allocations: 144.3 kB / 1.15 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/1.252, allocations: 474.9 kB / 1.15 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/1.252, allocations: 37.7 kB / 1.15 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/1.253, allocations: 251.3 kB / 1.15 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/1.253, allocations: 104.3 kB / 1.15 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/1.253, allocations: 8 kB / 1.15 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.253, allocations: 362.8 kB / 1.151 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/1.253, allocations: 131.4 kB / 1.151 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/1.254, allocations: 210.8 kB / 1.151 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/1.254, allocations: 151.8 kB / 1.151 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.254, allocations: 0 / 1.151 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006698/1.254, allocations: 392.6 kB / 1.152 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/1.255, allocations: 276 kB / 1.152 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.255, allocations: 0.8594 kB / 1.152 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.255, allocations: 5.609 kB / 1.152 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/1.255, allocations: 75.28 kB / 1.152 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.255, allocations: 4.562 kB / 1.152 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/1.255, allocations: 47.11 kB / 1.152 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/1.255, allocations: 12.7 kB / 1.152 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/1.255, allocations: 4.609 kB / 1.152 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004999/1.256, allocations: 295.5 kB / 1.152 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-06/1.256, allocations: 0 / 1.152 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/1.256, allocations: 4.656 kB / 1.152 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.256, allocations: 65.12 kB / 1.152 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/1.256, allocations: 7.953 kB / 1.152 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/1.256, allocations: 49.88 kB / 1.152 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/1.256, allocations: 12.56 kB / 1.152 GB, free: 13.15 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$PRE.onTwo.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.onOne.combiTimeTable.nextTimeEvent,$whenCondition3,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.bypValCon.trigger,chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.intGreThr.u,onOne.combiTimeTable.nextTimeEvent,$PRE.onOne.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,$PRE.onTwo.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002712/1.257, allocations: 277.2 kB / 1.153 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/1.257, allocations: 53.44 kB / 1.153 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007956/1.257, allocations: 436.4 kB / 1.153 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.257, allocations: 4 kB / 1.153 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.257, allocations: 4.656 kB / 1.153 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/1.257, allocations: 1.312 kB / 1.153 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/1.259, allocations: 1.052 MB / 1.154 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.259, allocations: 0.6562 kB / 1.154 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/1.259, allocations: 60 kB / 1.154 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.259, allocations: 1.031 kB / 1.154 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/1.259, allocations: 17.92 kB / 1.154 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.259, allocations: 0 / 1.154 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.259, allocations: 2.5 kB / 1.154 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009989/1.26, allocations: 0.6895 MB / 1.155 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.26, allocations: 142 kB / 1.155 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/1.26, allocations: 5.406 kB / 1.155 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/1.261, allocations: 39 kB / 1.155 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/1.261, allocations: 29.27 kB / 1.155 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/1.261, allocations: 14.38 kB / 1.155 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004141/1.261, allocations: 374.8 kB / 1.156 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/1.261, allocations: 0.75 kB / 1.156 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005854/1.262, allocations: 186.4 kB / 1.156 GB, free: 10.09 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (chiBypCon.bypValCon.I.y) * Number of discrete variables: 13 (chiBypCon.bypValCon.trigger,$whenCondition3,$whenCondition2,$whenCondition1,chiBypCon.chiOn[1],chiBypCon.chiOn[2],chiBypCon.booToInt[1].y,chiBypCon.booToInt[2].y,chiBypCon.intGreThr.u,onOne.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (onTwo.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEvent,onTwo.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * 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.002232/1.264, allocations: 1.578 MB / 1.157 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009278/1.265, allocations: 0.4947 MB / 1.158 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.265, allocations: 96 / 1.158 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002961/1.265, allocations: 184.4 kB / 1.158 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/1.266, allocations: 104.9 kB / 1.158 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/1.27, allocations: 3.101 MB / 1.161 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/1.27, allocations: 0.8702 MB / 1.162 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000332/1.271, allocations: 92.91 kB / 1.162 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/1.271, allocations: 176.4 kB / 1.162 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/1.271, allocations: 0 / 1.162 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/1.295, allocations: 10.41 MB / 1.172 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/1.296, allocations: 272.5 kB / 1.173 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.904, allocations: 0 / 1.173 GB, free: 9.895 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChilledWaterBypass_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChilledWaterBypass.fmu > Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1)