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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001652, allocations: 177.8 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009136/0.0009136, allocations: 100.9 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004008, allocations: 17.19 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2261, allocations: 106.3 MB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.7087/0.9349, allocations: 198.4 MB / 1.094 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03352/0.9684, allocations: 23.31 MB / 1.117 GB, free: 13.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004613/0.9731, allocations: 81.5 kB / 1.117 GB, free: 13.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004466/0.9776, allocations: 1.112 MB / 1.118 GB, free: 13.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01237/0.99, allocations: 3.585 MB / 1.121 GB, free: 13.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01124/1.001, allocations: 3.476 MB / 1.125 GB, free: 13.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008381/1.01, allocations: 4.112 MB / 1.129 GB, free: 12.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003909/1.014, allocations: 2.236 MB / 1.131 GB, free: 12.24 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005002/1.019, allocations: 1.741 MB / 1.133 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/1.022, allocations: 1.355 MB / 1.134 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007426/1.023, allocations: 103.1 kB / 1.134 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006585/1.03, allocations: 2.24 MB / 1.136 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001147/1.031, allocations: 0.6268 MB / 1.137 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/1.032, allocations: 0.6353 MB / 1.138 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00676/1.039, allocations: 4.357 MB / 1.142 GB, free: 7.957 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/1.039, allocations: 3.875 kB / 1.142 GB, free: 7.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.039, allocations: 0 / 1.142 GB, free: 7.957 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001215/1.039, allocations: 0 / 1.142 GB, free: 7.957 MB / 0.698 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.006736/1.046, allocations: 3.468 MB / 1.145 GB, free: 5.746 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.046, allocations: 9.469 kB / 1.145 GB, free: 5.746 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005539/1.047, allocations: 307.4 kB / 1.145 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/1.049, allocations: 0.6218 MB / 1.146 GB, free: 5.363 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/1.054, allocations: 2.534 MB / 1.149 GB, free: 4.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.054, allocations: 179.7 kB / 1.149 GB, free: 4.258 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/1.054, allocations: 221.1 kB / 1.149 GB, free: 4.258 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/1.058, allocations: 2.439 MB / 1.151 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/1.058, allocations: 9.672 kB / 1.151 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/1.059, allocations: 92.09 kB / 1.151 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/1.059, allocations: 65.05 kB / 1.151 GB, free: 3.383 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003961/1.063, allocations: 2.358 MB / 1.154 GB, free: 2.875 MB / 0.698 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.01379/1.076, allocations: 9.727 MB / 1.163 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/1.08, allocations: 1.772 MB / 1.165 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008289/1.088, allocations: 5.8 MB / 1.171 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001711/1.09, allocations: 0.9395 MB / 1.172 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001049/1.091, allocations: 165.3 kB / 1.172 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 3.707e-06/1.091, allocations: 0 / 1.172 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=157): time 0.008774/1.1, allocations: 3.01 MB / 1.175 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.1, allocations: 299.5 kB / 1.175 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/1.104, allocations: 2.587 MB / 1.177 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000343/1.104, allocations: 61.62 kB / 1.178 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.105, allocations: 1.318 MB / 1.179 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005882/1.106, allocations: 0.5301 MB / 1.179 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/1.106, allocations: 37 kB / 1.179 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.106, allocations: 373.3 kB / 1.18 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/1.107, allocations: 0.6854 MB / 1.18 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/1.109, allocations: 1.27 MB / 1.182 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/1.111, allocations: 0.8424 MB / 1.182 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/1.111, allocations: 7.953 kB / 1.182 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005616/1.117, allocations: 2.368 MB / 1.185 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001555/1.118, allocations: 4.452 MB / 1.189 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/1.118, allocations: 15.98 kB / 1.189 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225/2.343, allocations: 193.6 MB / 1.378 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/2.345, allocations: 438.5 kB / 1.379 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/2.349, allocations: 2.832 MB / 1.381 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/2.352, allocations: 203.4 kB / 1.382 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/2.352, allocations: 91.02 kB / 1.382 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/2.352, allocations: 6.5 kB / 1.382 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004317/2.356, allocations: 2.025 MB / 1.384 GB, free: 4.609 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/2.356, allocations: 12 kB / 1.384 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612/3.969, allocations: 193.6 MB / 1.573 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/3.971, allocations: 408.3 kB / 1.573 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/3.974, allocations: 2.833 MB / 1.576 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/3.977, allocations: 191.7 kB / 1.576 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004852/3.977, allocations: 87.59 kB / 1.576 GB, free: 228.2 MB / 0.9323 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.001897/3.979, allocations: 0.683 MB / 1.577 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007928/3.98, allocations: 277.1 kB / 1.577 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005174/3.985, allocations: 2.346 MB / 1.579 GB, free: 226 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/3.985, allocations: 18.25 kB / 1.579 GB, free: 226 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/3.985, allocations: 8 kB / 1.579 GB, free: 226 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003439/3.989, allocations: 1.936 MB / 1.581 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008607/3.997, allocations: 4.622 MB / 1.586 GB, free: 221.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/3.997, allocations: 4.125 kB / 1.586 GB, free: 221.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/3.999, allocations: 323.1 kB / 1.586 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5712/4.57, allocations: 96.92 MB / 1.681 GB, free: 124 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004176/4.57, allocations: 48.09 kB / 1.681 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/4.573, allocations: 2.292 MB / 1.683 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/4.573, allocations: 5.453 kB / 1.683 GB, free: 121.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006224/4.579, allocations: 3.172 MB / 1.686 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/4.58, allocations: 0.5964 MB / 1.687 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/4.581, allocations: 41.05 kB / 1.687 GB, free: 119 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/4.582, allocations: 184.1 kB / 1.687 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/4.583, allocations: 125.1 kB / 1.687 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/4.583, allocations: 74.34 kB / 1.687 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002304/4.585, allocations: 1.768 MB / 1.689 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.61e-07/4.585, allocations: 4 kB / 1.689 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004299/4.589, allocations: 1.668 MB / 1.691 GB, free: 115.9 MB / 0.9323 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.00841/4.598, allocations: 5.121 MB / 1.696 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006281/4.604, allocations: 3.143 MB / 1.699 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/4.604, allocations: 4 kB / 1.699 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/4.606, allocations: 1.027 MB / 1.7 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005413/4.611, allocations: 1.206 MB / 1.701 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/4.626, allocations: 15.6 MB / 1.716 GB, free: 89.49 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/4.627, allocations: 1.898 MB / 1.718 GB, free: 87.56 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003776/4.631, allocations: 0.7989 MB / 1.719 GB, free: 86.76 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/4.633, allocations: 1.245 MB / 1.72 GB, free: 85.51 MB / 0.9323 GB Notification: Performance of SimCode: time 2.274e-06/4.633, allocations: 0 / 1.72 GB, free: 85.51 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/4.755, allocations: 82.23 MB / 1.8 GB, free: 3.863 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/4.755, allocations: 278.3 kB / 1.8 GB, free: 3.504 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.218/9.973, allocations: 4 kB / 1.8 GB, free: 3.5 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel_fmu --startTime=1.5552e+07 --stopTime=1.57248e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)