Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TEnt.T|tow.TLvg|tow.TAir|conFan.u_s|conFan.u_m|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_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.001225/0.001225, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001222/0.001222, allocations: 183.9 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8078, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.2737/1.082, allocations: 238.8 MB / 1.322 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03883/1.12, allocations: 25.16 MB / 1.346 GB, free: 5.465 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/1.125, allocations: 103.4 kB / 1.347 GB, free: 5.363 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004646/1.129, allocations: 1.454 MB / 1.348 GB, free: 3.902 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01347/1.143, allocations: 4.395 MB / 1.352 GB, free: 15.5 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009436/1.152, allocations: 3.155 MB / 1.355 GB, free: 12.36 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01113/1.164, allocations: 7.345 MB / 1.362 GB, free: 4.992 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00576/1.169, allocations: 3.114 MB / 1.366 GB, free: 1.805 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006509/1.176, allocations: 2.737 MB / 1.368 GB, free: 15.06 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004111/1.18, allocations: 2.182 MB / 1.37 GB, free: 12.87 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001313/1.181, allocations: 352 kB / 1.371 GB, free: 12.53 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007978/1.189, allocations: 3.409 MB / 1.374 GB, free: 9.113 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001563/1.191, allocations: 0.9695 MB / 1.375 GB, free: 8.141 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003204/1.194, allocations: 1.885 MB / 1.377 GB, free: 6.246 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01166/1.206, allocations: 6.329 MB / 1.383 GB, free: 15.9 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.206, allocations: 0 / 1.383 GB, free: 15.9 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.345e-06/1.206, allocations: 0 / 1.383 GB, free: 15.9 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001774/1.206, allocations: 4 kB / 1.383 GB, free: 15.89 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 580 * Number of variables: 580 Notification: Performance of Generate backend data structure: time 0.01049/1.217, allocations: 4.219 MB / 1.387 GB, free: 11.59 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.217, allocations: 12.03 kB / 1.387 GB, free: 11.58 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/1.22, allocations: 0.6981 MB / 1.388 GB, free: 10.88 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005938/1.226, allocations: 2.68 MB / 1.39 GB, free: 8.125 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/1.227, allocations: 176.5 kB / 1.391 GB, free: 7.949 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004853/1.227, allocations: 240 kB / 1.391 GB, free: 7.715 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005542/1.233, allocations: 2.587 MB / 1.393 GB, free: 4.984 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/1.233, allocations: 0 / 1.393 GB, free: 4.984 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/1.233, allocations: 96 kB / 1.393 GB, free: 4.891 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.298e-05/1.233, allocations: 88.3 kB / 1.394 GB, free: 4.801 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/1.238, allocations: 2.492 MB / 1.396 GB, free: 2.293 MB / 1.123 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.01548/1.254, allocations: 9.838 MB / 1.406 GB, free: 8.078 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/1.258, allocations: 1.947 MB / 1.407 GB, free: 6.121 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/1.26, allocations: 0.8851 MB / 1.408 GB, free: 5.234 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00958/1.269, allocations: 6.241 MB / 1.414 GB, free: 14.34 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002188/1.271, allocations: 1.078 MB / 1.415 GB, free: 13.24 MB / 1.154 GB Notification: Performance of pre-optimization done (n=171): time 4.217e-06/1.271, allocations: 0 / 1.415 GB, free: 13.24 MB / 1.154 GB Notification: Performance of matching and sorting (n=171): time 0.009779/1.281, allocations: 3.178 MB / 1.419 GB, free: 10.01 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.281, allocations: 227.6 kB / 1.419 GB, free: 9.742 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003855/1.285, allocations: 2.448 MB / 1.421 GB, free: 7.273 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002027/1.285, allocations: 65.7 kB / 1.421 GB, free: 7.203 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.287, allocations: 1.334 MB / 1.423 GB, free: 5.855 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005219/1.287, allocations: 0.5699 MB / 1.423 GB, free: 5.277 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006759/1.288, allocations: 439.3 kB / 1.424 GB, free: 4.84 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 8.89e-05/1.288, allocations: 305.1 kB / 1.424 GB, free: 4.539 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/1.29, allocations: 0.7936 MB / 1.425 GB, free: 3.734 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/1.292, allocations: 1.334 MB / 1.426 GB, free: 2.203 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/1.295, allocations: 1.986 MB / 1.428 GB, free: 68 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.295, allocations: 4 kB / 1.428 GB, free: 64 kB / 1.154 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.005807/1.301, allocations: 2.566 MB / 1.43 GB, free: 13.48 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/1.301, allocations: 8.719 kB / 1.43 GB, free: 13.47 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.301, allocations: 12 kB / 1.43 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135/2.436, allocations: 146.2 MB / 1.573 GB, free: 10.99 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/2.438, allocations: 467.3 kB / 1.574 GB, free: 10.53 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/2.441, allocations: 2.911 MB / 1.576 GB, free: 7.422 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/2.444, allocations: 280 kB / 1.577 GB, free: 7.148 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003982/2.445, allocations: 104 kB / 1.577 GB, free: 7.047 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002873/2.448, allocations: 1.254 MB / 1.578 GB, free: 5.785 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002169/2.45, allocations: 1.305 MB / 1.579 GB, free: 4.289 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003478/2.453, allocations: 1.92 MB / 1.581 GB, free: 2.223 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.659e-06/2.453, allocations: 4 kB / 1.581 GB, free: 2.219 MB / 1.311 GB Notification: Performance of matching and sorting (n=263) (initialization_lambda0): time 0.6984/3.152, allocations: 2.491 MB / 1.584 GB, free: 448.7 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/3.152, allocations: 13.66 kB / 1.584 GB, free: 448.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/3.152, allocations: 10.98 kB / 1.584 GB, free: 448.7 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156/4.307, allocations: 146.2 MB / 1.726 GB, free: 352.3 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/4.31, allocations: 458.8 kB / 1.727 GB, free: 351.9 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/4.312, allocations: 2.916 MB / 1.73 GB, free: 349.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/4.316, allocations: 235 kB / 1.73 GB, free: 348.9 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004548/4.316, allocations: 106.8 kB / 1.73 GB, free: 348.9 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 20 (conFan.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 249 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007317/4.317, allocations: 315.5 kB / 1.73 GB, free: 348.6 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/4.318, allocations: 286.9 kB / 1.731 GB, free: 348.5 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006036/4.324, allocations: 2.523 MB / 1.733 GB, free: 346.4 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003943/4.328, allocations: 2.097 MB / 1.735 GB, free: 344.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/4.328, allocations: 0 / 1.735 GB, free: 344.3 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/4.329, allocations: 0.5903 MB / 1.736 GB, free: 343.8 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007845/4.33, allocations: 47.52 kB / 1.736 GB, free: 343.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/4.332, allocations: 145.8 kB / 1.736 GB, free: 343.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/4.333, allocations: 133.8 kB / 1.736 GB, free: 343.5 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006399/4.339, allocations: 2.371 MB / 1.738 GB, free: 341.2 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005913/4.345, allocations: 3.313 MB / 1.742 GB, free: 337.9 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001543/4.347, allocations: 0.9093 MB / 1.742 GB, free: 337 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002553/4.349, allocations: 1.655 MB / 1.744 GB, free: 335.3 MB / 1.311 GB Notification: Performance of Backend: time 4.91e-07/4.349, allocations: 0 / 1.744 GB, free: 335.3 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01071/4.36, allocations: 4.212 MB / 1.748 GB, free: 331.6 MB / 1.311 GB Notification: Performance of SimCode: time 0.01056/4.37, allocations: 6.307 MB / 1.754 GB, free: 325.4 MB / 1.311 GB Notification: Performance of Templates: time 0.1001/4.471, allocations: 71.07 MB / 1.824 GB, free: 255.1 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)