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.0015/0.0015, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001771/0.001771, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 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.638/2.638, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8584, allocations: 151.7 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass): time 0.2949/1.153, allocations: 273.7 MB / 1.435 GB, free: 1.168 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.05856/1.212, allocations: 36.3 MB / 1.47 GB, free: 12.77 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.013/1.225, allocations: 163.1 kB / 1.47 GB, free: 12.61 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.013/1.238, allocations: 2.878 MB / 1.473 GB, free: 9.719 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01995/1.258, allocations: 6.167 MB / 1.479 GB, free: 3.539 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0126/1.271, allocations: 4.494 MB / 1.483 GB, free: 15.07 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.02389/1.295, allocations: 16.13 MB / 1.499 GB, free: 14.91 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01299/1.308, allocations: 6.042 MB / 1.505 GB, free: 8.758 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/1.321, allocations: 5.068 MB / 1.51 GB, free: 3.684 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008943/1.33, allocations: 4.027 MB / 1.514 GB, free: 15.64 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.003552/1.333, allocations: 0.7188 MB / 1.515 GB, free: 14.92 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/1.347, allocations: 4.526 MB / 1.519 GB, free: 10.39 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.004289/1.351, allocations: 1.858 MB / 1.521 GB, free: 8.527 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00915/1.36, allocations: 3.589 MB / 1.524 GB, free: 4.922 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02454/1.385, allocations: 12.62 MB / 1.537 GB, free: 8.266 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/1.385, allocations: 4 kB / 1.537 GB, free: 8.262 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.655e-06/1.385, allocations: 3.938 kB / 1.537 GB, free: 8.258 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0003845/1.385, allocations: 0 / 1.537 GB, free: 8.258 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.02403/1.409, allocations: 7.431 MB / 1.544 GB, free: 0.7148 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.409, allocations: 8.922 kB / 1.544 GB, free: 0.707 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008324/1.418, allocations: 1.35 MB / 1.545 GB, free: 15.35 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01671/1.435, allocations: 6.409 MB / 1.552 GB, free: 8.863 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/1.435, allocations: 279 kB / 1.552 GB, free: 8.59 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/1.437, allocations: 371.9 kB / 1.552 GB, free: 8.227 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/1.451, allocations: 4.948 MB / 1.557 GB, free: 3.152 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.064e-05/1.451, allocations: 0 / 1.557 GB, free: 3.152 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006399/1.452, allocations: 152 kB / 1.557 GB, free: 3.004 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/1.452, allocations: 134.7 kB / 1.557 GB, free: 2.871 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7699/2.222, allocations: 5.147 MB / 1.562 GB, free: 377.1 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.03276/2.254, allocations: 20.43 MB / 1.582 GB, free: 364.1 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006106/2.261, allocations: 3.852 MB / 1.586 GB, free: 362 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003362/2.264, allocations: 1.959 MB / 1.588 GB, free: 361 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0149/2.279, allocations: 9.922 MB / 1.598 GB, free: 352.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003505/2.282, allocations: 2.223 MB / 1.6 GB, free: 350.9 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002381/2.285, allocations: 369.2 kB / 1.6 GB, free: 350.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=265): time 9.678e-06/2.285, allocations: 0 / 1.6 GB, free: 350.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=265): time 0.02154/2.306, allocations: 9.004 MB / 1.609 GB, free: 341.5 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/2.307, allocations: 269.4 kB / 1.609 GB, free: 341.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007413/2.314, allocations: 5.443 MB / 1.615 GB, free: 335.8 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0009086/2.315, allocations: 92.52 kB / 1.615 GB, free: 335.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/2.317, allocations: 2.324 MB / 1.617 GB, free: 333.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/2.318, allocations: 0.8966 MB / 1.618 GB, free: 332.5 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/2.32, allocations: 0.8277 MB / 1.619 GB, free: 331.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/2.32, allocations: 301.1 kB / 1.619 GB, free: 331.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/2.325, allocations: 2.108 MB / 1.621 GB, free: 329.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007129/2.332, allocations: 3.186 MB / 1.624 GB, free: 325.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/2.344, allocations: 4.646 MB / 1.629 GB, free: 320.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-05/2.344, allocations: 4 kB / 1.629 GB, free: 320.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.02402/2.369, allocations: 6.777 MB / 1.635 GB, free: 314.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/2.369, allocations: 15.94 kB / 1.635 GB, free: 314.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/2.369, allocations: 16 kB / 1.635 GB, free: 314.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124/4.492, allocations: 339.2 MB / 1.966 GB, free: 6.496 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/4.496, allocations: 0.7567 MB / 1.967 GB, free: 5.738 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006971/4.503, allocations: 5.759 MB / 1.973 GB, free: 15.71 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005717/4.509, allocations: 357.6 kB / 1.973 GB, free: 15.36 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/4.51, allocations: 171.9 kB / 1.973 GB, free: 15.2 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007929/4.518, allocations: 3.435 MB / 1.977 GB, free: 11.75 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00559/4.524, allocations: 3.118 MB / 1.98 GB, free: 8.348 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008675/4.532, allocations: 4.54 MB / 1.984 GB, free: 3.555 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.68e-05/4.532, allocations: 4 kB / 1.984 GB, free: 3.551 MB / 1.326 GB Notification: Performance of matching and sorting (n=476) (initialization_lambda0): time 0.01729/4.55, allocations: 6.608 MB / 1.991 GB, free: 12.89 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/4.55, allocations: 12 kB / 1.991 GB, free: 12.88 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/4.55, allocations: 20.09 kB / 1.991 GB, free: 12.86 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867/7.416, allocations: 339.1 MB / 2.322 GB, free: 317.4 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/7.42, allocations: 0.744 MB / 2.323 GB, free: 316.7 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/7.426, allocations: 7.152 MB / 2.329 GB, free: 310 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005391/7.431, allocations: 376 kB / 2.33 GB, free: 309.7 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000843/7.432, allocations: 173.4 kB / 2.33 GB, free: 309.6 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.001425/7.434, allocations: 390.8 kB / 2.33 GB, free: 309.3 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/7.435, allocations: 0.4938 MB / 2.331 GB, free: 309.1 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/7.446, allocations: 5.464 MB / 2.336 GB, free: 303.8 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006743/7.453, allocations: 4.317 MB / 2.34 GB, free: 299.4 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/7.453, allocations: 0 / 2.34 GB, free: 299.4 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/7.456, allocations: 1.082 MB / 2.341 GB, free: 298.4 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/7.457, allocations: 63.98 kB / 2.342 GB, free: 298.4 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/7.46, allocations: 290.4 kB / 2.342 GB, free: 298.1 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003669/7.461, allocations: 210.1 kB / 2.342 GB, free: 297.9 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01114/7.472, allocations: 5.751 MB / 2.348 GB, free: 292.1 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01031/7.482, allocations: 7.025 MB / 2.354 GB, free: 285 MB / 1.436 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002699/7.485, allocations: 2.017 MB / 2.356 GB, free: 283 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.005065/7.49, allocations: 3.746 MB / 2.36 GB, free: 279.3 MB / 1.436 GB Notification: Performance of Backend: time 1.032e-06/7.49, allocations: 0 / 2.36 GB, free: 279.3 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.01641/7.506, allocations: 8.17 MB / 2.368 GB, free: 271.6 MB / 1.436 GB Notification: Performance of SimCode: time 0.01966/7.526, allocations: 12.17 MB / 2.38 GB, free: 259.5 MB / 1.436 GB Notification: Performance of Templates: time 0.1734/7.7, allocations: 136.7 MB / 2.514 GB, free: 123.9 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)