Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 288.2 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001228, allocations: 178.1 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008672, allocations: 101 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006165/0.0006166, allocations: 17.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2738, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.707/0.9808, allocations: 198.3 MB / 1.173 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04054/1.021, allocations: 23.28 MB / 1.196 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004213/1.026, allocations: 78.31 kB / 1.196 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004784/1.03, allocations: 1.117 MB / 1.197 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.013/1.044, allocations: 3.561 MB / 1.201 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01259/1.056, allocations: 3.555 MB / 1.204 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01075/1.067, allocations: 4.105 MB / 1.208 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005754/1.073, allocations: 2.25 MB / 1.21 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005393/1.078, allocations: 1.743 MB / 1.212 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0039/1.082, allocations: 1.353 MB / 1.213 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001176/1.083, allocations: 104 kB / 1.213 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008298/1.092, allocations: 2.235 MB / 1.215 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/1.093, allocations: 0.6303 MB / 1.216 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002074/1.095, allocations: 0.6327 MB / 1.217 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008275/1.104, allocations: 4.376 MB / 1.221 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.104, allocations: 0 / 1.221 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.184e-06/1.104, allocations: 0 / 1.221 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001945/1.104, allocations: 0 / 1.221 GB, free: 5.84 MB / 0.7448 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.008429/1.112, allocations: 3.47 MB / 1.224 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.112, allocations: 8.031 kB / 1.224 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008957/1.113, allocations: 308 kB / 1.225 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003188/1.117, allocations: 0.6203 MB / 1.225 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005691/1.122, allocations: 2.532 MB / 1.228 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/1.123, allocations: 172.3 kB / 1.228 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005366/1.123, allocations: 227.8 kB / 1.228 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004594/1.128, allocations: 2.442 MB / 1.231 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/1.128, allocations: 11.88 kB / 1.231 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/1.128, allocations: 92 kB / 1.231 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/1.128, allocations: 59.97 kB / 1.231 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004276/1.132, allocations: 2.362 MB / 1.233 GB, free: 9.219 MB / 0.7605 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.01408/1.146, allocations: 9.58 MB / 1.242 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/1.15, allocations: 1.775 MB / 1.244 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008164/1.158, allocations: 5.812 MB / 1.25 GB, free: 7.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/1.16, allocations: 0.9543 MB / 1.251 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008074/1.161, allocations: 158.3 kB / 1.251 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=157): time 4.298e-06/1.161, allocations: 0 / 1.251 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of matching and sorting (n=157): time 0.00887/1.17, allocations: 3 MB / 1.254 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/1.17, allocations: 300 kB / 1.254 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/1.173, allocations: 2.57 MB / 1.257 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/1.173, allocations: 65.7 kB / 1.257 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/1.175, allocations: 1.307 MB / 1.258 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/1.175, allocations: 0.5276 MB / 1.258 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.429e-05/1.175, allocations: 36 kB / 1.258 GB, free: 14 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.175, allocations: 389.8 kB / 1.259 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.177, allocations: 0.6832 MB / 1.26 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/1.179, allocations: 1.275 MB / 1.261 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/1.18, allocations: 0.8453 MB / 1.262 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.18, allocations: 3.938 kB / 1.262 GB, free: 10.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005099/1.185, allocations: 2.371 MB / 1.264 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001565/1.187, allocations: 4.539 MB / 1.268 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/1.187, allocations: 11.98 kB / 1.268 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551/2.738, allocations: 193.6 MB / 1.457 GB, free: 346.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/2.74, allocations: 434.4 kB / 1.458 GB, free: 346.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/2.743, allocations: 2.829 MB / 1.461 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/2.746, allocations: 212.1 kB / 1.461 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003029/2.746, allocations: 94.39 kB / 1.461 GB, free: 343.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/2.746, allocations: 4.125 kB / 1.461 GB, free: 343.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004409/2.751, allocations: 2.024 MB / 1.463 GB, free: 343.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/2.751, allocations: 11.69 kB / 1.463 GB, free: 343.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053/3.804, allocations: 193.6 MB / 1.652 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/3.806, allocations: 425.8 kB / 1.652 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/3.809, allocations: 2.833 MB / 1.655 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/3.811, allocations: 185.6 kB / 1.655 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/3.812, allocations: 87.97 kB / 1.655 GB, free: 151.2 MB / 0.948 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.001751/3.813, allocations: 0.6906 MB / 1.656 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/3.814, allocations: 271.4 kB / 1.656 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004822/3.819, allocations: 2.342 MB / 1.659 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/3.819, allocations: 19.98 kB / 1.659 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/3.819, allocations: 0 / 1.659 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003368/3.822, allocations: 1.933 MB / 1.66 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008438/3.831, allocations: 4.626 MB / 1.665 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/3.831, allocations: 4 kB / 1.665 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/3.832, allocations: 323.7 kB / 1.665 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.534/4.366, allocations: 96.92 MB / 1.76 GB, free: 44.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/4.367, allocations: 47.97 kB / 1.76 GB, free: 43.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002485/4.369, allocations: 2.305 MB / 1.762 GB, free: 41.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/4.369, allocations: 6 kB / 1.762 GB, free: 41.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006629/4.376, allocations: 3.172 MB / 1.765 GB, free: 38.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/4.377, allocations: 0.6005 MB / 1.766 GB, free: 37.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007151/4.378, allocations: 36 kB / 1.766 GB, free: 37.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/4.38, allocations: 193.6 kB / 1.766 GB, free: 37.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/4.38, allocations: 113.8 kB / 1.766 GB, free: 37.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/4.381, allocations: 79.94 kB / 1.766 GB, free: 37.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003075/4.384, allocations: 1.755 MB / 1.768 GB, free: 35.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/4.384, allocations: 0 / 1.768 GB, free: 35.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004822/4.389, allocations: 1.669 MB / 1.77 GB, free: 34.11 MB / 0.948 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.00818/4.397, allocations: 5.132 MB / 1.775 GB, free: 29.28 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005609/4.402, allocations: 3.134 MB / 1.778 GB, free: 26.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/4.402, allocations: 4 kB / 1.778 GB, free: 26.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/4.404, allocations: 1.027 MB / 1.779 GB, free: 25.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/4.409, allocations: 1.188 MB / 1.78 GB, free: 23.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/4.421, allocations: 15.74 MB / 1.795 GB, free: 7.656 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/4.422, allocations: 1.899 MB / 1.797 GB, free: 5.727 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003053/4.425, allocations: 0.7989 MB / 1.798 GB, free: 4.922 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/4.426, allocations: 1.245 MB / 1.799 GB, free: 3.676 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/4.426, allocations: 4 kB / 1.799 GB, free: 3.672 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.559/4.985, allocations: 82.09 MB / 1.879 GB, free: 302.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/4.986, allocations: 275 kB / 1.88 GB, free: 302.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.678/10.66, allocations: 2.516 kB / 1.88 GB, free: 302.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel_fmu --startTime=1.5552e+07 --stopTime=1.57248e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_Merkel.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)