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.665/1.665, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001577/0.001577, allocations: 183.3 kB / 371.6 MB, free: 3.438 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.776/1.776, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001065/0.001065, allocations: 88.58 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.17e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2886, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9229/1.212, allocations: 147 MB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.212, allocations: 99.58 kB / 1.124 GB, free: 38.74 MB / 0.7448 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.03402/1.246, allocations: 12.89 MB / 1.136 GB, free: 31.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.924e-06/1.246, allocations: 0.6562 kB / 1.136 GB, free: 31.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.117e-05/1.246, allocations: 19.92 kB / 1.136 GB, free: 31.89 MB / 0.7448 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.001679/1.248, allocations: 0.7763 MB / 1.137 GB, free: 31.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.248, allocations: 12.03 kB / 1.137 GB, free: 31.16 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/1.248, allocations: 70.45 kB / 1.137 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/1.248, allocations: 64.97 kB / 1.137 GB, free: 31.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/1.249, allocations: 449.3 kB / 1.137 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/1.249, allocations: 32.78 kB / 1.138 GB, free: 30.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/1.25, allocations: 34.86 kB / 1.138 GB, free: 30.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/1.25, allocations: 379.1 kB / 1.138 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.25, allocations: 0 / 1.138 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/1.25, allocations: 15.7 kB / 1.138 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.25, allocations: 8 kB / 1.138 GB, free: 30.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/1.251, allocations: 260 kB / 1.138 GB, free: 30.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/1.253, allocations: 1.211 MB / 1.139 GB, free: 29.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/1.254, allocations: 484 kB / 1.14 GB, free: 29.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/1.254, allocations: 159.6 kB / 1.14 GB, free: 29.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/1.254, allocations: 8 kB / 1.14 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/1.255, allocations: 211.7 kB / 1.14 GB, free: 28.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 3.046e-06/1.255, allocations: 3.984 kB / 1.14 GB, free: 28.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0006677/1.255, allocations: 343 kB / 1.141 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/1.255, allocations: 134.1 kB / 1.141 GB, free: 28.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/1.256, allocations: 475.9 kB / 1.141 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/1.256, allocations: 33.5 kB / 1.141 GB, free: 28.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/1.256, allocations: 257 kB / 1.141 GB, free: 28.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/1.256, allocations: 91.69 kB / 1.141 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/1.257, allocations: 10.75 kB / 1.141 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.257, allocations: 359.6 kB / 1.142 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/1.257, allocations: 108.4 kB / 1.142 GB, free: 27.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/1.257, allocations: 190 kB / 1.142 GB, free: 27.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/1.257, allocations: 122.3 kB / 1.142 GB, free: 27.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.257, allocations: 0 / 1.142 GB, free: 27.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005627/1.258, allocations: 345.7 kB / 1.143 GB, free: 27.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.258, allocations: 279.5 kB / 1.143 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.258, allocations: 0 / 1.143 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/1.258, allocations: 6.203 kB / 1.143 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/1.258, allocations: 69.45 kB / 1.143 GB, free: 26.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/1.258, allocations: 5.422 kB / 1.143 GB, free: 26.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/1.259, allocations: 57.52 kB / 1.143 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/1.259, allocations: 12.03 kB / 1.143 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.259, allocations: 4 kB / 1.143 GB, free: 26.72 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004583/1.259, allocations: 275.5 kB / 1.143 GB, free: 26.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/1.259, allocations: 4 kB / 1.143 GB, free: 26.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/1.259, allocations: 4.062 kB / 1.143 GB, free: 26.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/1.26, allocations: 60.94 kB / 1.143 GB, free: 26.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.26, allocations: 10.14 kB / 1.143 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.26, allocations: 44.12 kB / 1.143 GB, free: 26.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/1.26, allocations: 12.23 kB / 1.143 GB, free: 26.46 MB / 0.7448 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 () * 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.0001329/1.26, allocations: 130.2 kB / 1.143 GB, free: 26.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/1.26, allocations: 52.05 kB / 1.144 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/1.261, allocations: 388.5 kB / 1.144 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/1.261, allocations: 4 kB / 1.144 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.261, allocations: 3.953 kB / 1.144 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.261, allocations: 1.922 kB / 1.144 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/1.262, allocations: 1.006 MB / 1.145 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/1.262, allocations: 0 / 1.145 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/1.263, allocations: 61.94 kB / 1.145 GB, free: 25.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/1.263, allocations: 0 / 1.145 GB, free: 25.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/1.263, allocations: 15.39 kB / 1.145 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.263, allocations: 0 / 1.145 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.263, allocations: 3.938 kB / 1.145 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/1.263, allocations: 0.6152 MB / 1.146 GB, free: 24.94 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/1.264, allocations: 147 kB / 1.146 GB, free: 24.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/1.264, allocations: 15.08 kB / 1.146 GB, free: 24.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/1.264, allocations: 33.17 kB / 1.146 GB, free: 24.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.264, allocations: 24.56 kB / 1.146 GB, free: 24.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/1.264, allocations: 13.92 kB / 1.146 GB, free: 24.74 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005038/1.265, allocations: 366.9 kB / 1.146 GB, free: 24.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.91e-07/1.265, allocations: 4 kB / 1.146 GB, free: 24.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006577/1.265, allocations: 174.8 kB / 1.146 GB, free: 24.34 MB / 0.7448 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) * 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.001931/1.267, allocations: 1.466 MB / 1.148 GB, free: 23.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007517/1.268, allocations: 465.6 kB / 1.148 GB, free: 22.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.268, allocations: 8.812 kB / 1.148 GB, free: 22.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/1.268, allocations: 156.8 kB / 1.148 GB, free: 22.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/1.269, allocations: 108.5 kB / 1.148 GB, free: 22.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/1.27, allocations: 0.7635 MB / 1.149 GB, free: 22.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/1.271, allocations: 0.8726 MB / 1.15 GB, free: 21.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005325/1.271, allocations: 159.7 kB / 1.15 GB, free: 21.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/1.272, allocations: 171 kB / 1.15 GB, free: 21.22 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/1.272, allocations: 0 / 1.15 GB, free: 21.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/1.3, allocations: 11.13 MB / 1.161 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/1.3, allocations: 229.7 kB / 1.161 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3.647, allocations: 3.516 kB / 1.161 GB, free: 14.38 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)