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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 107.5 kB / 16.37 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 194.1 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 67.91 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2365, allocations: 114.5 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterBypass): time 0.004349/0.2409, allocations: 2.981 MB / 0.7877 GB, free: 116 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4213/0.6622, allocations: 1.428 MB / 0.7891 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.6625, allocations: 9 kB / 0.7891 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008836/0.6634, allocations: 313.7 kB / 0.7894 GB, free: 46.55 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.6639, allocations: 235.7 kB / 0.7896 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.6646, allocations: 371.2 kB / 0.79 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000543/0.6652, allocations: 0.6597 MB / 0.7906 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.6655, allocations: 267.2 kB / 0.7909 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.6658, allocations: 262.1 kB / 0.7912 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.6661, allocations: 269.2 kB / 0.7914 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.6661, allocations: 56.47 kB / 0.7915 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.6663, allocations: 121.3 kB / 0.7916 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.6665, allocations: 150.1 kB / 0.7917 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.6667, allocations: 267.3 kB / 0.792 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.6673, allocations: 0.7984 MB / 0.7928 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6673, allocations: 0 / 0.7928 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6673, allocations: 0.5312 kB / 0.7928 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.6673, allocations: 0 / 0.7928 GB, free: 46.19 MB / 0.6544 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.001318/0.6687, allocations: 0.92 MB / 0.7937 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.6687, allocations: 11.16 kB / 0.7937 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.6688, allocations: 60.33 kB / 0.7937 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.6693, allocations: 459.5 kB / 0.7942 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.6694, allocations: 29.91 kB / 0.7942 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.6694, allocations: 37.69 kB / 0.7942 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/0.67, allocations: 392.2 kB / 0.7946 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6701, allocations: 4.438 kB / 0.7946 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.6701, allocations: 15.03 kB / 0.7946 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.6701, allocations: 8.844 kB / 0.7946 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.6706, allocations: 286.3 kB / 0.7949 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.6722, allocations: 1.277 MB / 0.7961 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008953/0.6731, allocations: 0.495 MB / 0.7966 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.6734, allocations: 164.7 kB / 0.7968 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.6734, allocations: 3.5 kB / 0.7968 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.6738, allocations: 216.8 kB / 0.797 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.6738, allocations: 0 / 0.797 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.0009378/0.6747, allocations: 486.7 kB / 0.7975 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.6748, allocations: 137.9 kB / 0.7976 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.6753, allocations: 0.5105 MB / 0.7981 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.6753, allocations: 38.42 kB / 0.7981 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.6755, allocations: 249.8 kB / 0.7984 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.6756, allocations: 104 kB / 0.7985 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/0.6757, allocations: 73.27 kB / 0.7985 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.6757, allocations: 360.2 kB / 0.7989 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.676, allocations: 127.4 kB / 0.799 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.6763, allocations: 212.4 kB / 0.7992 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.6768, allocations: 276.4 kB / 0.7995 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6768, allocations: 4 kB / 0.7995 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006441/0.6775, allocations: 381.4 kB / 0.7998 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.6775, allocations: 7.5 kB / 0.7998 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6775, allocations: 0 / 0.7998 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.6775, allocations: 2.719 kB / 0.7998 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.6778, allocations: 68.05 kB / 0.7999 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.6778, allocations: 10.06 kB / 0.7999 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.6781, allocations: 50.47 kB / 0.8 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.6781, allocations: 6.875 kB / 0.8 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003349/0.6784, allocations: 264.9 kB / 0.8002 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002639/0.6787, allocations: 202.3 kB / 0.8004 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003962/0.6791, allocations: 266.9 kB / 0.8007 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.6791, allocations: 0 / 0.8007 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000558/0.6797, allocations: 354.9 kB / 0.801 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.6797, allocations: 5.5 kB / 0.801 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.6797, allocations: 0 / 0.801 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.6797, allocations: 3.109 kB / 0.801 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.68, allocations: 64.38 kB / 0.8011 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.68, allocations: 2.672 kB / 0.8011 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.6802, allocations: 45.92 kB / 0.8011 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.6802, allocations: 19.31 kB / 0.8011 GB, free: 41.93 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.onOne.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.onTwo.combiTimeTable.nextTimeEvent,$whenCondition1,onTwo.combiTimeTable.nextTimeEventScaled,$PRE.onTwo.combiTimeTable.nextTimeEventScaled,onTwo.combiTimeTable.nextTimeEvent,onOne.combiTimeTable.nextTimeEventScaled,$PRE.onOne.combiTimeTable.nextTimeEventScaled,onOne.combiTimeTable.nextTimeEvent,chiBypCon.numChiOn.y,chiBypCon.intGreThr.y,chiBypCon.booToInt[2].y,chiBypCon.booToInt[1].y,chiBypCon.chiOn[2],chiBypCon.chiOn[1],$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.6804, allocations: 203.4 kB / 0.8013 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.6804, allocations: 46.28 kB / 0.8014 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.6805, allocations: 57.08 kB / 0.8014 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6806, allocations: 2.766 kB / 0.8014 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6806, allocations: 3.938 kB / 0.8014 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.175e-05/0.6806, allocations: 127.7 kB / 0.8016 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.6807, allocations: 11.38 kB / 0.8016 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.6809, allocations: 30.2 kB / 0.8016 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.681, allocations: 25.89 kB / 0.8016 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008109/0.6818, allocations: 445 kB / 0.8021 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001109/0.6829, allocations: 0.719 MB / 0.8028 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003077/0.6832, allocations: 156.2 kB / 0.8029 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004377/0.6837, allocations: 373.3 kB / 0.8033 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of Backend: time 3.11e-07/0.6837, allocations: 1.469 kB / 0.8033 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002071/0.6858, allocations: 0.7605 MB / 0.804 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001632/0.6874, allocations: 1.288 MB / 0.8053 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.01732/0.7048, allocations: 7.41 MB / 0.8125 GB, free: 39.17 MB / 0.6544 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)