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: translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.338/1.338, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001014/0.001014, allocations: 181.2 kB / 366.3 MB, free: 1.957 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.003/1.003, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.000788/0.000788, allocations: 82.89 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.66e-06/5.69e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3946, allocations: 116.3 MB / 0.9726 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.5329, allocations: 146.3 MB / 1.115 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5331, allocations: 100.5 kB / 1.115 GB, free: 2.164 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: time 0.03104/0.5642, allocations: 12.43 MB / 1.128 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.134e-05/0.5642, allocations: 12 kB / 1.128 GB, free: 5.754 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.0009576/0.5652, allocations: 0.7804 MB / 1.128 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.5652, allocations: 8.031 kB / 1.128 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.5653, allocations: 59.25 kB / 1.128 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.566, allocations: 465.4 kB / 1.129 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.5661, allocations: 12 kB / 1.129 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.5661, allocations: 20 kB / 1.129 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004229/0.5665, allocations: 245.2 kB / 1.129 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.5671, allocations: 333.4 kB / 1.129 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5671, allocations: 5.125 kB / 1.13 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.5671, allocations: 4 kB / 1.13 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.5671, allocations: 15.98 kB / 1.13 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.5687, allocations: 1.131 MB / 1.131 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.5694, allocations: 432.8 kB / 1.131 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.5696, allocations: 149.3 kB / 1.131 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.5696, allocations: 4 kB / 1.131 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.5699, allocations: 191.6 kB / 1.131 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.5699, allocations: 3.938 kB / 1.131 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.0004924/0.5704, allocations: 308.9 kB / 1.132 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.5704, allocations: 132.5 kB / 1.132 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.5709, allocations: 434.2 kB / 1.132 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.571, allocations: 29.7 kB / 1.132 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.979e-05/0.5711, allocations: 184.3 kB / 1.132 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.5711, allocations: 98.56 kB / 1.133 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.5712, allocations: 0 / 1.133 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5713, allocations: 362.8 kB / 1.133 GB, free: 164 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.5715, allocations: 104.6 kB / 1.133 GB, free: 56 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.5717, allocations: 176.7 kB / 1.133 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.5719, allocations: 116 kB / 1.133 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5719, allocations: 3.906 kB / 1.133 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004613/0.5724, allocations: 332.9 kB / 1.134 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.5725, allocations: 276.1 kB / 1.134 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5725, allocations: 0 / 1.134 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5725, allocations: 4 kB / 1.134 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.5728, allocations: 67.89 kB / 1.134 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5728, allocations: 5.641 kB / 1.134 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.5731, allocations: 47.75 kB / 1.134 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.5731, allocations: 12 kB / 1.134 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-06/0.5731, allocations: 7.938 kB / 1.134 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003724/0.5735, allocations: 247.7 kB / 1.134 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-06/0.5735, allocations: 0 / 1.134 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.5735, allocations: 0 / 1.134 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.5738, allocations: 63.91 kB / 1.134 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.5738, allocations: 9.438 kB / 1.134 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.574, allocations: 35.86 kB / 1.134 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.574, allocations: 8 kB / 1.134 GB, free: 14.62 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.0001002/0.5741, allocations: 134.2 kB / 1.134 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.5742, allocations: 43.44 kB / 1.134 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.5747, allocations: 343.8 kB / 1.135 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5747, allocations: 4 kB / 1.135 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5747, allocations: 0 / 1.135 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.5748, allocations: 15.88 kB / 1.135 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.5759, allocations: 0.908 MB / 1.136 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.5759, allocations: 0 / 1.136 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.5761, allocations: 59.91 kB / 1.136 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5761, allocations: 4 kB / 1.136 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.5762, allocations: 4 kB / 1.136 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5762, allocations: 0 / 1.136 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5762, allocations: 0 / 1.136 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007314/0.5769, allocations: 0.594 MB / 1.136 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.577, allocations: 132.5 kB / 1.136 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.5771, allocations: 7.906 kB / 1.136 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.5774, allocations: 32.03 kB / 1.137 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.5774, allocations: 23.91 kB / 1.137 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.5775, allocations: 15.98 kB / 1.137 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003387/0.5778, allocations: 335.2 kB / 1.137 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004729/0.5783, allocations: 159.5 kB / 1.137 GB, free: 11.74 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.0006141/0.5789, allocations: 351.2 kB / 1.137 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.5796, allocations: 444 kB / 1.138 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5796, allocations: 0 / 1.138 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.5798, allocations: 159.6 kB / 1.138 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.5803, allocations: 103.2 kB / 1.138 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.5814, allocations: 0.6333 MB / 1.139 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/0.582, allocations: 0.9247 MB / 1.14 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.582, allocations: 0 / 1.14 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.01274/0.5947, allocations: 7.752 MB / 1.147 GB, free: 1.496 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.makefile (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 & ./Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass.pipe 2>&1)