Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|tow.cooTowSpeCon.u_s|tow.cooTowSpeCon.u_m|onOffCon.reference|onOffCon.u|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TWetBul|TEnt.T|tow.TLvg|tow.cooTowSpeCon.u_s|tow.cooTowSpeCon.u_m|onOffCon.reference|onOffCon.u|tow.bypValCon.u_s|tow.bypValCon.u_m|tow.bypValCon.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 119.1 kB / 16.42 MB, free: 6.484 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.001782/0.001782, allocations: 183.9 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.197/2.197, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.14 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8915, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass): time 0.3031/1.195, allocations: 272.7 MB / 1.355 GB, free: 12.84 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.05237/1.247, allocations: 34.43 MB / 1.389 GB, free: 10.33 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006225/1.253, allocations: 163.1 kB / 1.389 GB, free: 10.17 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00637/1.26, allocations: 2.052 MB / 1.391 GB, free: 8.105 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01925/1.279, allocations: 6.01 MB / 1.397 GB, free: 2.082 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01085/1.29, allocations: 4.352 MB / 1.401 GB, free: 13.76 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01735/1.307, allocations: 13.17 MB / 1.414 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00918/1.316, allocations: 6.027 MB / 1.42 GB, free: 10.43 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01025/1.327, allocations: 5.051 MB / 1.425 GB, free: 5.367 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006386/1.333, allocations: 3.934 MB / 1.428 GB, free: 1.418 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002158/1.335, allocations: 0.707 MB / 1.429 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009646/1.345, allocations: 4.349 MB / 1.433 GB, free: 12.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002707/1.348, allocations: 1.714 MB / 1.435 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.006066/1.354, allocations: 3.395 MB / 1.438 GB, free: 7.227 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01912/1.373, allocations: 12 MB / 1.45 GB, free: 11.2 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.373, allocations: 4 kB / 1.45 GB, free: 11.19 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.734e-06/1.373, allocations: 0 / 1.45 GB, free: 11.19 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.000444/1.373, allocations: 0 / 1.45 GB, free: 11.19 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02057/1.394, allocations: 6.983 MB / 1.457 GB, free: 4.109 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.394, allocations: 8.031 kB / 1.457 GB, free: 4.102 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006438/1.401, allocations: 1.312 MB / 1.458 GB, free: 2.781 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/1.413, allocations: 5.366 MB / 1.463 GB, free: 13.33 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/1.413, allocations: 279 kB / 1.464 GB, free: 13.06 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/1.415, allocations: 364 kB / 1.464 GB, free: 12.7 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/1.427, allocations: 4.938 MB / 1.469 GB, free: 7.641 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001266/1.428, allocations: 7.938 kB / 1.469 GB, free: 7.633 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000841/1.428, allocations: 144 kB / 1.469 GB, free: 7.492 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/1.429, allocations: 130.7 kB / 1.469 GB, free: 7.363 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/1.44, allocations: 5.155 MB / 1.474 GB, free: 2.199 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03908/1.479, allocations: 19.87 MB / 1.494 GB, free: 13.46 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008493/1.488, allocations: 3.889 MB / 1.497 GB, free: 9.562 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004152/1.492, allocations: 1.976 MB / 1.499 GB, free: 7.578 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02008/1.512, allocations: 9.857 MB / 1.509 GB, free: 12.91 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004879/1.517, allocations: 2.253 MB / 1.511 GB, free: 10.61 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00252/1.52, allocations: 365.3 kB / 1.511 GB, free: 10.25 MB / 1.248 GB Notification: Performance of pre-optimization done (n=267): time 1.18e-05/1.52, allocations: 0 / 1.511 GB, free: 10.25 MB / 1.248 GB Notification: Performance of matching and sorting (n=267): time 0.0249/1.545, allocations: 8.856 MB / 1.52 GB, free: 1.242 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.545, allocations: 261.4 kB / 1.52 GB, free: 0.9297 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009197/1.554, allocations: 4.854 MB / 1.525 GB, free: 12.07 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007251/1.555, allocations: 81.7 kB / 1.525 GB, free: 11.99 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002504/1.557, allocations: 2.198 MB / 1.527 GB, free: 9.766 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.559, allocations: 0.9011 MB / 1.528 GB, free: 8.852 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001869/1.56, allocations: 0.7179 MB / 1.529 GB, free: 8.125 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/1.56, allocations: 309.1 kB / 1.529 GB, free: 7.82 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/1.565, allocations: 1.937 MB / 1.531 GB, free: 5.875 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006184/1.571, allocations: 2.96 MB / 1.534 GB, free: 2.629 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009174/1.58, allocations: 4.342 MB / 1.538 GB, free: 14.05 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/1.58, allocations: 8 kB / 1.538 GB, free: 14.04 MB / 1.279 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01405/1.594, allocations: 5.815 MB / 1.544 GB, free: 8.168 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.594, allocations: 15.98 kB / 1.544 GB, free: 8.152 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/1.594, allocations: 16 kB / 1.544 GB, free: 8.137 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226/4.821, allocations: 339.2 MB / 1.875 GB, free: 193.6 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/4.824, allocations: 0.7148 MB / 1.876 GB, free: 192.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005898/4.83, allocations: 5.755 MB / 1.881 GB, free: 187.6 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005097/4.835, allocations: 345.4 kB / 1.882 GB, free: 187.3 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000907/4.836, allocations: 158.8 kB / 1.882 GB, free: 187.1 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006479/4.843, allocations: 3.152 MB / 1.885 GB, free: 184.3 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004423/4.847, allocations: 2.881 MB / 1.888 GB, free: 181.1 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007111/4.854, allocations: 4.192 MB / 1.892 GB, free: 176.7 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.053e-05/4.854, allocations: 4 kB / 1.892 GB, free: 176.7 MB / 1.311 GB Notification: Performance of matching and sorting (n=411) (initialization_lambda0): time 0.01249/4.867, allocations: 5.608 MB / 1.897 GB, free: 171.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/4.867, allocations: 16 kB / 1.897 GB, free: 171.2 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/4.867, allocations: 19.66 kB / 1.897 GB, free: 171.2 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068/7.935, allocations: 339.1 MB / 2.229 GB, free: 379.2 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/7.938, allocations: 0.6994 MB / 2.229 GB, free: 378.6 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006601/7.945, allocations: 7.146 MB / 2.236 GB, free: 371.9 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/7.95, allocations: 367.2 kB / 2.237 GB, free: 371.6 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008792/7.951, allocations: 162.3 kB / 2.237 GB, free: 371.5 MB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 23 (tow.cooTowSpeCon.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,onOffCon.y,$PRE.onOffCon.y,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,tow.hys.y,$PRE.tow.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (387): * Single equations (assignments): 380 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,6), (1,6), (1,1), (1,1), (3,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001205/7.952, allocations: 380.4 kB / 2.237 GB, free: 371.2 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/7.954, allocations: 472.7 kB / 2.238 GB, free: 371 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/7.964, allocations: 5.482 MB / 2.243 GB, free: 365.6 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007218/7.972, allocations: 4.342 MB / 2.247 GB, free: 361.2 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/7.972, allocations: 4 kB / 2.247 GB, free: 361.2 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002883/7.975, allocations: 1.034 MB / 2.248 GB, free: 360.4 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/7.976, allocations: 60 kB / 2.248 GB, free: 360.3 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003613/7.98, allocations: 281 kB / 2.248 GB, free: 360 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004902/7.98, allocations: 214.1 kB / 2.249 GB, free: 359.8 MB / 1.342 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01348/7.994, allocations: 5.783 MB / 2.254 GB, free: 354.1 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01234/8.006, allocations: 7.041 MB / 2.261 GB, free: 347 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003243/8.009, allocations: 2.035 MB / 2.263 GB, free: 345 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.006635/8.016, allocations: 3.358 MB / 2.266 GB, free: 341.6 MB / 1.342 GB Notification: Performance of Backend: time 1.012e-06/8.016, allocations: 0 / 2.266 GB, free: 341.6 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.02202/8.038, allocations: 7.543 MB / 2.274 GB, free: 334.6 MB / 1.342 GB Notification: Performance of SimCode: time 0.02494/8.063, allocations: 11.36 MB / 2.285 GB, free: 323.3 MB / 1.342 GB Notification: Performance of Templates: time 0.18/8.243, allocations: 128.4 MB / 2.41 GB, free: 196 MB / 1.342 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.sim & ./Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe 2>&1)