Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001506/0.001506, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.607/1.607, allocations: 292.5 MB / 0.5497 GB, free: 14.66 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.0005443/0.0005445, allocations: 18.78 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.203, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.6169/0.8199, allocations: 198.3 MB / 0.9808 GB, free: 16.86 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0307/0.8507, allocations: 23.28 MB / 1.003 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005761/0.8565, allocations: 82.06 kB / 1.004 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005098/0.8616, allocations: 1.117 MB / 1.005 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.8728, allocations: 3.569 MB / 1.008 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.8828, allocations: 3.554 MB / 1.012 GB, free: 48 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008648/0.8915, allocations: 4.104 MB / 1.016 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004342/0.8959, allocations: 2.244 MB / 1.018 GB, free: 12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.8999, allocations: 1.747 MB / 1.02 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002989/0.903, allocations: 1.354 MB / 1.021 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008741/0.9039, allocations: 107.5 kB / 1.021 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006658/0.9105, allocations: 2.232 MB / 1.023 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.9121, allocations: 0.6302 MB / 1.024 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.914, allocations: 0.6328 MB / 1.024 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008542/0.9226, allocations: 4.373 MB / 1.029 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.9226, allocations: 0 / 1.029 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9226, allocations: 0 / 1.029 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002587/0.9229, allocations: 0 / 1.029 GB, free: 5.309 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.009827/0.9327, allocations: 3.468 MB / 1.032 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.9328, allocations: 7.594 kB / 1.032 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.9365, allocations: 0.6266 MB / 1.033 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006547/0.943, allocations: 2.527 MB / 1.035 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.9433, allocations: 180.1 kB / 1.035 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007409/0.944, allocations: 231.9 kB / 1.036 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/0.9507, allocations: 2.436 MB / 1.038 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-05/0.9508, allocations: 4 kB / 1.038 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00041/0.9512, allocations: 88 kB / 1.038 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/0.9513, allocations: 61.88 kB / 1.038 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005456/0.9567, allocations: 2.362 MB / 1.04 GB, free: 10.38 MB / 0.7481 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.01943/0.9762, allocations: 9.59 MB / 1.05 GB, free: 440 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003651/0.9799, allocations: 1.768 MB / 1.051 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009436/0.9893, allocations: 5.825 MB / 1.057 GB, free: 8.227 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001987/0.9914, allocations: 0.9465 MB / 1.058 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001286/0.9927, allocations: 166.2 kB / 1.058 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=157): time 1.185e-05/0.9927, allocations: 0 / 1.058 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of matching and sorting (n=157): time 0.009739/1.002, allocations: 2.996 MB / 1.061 GB, free: 4.055 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/1.003, allocations: 300 kB / 1.061 GB, free: 3.695 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005229/1.008, allocations: 2.573 MB / 1.064 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000363/1.008, allocations: 65.69 kB / 1.064 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/1.01, allocations: 1.307 MB / 1.065 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006712/1.01, allocations: 0.5276 MB / 1.066 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/1.011, allocations: 36 kB / 1.066 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.011, allocations: 377.9 kB / 1.066 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/1.013, allocations: 0.691 MB / 1.067 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/1.015, allocations: 1.281 MB / 1.068 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/1.017, allocations: 0.8414 MB / 1.069 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/1.017, allocations: 4 kB / 1.069 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005781/1.022, allocations: 2.371 MB / 1.071 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001894/1.024, allocations: 4.531 MB / 1.076 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/1.024, allocations: 16 kB / 1.076 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127/2.152, allocations: 193.6 MB / 1.265 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/2.154, allocations: 447.2 kB / 1.265 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/2.157, allocations: 2.832 MB / 1.268 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/2.16, allocations: 204.3 kB / 1.268 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004016/2.161, allocations: 95.95 kB / 1.268 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/2.161, allocations: 4 kB / 1.268 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004958/2.166, allocations: 2.017 MB / 1.27 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/2.166, allocations: 15.98 kB / 1.27 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428/3.594, allocations: 193.6 MB / 1.459 GB, free: 229.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/3.596, allocations: 420 kB / 1.46 GB, free: 228.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/3.598, allocations: 2.829 MB / 1.462 GB, free: 226.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/3.601, allocations: 175.6 kB / 1.463 GB, free: 226 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/3.601, allocations: 97.55 kB / 1.463 GB, free: 226 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 9 (conFan.con1.y,$whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 222 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001353/3.602, allocations: 0.6917 MB / 1.463 GB, free: 225.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004987/3.603, allocations: 276.3 kB / 1.464 GB, free: 225.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004779/3.608, allocations: 2.34 MB / 1.466 GB, free: 223.8 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/3.608, allocations: 16 kB / 1.466 GB, free: 223.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/3.608, allocations: 0 / 1.466 GB, free: 223.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003212/3.611, allocations: 1.938 MB / 1.468 GB, free: 222.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006986/3.618, allocations: 4.622 MB / 1.472 GB, free: 217.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/3.618, allocations: 12.11 kB / 1.472 GB, free: 217.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/3.619, allocations: 315.6 kB / 1.473 GB, free: 217.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5156/4.135, allocations: 96.92 MB / 1.567 GB, free: 120.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003343/4.135, allocations: 47.97 kB / 1.567 GB, free: 120.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/4.137, allocations: 2.306 MB / 1.57 GB, free: 118 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/4.137, allocations: 4.031 kB / 1.57 GB, free: 118 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/4.142, allocations: 3.173 MB / 1.573 GB, free: 114.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/4.144, allocations: 0.6025 MB / 1.573 GB, free: 114.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/4.144, allocations: 36 kB / 1.573 GB, free: 114.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/4.146, allocations: 192.7 kB / 1.574 GB, free: 114 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/4.146, allocations: 118 kB / 1.574 GB, free: 113.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/4.146, allocations: 83.95 kB / 1.574 GB, free: 113.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002241/4.148, allocations: 1.755 MB / 1.575 GB, free: 112.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/4.148, allocations: 0 / 1.575 GB, free: 112.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004151/4.152, allocations: 1.672 MB / 1.577 GB, free: 110.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U,conFan.I.y) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00235/4.155, allocations: 1.252 MB / 1.578 GB, free: 109.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005289/4.16, allocations: 3.141 MB / 1.581 GB, free: 106.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/4.16, allocations: 4 kB / 1.581 GB, free: 106.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/4.162, allocations: 1.03 MB / 1.582 GB, free: 105.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/4.167, allocations: 1.198 MB / 1.584 GB, free: 104.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008643/4.176, allocations: 6.234 MB / 1.59 GB, free: 98.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/4.177, allocations: 1.891 MB / 1.591 GB, free: 96.13 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003017/4.18, allocations: 0.7983 MB / 1.592 GB, free: 95.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005635/4.18, allocations: 259.3 kB / 1.592 GB, free: 95.07 MB / 0.9825 GB Notification: Performance of SimCode: time 1.102e-06/4.18, allocations: 0 / 1.592 GB, free: 95.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.07774/4.258, allocations: 58.05 MB / 1.649 GB, free: 37.73 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1) Environment - environmentSimulation: