Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001713/0.001713, allocations: 110.3 kB / 16.41 MB, free: 6.402 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.001939/0.001939, allocations: 190.7 kB / 17.35 MB, free: 5.695 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 64.11 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8711/0.8726, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.2538/1.126, allocations: 239.7 MB / 1.443 GB, free: 13.02 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04352/1.17, allocations: 27.02 MB / 1.469 GB, free: 1.926 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004265/1.174, allocations: 107.4 kB / 1.469 GB, free: 1.82 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.007359/1.182, allocations: 2.237 MB / 1.471 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01384/1.196, allocations: 4.388 MB / 1.476 GB, free: 11.17 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.009055/1.205, allocations: 3.314 MB / 1.479 GB, free: 7.879 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01604/1.221, allocations: 10.3 MB / 1.489 GB, free: 13.55 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005733/1.226, allocations: 3.106 MB / 1.492 GB, free: 10.37 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006664/1.233, allocations: 2.775 MB / 1.495 GB, free: 7.594 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/1.237, allocations: 2.264 MB / 1.497 GB, free: 5.32 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001599/1.239, allocations: 364 kB / 1.497 GB, free: 4.965 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009013/1.248, allocations: 3.598 MB / 1.501 GB, free: 1.367 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.002293/1.25, allocations: 1.114 MB / 1.502 GB, free: 256 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.004385/1.255, allocations: 2.08 MB / 1.504 GB, free: 14.16 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01391/1.269, allocations: 6.956 MB / 1.511 GB, free: 7.184 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.269, allocations: 0 / 1.511 GB, free: 7.184 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.354e-06/1.269, allocations: 0 / 1.511 GB, free: 7.184 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001898/1.269, allocations: 0 / 1.511 GB, free: 7.184 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 584 * Number of variables: 584 Notification: Performance of Generate backend data structure: time 0.01201/1.281, allocations: 4.661 MB / 1.515 GB, free: 2.43 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.281, allocations: 8.031 kB / 1.515 GB, free: 2.422 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/1.285, allocations: 0.7444 MB / 1.516 GB, free: 1.672 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007897/1.293, allocations: 3.721 MB / 1.519 GB, free: 13.88 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/1.293, allocations: 180.6 kB / 1.52 GB, free: 13.7 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006287/1.294, allocations: 239.9 kB / 1.52 GB, free: 13.47 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005769/1.3, allocations: 2.587 MB / 1.522 GB, free: 10.73 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-05/1.3, allocations: 15.92 kB / 1.522 GB, free: 10.72 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/1.3, allocations: 96 kB / 1.523 GB, free: 10.62 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/1.3, allocations: 84.36 kB / 1.523 GB, free: 10.54 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/1.306, allocations: 2.484 MB / 1.525 GB, free: 8.039 MB / 1.248 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.01902/1.325, allocations: 10.4 MB / 1.535 GB, free: 13.2 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004108/1.329, allocations: 1.921 MB / 1.537 GB, free: 11.27 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001874/1.331, allocations: 0.8733 MB / 1.538 GB, free: 10.39 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/1.342, allocations: 6.28 MB / 1.544 GB, free: 3.449 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/1.344, allocations: 1.046 MB / 1.545 GB, free: 2.387 MB / 1.264 GB Notification: Performance of pre-optimization done (n=170): time 4.839e-06/1.344, allocations: 4 kB / 1.545 GB, free: 2.383 MB / 1.264 GB Notification: Performance of matching and sorting (n=170): time 0.01054/1.355, allocations: 3.185 MB / 1.548 GB, free: 15.15 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.355, allocations: 227.6 kB / 1.548 GB, free: 14.88 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005851/1.361, allocations: 3.048 MB / 1.551 GB, free: 11.83 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003746/1.361, allocations: 65.7 kB / 1.551 GB, free: 11.76 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001685/1.363, allocations: 1.465 MB / 1.553 GB, free: 10.29 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007906/1.363, allocations: 0.5777 MB / 1.553 GB, free: 9.699 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/1.365, allocations: 0.5318 MB / 1.554 GB, free: 9.16 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.365, allocations: 309.1 kB / 1.554 GB, free: 8.855 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/1.367, allocations: 0.9562 MB / 1.555 GB, free: 7.891 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/1.37, allocations: 1.554 MB / 1.557 GB, free: 6.133 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004588/1.374, allocations: 2.307 MB / 1.559 GB, free: 3.664 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/1.374, allocations: 4 kB / 1.559 GB, free: 3.66 MB / 1.279 GB Notification: Performance of matching and sorting (n=329) (initialization): time 0.009154/1.384, allocations: 3.139 MB / 1.562 GB, free: 0.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.384, allocations: 11.98 kB / 1.562 GB, free: 500 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/1.384, allocations: 12 kB / 1.562 GB, free: 488 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666/3.05, allocations: 146.2 MB / 1.705 GB, free: 217.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/3.052, allocations: 0.5058 MB / 1.705 GB, free: 217.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/3.055, allocations: 2.91 MB / 1.708 GB, free: 214.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/3.059, allocations: 315.8 kB / 1.708 GB, free: 214.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005388/3.059, allocations: 114.2 kB / 1.709 GB, free: 214 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003312/3.063, allocations: 1.544 MB / 1.71 GB, free: 212.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002167/3.065, allocations: 1.531 MB / 1.712 GB, free: 211.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003522/3.068, allocations: 2.269 MB / 1.714 GB, free: 208.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-05/3.068, allocations: 4 kB / 1.714 GB, free: 208.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=329) (initialization_lambda0): time 0.007447/3.076, allocations: 3.089 MB / 1.717 GB, free: 205.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/3.076, allocations: 12 kB / 1.717 GB, free: 205.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/3.076, allocations: 20.02 kB / 1.717 GB, free: 205.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041/4.117, allocations: 146.2 MB / 1.86 GB, free: 59.34 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/4.119, allocations: 0.4953 MB / 1.86 GB, free: 58.84 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/4.122, allocations: 2.925 MB / 1.863 GB, free: 55.74 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/4.125, allocations: 262.3 kB / 1.863 GB, free: 55.56 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/4.125, allocations: 108 kB / 1.863 GB, free: 55.46 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (287): * Single equations (assignments): 282 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0007772/4.126, allocations: 335.6 kB / 1.864 GB, free: 55.13 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/4.127, allocations: 324 kB / 1.864 GB, free: 54.96 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005684/4.133, allocations: 2.524 MB / 1.866 GB, free: 52.45 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003765/4.137, allocations: 2.081 MB / 1.868 GB, free: 50.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/4.137, allocations: 0 / 1.868 GB, free: 50.3 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/4.138, allocations: 0.6412 MB / 1.869 GB, free: 49.66 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007262/4.139, allocations: 39.38 kB / 1.869 GB, free: 49.62 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/4.141, allocations: 147.8 kB / 1.869 GB, free: 49.48 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/4.141, allocations: 129.8 kB / 1.869 GB, free: 49.35 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005713/4.147, allocations: 2.339 MB / 1.872 GB, free: 47.04 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005421/4.152, allocations: 3.316 MB / 1.875 GB, free: 43.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00137/4.154, allocations: 0.8896 MB / 1.876 GB, free: 42.82 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003027/4.157, allocations: 2.035 MB / 1.878 GB, free: 40.79 MB / 1.279 GB Notification: Performance of Backend: time 1.703e-06/4.157, allocations: 0 / 1.878 GB, free: 40.79 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01207/4.169, allocations: 4.853 MB / 1.882 GB, free: 36.41 MB / 1.279 GB Notification: Performance of SimCode: time 0.014/4.183, allocations: 7.122 MB / 1.889 GB, free: 29.31 MB / 1.279 GB Notification: Performance of Templates: time 0.1235/4.307, allocations: 79.49 MB / 1.967 GB, free: 14.7 MB / 1.342 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)