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.836/1.836, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001599/0.001599, allocations: 168.9 kB / 366.7 MB, free: 1.641 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.697/1.697, allocations: 205.3 MB / 0.626 GB, free: 7.133 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.001235/0.001235, allocations: 95.41 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.733e-05, allocations: 0 / 0.8598 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7378/0.7378, allocations: 116.3 MB / 0.9734 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.9358, allocations: 146.3 MB / 1.116 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.9361, allocations: 100.6 kB / 1.116 GB, free: 3.621 MB / 0.7136 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.03343/0.9696, allocations: 12.8 MB / 1.129 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9696, allocations: 0 / 1.129 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.982e-05/0.9697, allocations: 17.81 kB / 1.129 GB, free: 6.895 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.001089/0.9708, allocations: 0.7691 MB / 1.13 GB, free: 6.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.9708, allocations: 12.03 kB / 1.13 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.9709, allocations: 59.25 kB / 1.13 GB, free: 6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.9717, allocations: 471.6 kB / 1.13 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.9717, allocations: 12 kB / 1.13 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.9718, allocations: 20 kB / 1.13 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004229/0.9722, allocations: 241.5 kB / 1.13 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.9727, allocations: 335.1 kB / 1.131 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.9727, allocations: 0 / 1.131 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.9728, allocations: 8 kB / 1.131 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.9728, allocations: 10.38 kB / 1.131 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.9744, allocations: 1.123 MB / 1.132 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/0.9751, allocations: 472 kB / 1.132 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.9753, allocations: 136.8 kB / 1.132 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.9754, allocations: 7.938 kB / 1.132 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.9757, allocations: 211.6 kB / 1.133 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.9757, allocations: 3.281 kB / 1.133 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.0005321/0.9762, allocations: 320.9 kB / 1.133 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.9763, allocations: 136.5 kB / 1.133 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.9768, allocations: 437.1 kB / 1.133 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.9768, allocations: 25.7 kB / 1.134 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.977, allocations: 248.7 kB / 1.134 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.9771, allocations: 98.56 kB / 1.134 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.9771, allocations: 0 / 1.134 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9772, allocations: 370.7 kB / 1.134 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.9774, allocations: 96.64 kB / 1.134 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.9776, allocations: 176.6 kB / 1.134 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.9778, allocations: 115.8 kB / 1.135 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9778, allocations: 0 / 1.135 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004585/0.9783, allocations: 332.9 kB / 1.135 GB, free: 452 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.9784, allocations: 276 kB / 1.135 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9784, allocations: 3.984 kB / 1.135 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.9784, allocations: 0 / 1.135 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.9787, allocations: 71.91 kB / 1.135 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.9787, allocations: 0 / 1.135 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.979, allocations: 49.25 kB / 1.135 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.979, allocations: 8 kB / 1.135 GB, free: 20 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.979, allocations: 4 kB / 1.135 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000367/0.9794, allocations: 243.6 kB / 1.136 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-06/0.9794, allocations: 0 / 1.136 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-06/0.9794, allocations: 0 / 1.136 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.9797, allocations: 63.91 kB / 1.136 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.9797, allocations: 4 kB / 1.136 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.9799, allocations: 43.78 kB / 1.136 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.9799, allocations: 8 kB / 1.136 GB, free: 15.66 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.0001098/0.98, allocations: 126.2 kB / 1.136 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004312/0.9805, allocations: 329.3 kB / 1.136 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.9805, allocations: 47.44 kB / 1.136 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.9811, allocations: 361.8 kB / 1.136 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.9811, allocations: 8 kB / 1.136 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9811, allocations: 4.703 kB / 1.136 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9811, allocations: 0 / 1.136 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.9822, allocations: 0.9158 MB / 1.137 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9822, allocations: 0 / 1.137 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.9825, allocations: 63.89 kB / 1.137 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.9825, allocations: 0 / 1.137 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.9826, allocations: 8 kB / 1.137 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.9826, allocations: 3.953 kB / 1.137 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9826, allocations: 1.875 kB / 1.137 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.9833, allocations: 0.5924 MB / 1.138 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.9834, allocations: 140.4 kB / 1.138 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.9835, allocations: 11.98 kB / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.9837, allocations: 24.05 kB / 1.138 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.9838, allocations: 31.91 kB / 1.138 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.9838, allocations: 8 kB / 1.138 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003401/0.9842, allocations: 342.9 kB / 1.139 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9842, allocations: 0 / 1.139 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005383/0.9847, allocations: 163.5 kB / 1.139 GB, free: 12.43 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.001712/0.9865, allocations: 1.41 MB / 1.14 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006831/0.9872, allocations: 434.3 kB / 1.14 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9872, allocations: 256 / 1.14 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.9874, allocations: 159.7 kB / 1.141 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.988, allocations: 96.72 kB / 1.141 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.9893, allocations: 0.7332 MB / 1.141 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.9897, allocations: 0.8671 MB / 1.142 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004487/0.9902, allocations: 161.7 kB / 1.142 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.9904, allocations: 171.4 kB / 1.143 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.9904, allocations: 0 / 1.143 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/1.019, allocations: 10.13 MB / 1.153 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.02, allocations: 221.5 kB / 1.153 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/3.197, allocations: 4 kB / 1.153 GB, free: 14.2 MB / 0.7605 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)