Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001472/0.001472, allocations: 107 kB / 16.41 MB, free: 6.461 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.001687/0.001687, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.12 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.891, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass): time 0.3125/1.204, allocations: 273.7 MB / 1.435 GB, free: 1.152 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0594/1.263, allocations: 36.3 MB / 1.47 GB, free: 12.75 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008673/1.272, allocations: 159.1 kB / 1.47 GB, free: 12.59 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.009552/1.281, allocations: 2.878 MB / 1.473 GB, free: 9.703 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02001/1.301, allocations: 6.165 MB / 1.479 GB, free: 3.527 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01326/1.315, allocations: 4.486 MB / 1.483 GB, free: 15.07 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.02415/1.339, allocations: 16.14 MB / 1.499 GB, free: 14.9 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/1.35, allocations: 6.041 MB / 1.505 GB, free: 8.754 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/1.363, allocations: 5.067 MB / 1.51 GB, free: 3.684 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008987/1.372, allocations: 4.035 MB / 1.514 GB, free: 15.63 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.003187/1.375, allocations: 0.7148 MB / 1.515 GB, free: 14.92 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/1.387, allocations: 4.526 MB / 1.519 GB, free: 10.39 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.003484/1.391, allocations: 1.858 MB / 1.521 GB, free: 8.523 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.008439/1.399, allocations: 3.593 MB / 1.524 GB, free: 4.914 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02391/1.423, allocations: 12.66 MB / 1.537 GB, free: 8.211 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.423, allocations: 4 kB / 1.537 GB, free: 8.207 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.164e-06/1.423, allocations: 4 kB / 1.537 GB, free: 8.203 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.000371/1.424, allocations: 0 / 1.537 GB, free: 8.203 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.02224/1.446, allocations: 7.65 MB / 1.544 GB, free: 444 kB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.446, allocations: 8.922 kB / 1.544 GB, free: 436 kB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008001/1.454, allocations: 1.374 MB / 1.546 GB, free: 15.05 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/1.471, allocations: 6.461 MB / 1.552 GB, free: 8.52 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/1.471, allocations: 283 kB / 1.552 GB, free: 8.242 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/1.473, allocations: 379.9 kB / 1.553 GB, free: 7.871 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/1.489, allocations: 4.936 MB / 1.557 GB, free: 2.809 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001842/1.49, allocations: 0 / 1.557 GB, free: 2.809 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/1.491, allocations: 152 kB / 1.557 GB, free: 2.66 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001948/1.491, allocations: 134.7 kB / 1.558 GB, free: 2.527 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7929/2.284, allocations: 5.141 MB / 1.563 GB, free: 376.9 MB / 1.279 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.03252/2.317, allocations: 20.47 MB / 1.583 GB, free: 363.8 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006289/2.323, allocations: 3.845 MB / 1.586 GB, free: 361.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003111/2.326, allocations: 1.967 MB / 1.588 GB, free: 360.7 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/2.341, allocations: 9.931 MB / 1.598 GB, free: 352.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003509/2.345, allocations: 2.217 MB / 1.6 GB, free: 350.4 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0027/2.347, allocations: 377.7 kB / 1.601 GB, free: 350.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=265): time 1.359e-05/2.347, allocations: 3.406 kB / 1.601 GB, free: 350.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=265): time 0.02204/2.369, allocations: 9.029 MB / 1.609 GB, free: 341 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/2.37, allocations: 265.4 kB / 1.61 GB, free: 340.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008143/2.378, allocations: 5.448 MB / 1.615 GB, free: 335.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/2.379, allocations: 89.69 kB / 1.615 GB, free: 335.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001963/2.381, allocations: 2.358 MB / 1.617 GB, free: 333 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001182/2.382, allocations: 0.9483 MB / 1.618 GB, free: 332.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/2.383, allocations: 0.8351 MB / 1.619 GB, free: 331.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.613e-05/2.383, allocations: 301.1 kB / 1.619 GB, free: 331 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/2.387, allocations: 2.105 MB / 1.621 GB, free: 328.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004031/2.391, allocations: 3.186 MB / 1.625 GB, free: 325.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006955/2.398, allocations: 4.647 MB / 1.629 GB, free: 320.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/2.398, allocations: 4 kB / 1.629 GB, free: 320.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01377/2.411, allocations: 6.802 MB / 1.636 GB, free: 313.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/2.412, allocations: 13 kB / 1.636 GB, free: 313.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/2.412, allocations: 16 kB / 1.636 GB, free: 313.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034/4.445, allocations: 339.2 MB / 1.967 GB, free: 6.129 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/4.45, allocations: 0.7643 MB / 1.968 GB, free: 5.367 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007172/4.457, allocations: 5.752 MB / 1.973 GB, free: 15.35 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/4.463, allocations: 356.3 kB / 1.974 GB, free: 15.01 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/4.464, allocations: 175.9 kB / 1.974 GB, free: 14.84 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00892/4.473, allocations: 3.435 MB / 1.977 GB, free: 11.39 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006241/4.479, allocations: 3.116 MB / 1.98 GB, free: 7.988 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01069/4.49, allocations: 4.54 MB / 1.985 GB, free: 3.195 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-05/4.49, allocations: 4 kB / 1.985 GB, free: 3.191 MB / 1.326 GB Notification: Performance of matching and sorting (n=476) (initialization_lambda0): time 0.02104/4.511, allocations: 6.634 MB / 1.991 GB, free: 12.5 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/4.511, allocations: 12 kB / 1.991 GB, free: 12.49 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/4.511, allocations: 16 kB / 1.991 GB, free: 12.47 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896/7.407, allocations: 339.1 MB / 2.322 GB, free: 316.9 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/7.411, allocations: 0.7435 MB / 2.323 GB, free: 316.2 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/7.418, allocations: 7.147 MB / 2.33 GB, free: 309.5 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005465/7.423, allocations: 386.5 kB / 2.33 GB, free: 309.2 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007806/7.424, allocations: 166.5 kB / 2.331 GB, free: 309.1 MB / 1.436 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (420): * Single equations (assignments): 412 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0009695/7.425, allocations: 396.9 kB / 2.331 GB, free: 308.8 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001596/7.427, allocations: 0.5271 MB / 2.331 GB, free: 308.5 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/7.437, allocations: 5.46 MB / 2.337 GB, free: 303.3 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007499/7.445, allocations: 4.312 MB / 2.341 GB, free: 298.9 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/7.445, allocations: 8 kB / 2.341 GB, free: 298.9 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002999/7.448, allocations: 1.107 MB / 2.342 GB, free: 297.9 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/7.449, allocations: 66.09 kB / 2.342 GB, free: 297.8 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/7.452, allocations: 283.6 kB / 2.342 GB, free: 297.5 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/7.453, allocations: 206.1 kB / 2.343 GB, free: 297.3 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01228/7.465, allocations: 5.761 MB / 2.348 GB, free: 291.6 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01122/7.476, allocations: 7.049 MB / 2.355 GB, free: 284.5 MB / 1.436 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002989/7.479, allocations: 2.014 MB / 2.357 GB, free: 282.4 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.006393/7.486, allocations: 3.75 MB / 2.361 GB, free: 278.7 MB / 1.436 GB Notification: Performance of Backend: time 7.72e-07/7.486, allocations: 0 / 2.361 GB, free: 278.7 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.01797/7.504, allocations: 8.176 MB / 2.369 GB, free: 271.1 MB / 1.436 GB Notification: Performance of SimCode: time 0.02219/7.526, allocations: 12.36 MB / 2.381 GB, free: 258.8 MB / 1.436 GB Notification: Performance of Templates: time 0.2709/7.797, allocations: 136.7 MB / 2.514 GB, free: 123.1 MB / 1.436 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.pipe 2>&1)