Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001396/0.001397, allocations: 99.78 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.001704/0.001704, allocations: 177.3 kB / 15.95 MB, free: 216 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.785/1.785, 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 7.0.3-maint.7.0.x/package.mo): time 1.685/1.685, allocations: 251.9 MB / 0.51 GB, free: 4.871 MB / 414.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.0005376/0.0005377, allocations: 16 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.537, allocations: 106.3 MB / 0.728 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.7337/1.271, allocations: 198.4 MB / 0.9218 GB, free: 17.72 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03542/1.306, allocations: 23.32 MB / 0.9445 GB, free: 17.47 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005244/1.312, allocations: 79.03 kB / 0.9446 GB, free: 17.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00519/1.317, allocations: 1.118 MB / 0.9457 GB, free: 17.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01875/1.336, allocations: 3.572 MB / 0.9492 GB, free: 17.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01319/1.349, allocations: 3.494 MB / 0.9526 GB, free: 17.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009352/1.358, allocations: 4.108 MB / 0.9566 GB, free: 17.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004103/1.362, allocations: 2.239 MB / 0.9588 GB, free: 17.04 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004599/1.367, allocations: 1.744 MB / 0.9605 GB, free: 17.04 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/1.37, allocations: 1.348 MB / 0.9618 GB, free: 17.03 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004281/1.37, allocations: 102.1 kB / 0.9619 GB, free: 17.03 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00721/1.377, allocations: 2.234 MB / 0.9641 GB, free: 17.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009836/1.378, allocations: 0.6297 MB / 0.9647 GB, free: 17.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/1.38, allocations: 0.6261 MB / 0.9653 GB, free: 16.99 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008948/1.389, allocations: 4.362 MB / 0.9696 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.389, allocations: 0 / 0.9696 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.225e-06/1.389, allocations: 0 / 0.9696 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001564/1.389, allocations: 0 / 0.9696 GB, free: 15.59 MB / 0.7169 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.009411/1.399, allocations: 3.476 MB / 0.973 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.399, allocations: 9.688 kB / 0.973 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/1.402, allocations: 0.628 MB / 0.9736 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005582/1.408, allocations: 2.529 MB / 0.9761 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.408, allocations: 175.5 kB / 0.9762 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/1.408, allocations: 223.5 kB / 0.9764 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/1.412, allocations: 2.438 MB / 0.9788 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-05/1.412, allocations: 2.625 kB / 0.9788 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/1.413, allocations: 91.98 kB / 0.9789 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-05/1.413, allocations: 61.03 kB / 0.979 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/1.417, allocations: 2.362 MB / 0.9813 GB, free: 10.73 MB / 0.7169 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.01294/1.43, allocations: 9.733 MB / 0.9908 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/1.433, allocations: 1.772 MB / 0.9925 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007492/1.44, allocations: 5.798 MB / 0.9982 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/1.442, allocations: 0.9391 MB / 0.9991 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009442/1.443, allocations: 165.2 kB / 0.9993 GB, free: 484 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=157): time 3.627e-06/1.443, allocations: 0 / 0.9993 GB, free: 484 kB / 0.7169 GB Notification: Performance of matching and sorting (n=157): time 0.008841/1.452, allocations: 3.003 MB / 1.002 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/1.452, allocations: 303.9 kB / 1.002 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/1.455, allocations: 2.584 MB / 1.005 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002447/1.456, allocations: 62.55 kB / 1.005 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.457, allocations: 1.313 MB / 1.006 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006464/1.458, allocations: 0.5306 MB / 1.007 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/1.458, allocations: 38.53 kB / 1.007 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.458, allocations: 375.8 kB / 1.007 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/1.46, allocations: 0.6912 MB / 1.008 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/1.462, allocations: 1.272 MB / 1.009 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/1.463, allocations: 0.8448 MB / 1.01 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/1.463, allocations: 3.703 kB / 1.01 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005775/1.469, allocations: 2.374 MB / 1.012 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001806/1.471, allocations: 4.446 MB / 1.017 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/1.471, allocations: 15.95 kB / 1.017 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136/2.607, allocations: 193.6 MB / 1.206 GB, free: 5.156 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/2.609, allocations: 434.9 kB / 1.206 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/2.613, allocations: 2.835 MB / 1.209 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/2.616, allocations: 203.8 kB / 1.209 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003987/2.616, allocations: 91.91 kB / 1.209 GB, free: 1.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/2.616, allocations: 4 kB / 1.209 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004707/2.621, allocations: 2.018 MB / 1.211 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/2.621, allocations: 12.06 kB / 1.211 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557/4.178, allocations: 193.6 MB / 1.4 GB, free: 327.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/4.18, allocations: 417.5 kB / 1.401 GB, free: 327.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/4.183, allocations: 2.834 MB / 1.403 GB, free: 324.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/4.185, allocations: 178.8 kB / 1.404 GB, free: 324.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003661/4.186, allocations: 90.58 kB / 1.404 GB, free: 324.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y,conFan.I.trigger_internal) * 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.001574/4.187, allocations: 0.688 MB / 1.404 GB, free: 323.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007123/4.188, allocations: 277 kB / 1.405 GB, free: 323.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00537/4.193, allocations: 2.351 MB / 1.407 GB, free: 322 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/4.193, allocations: 16 kB / 1.407 GB, free: 321.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/4.193, allocations: 0 / 1.407 GB, free: 321.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003456/4.197, allocations: 1.936 MB / 1.409 GB, free: 320 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/4.208, allocations: 4.63 MB / 1.413 GB, free: 315.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/4.208, allocations: 7.953 kB / 1.413 GB, free: 315.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/4.209, allocations: 316.1 kB / 1.414 GB, free: 315.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5343/4.743, allocations: 96.92 MB / 1.508 GB, free: 218.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004522/4.744, allocations: 51.95 kB / 1.508 GB, free: 218 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/4.746, allocations: 2.3 MB / 1.511 GB, free: 215.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/4.746, allocations: 0 / 1.511 GB, free: 215.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/4.753, allocations: 3.171 MB / 1.514 GB, free: 212.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/4.754, allocations: 0.6008 MB / 1.514 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/4.755, allocations: 36 kB / 1.514 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/4.756, allocations: 183.7 kB / 1.515 GB, free: 211.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/4.757, allocations: 125.8 kB / 1.515 GB, free: 211.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/4.757, allocations: 71.94 kB / 1.515 GB, free: 211.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002429/4.759, allocations: 1.763 MB / 1.516 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.61e-07/4.759, allocations: 4 kB / 1.516 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005001/4.764, allocations: 1.664 MB / 1.518 GB, free: 208.1 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.003096/4.767, allocations: 1.266 MB / 1.519 GB, free: 207.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005804/4.773, allocations: 3.134 MB / 1.522 GB, free: 204.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/4.773, allocations: 5.625 kB / 1.522 GB, free: 204.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/4.775, allocations: 1.034 MB / 1.523 GB, free: 203.1 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006011/4.781, allocations: 1.206 MB / 1.525 GB, free: 201.9 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/4.793, allocations: 6.251 MB / 1.531 GB, free: 195.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/4.795, allocations: 1.896 MB / 1.532 GB, free: 193.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00435/4.8, allocations: 0.7932 MB / 1.533 GB, free: 192.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/4.801, allocations: 267.2 kB / 1.534 GB, free: 192.6 MB / 0.9825 GB Notification: Performance of SimCode: time 8.51e-07/4.801, allocations: 0 / 1.534 GB, free: 192.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.08802/4.889, allocations: 58.09 MB / 1.59 GB, free: 135.3 MB / 0.9825 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1) Environment - environmentSimulation: