Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001601/0.001601, allocations: 112 kB / 16.41 MB, free: 5.91 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.001826/0.001826, allocations: 189 kB / 17.34 MB, free: 5.543 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.823/2.823, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 59.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8587/0.8601, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.2626/1.123, allocations: 239.7 MB / 1.401 GB, free: 3.18 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04327/1.166, allocations: 27.01 MB / 1.428 GB, free: 8.102 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004915/1.171, allocations: 107.4 kB / 1.428 GB, free: 7.996 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.007293/1.178, allocations: 2.274 MB / 1.43 GB, free: 5.715 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01407/1.192, allocations: 4.532 MB / 1.435 GB, free: 1.172 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.009083/1.202, allocations: 3.324 MB / 1.438 GB, free: 13.87 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01587/1.217, allocations: 10.32 MB / 1.448 GB, free: 3.527 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005808/1.223, allocations: 3.11 MB / 1.451 GB, free: 352 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006603/1.23, allocations: 2.768 MB / 1.454 GB, free: 13.57 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004117/1.234, allocations: 2.262 MB / 1.456 GB, free: 11.3 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001388/1.235, allocations: 363.9 kB / 1.456 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008889/1.244, allocations: 3.588 MB / 1.46 GB, free: 7.352 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001927/1.246, allocations: 1.121 MB / 1.461 GB, free: 6.227 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.004294/1.251, allocations: 2.076 MB / 1.463 GB, free: 4.141 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/1.265, allocations: 6.991 MB / 1.47 GB, free: 13.12 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.265, allocations: 0 / 1.47 GB, free: 13.12 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.903e-06/1.265, allocations: 0 / 1.47 GB, free: 13.12 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002272/1.265, allocations: 0 / 1.47 GB, free: 13.12 MB / 1.201 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.01299/1.278, allocations: 4.815 MB / 1.474 GB, free: 8.211 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.278, allocations: 12.88 kB / 1.474 GB, free: 8.199 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/1.283, allocations: 0.7624 MB / 1.475 GB, free: 7.434 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008682/1.292, allocations: 3.744 MB / 1.479 GB, free: 3.625 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/1.292, allocations: 180.6 kB / 1.479 GB, free: 3.445 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007497/1.293, allocations: 240 kB / 1.479 GB, free: 3.211 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006797/1.3, allocations: 2.592 MB / 1.482 GB, free: 484 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.308e-05/1.3, allocations: 3.938 kB / 1.482 GB, free: 480 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005023/1.3, allocations: 96 kB / 1.482 GB, free: 384 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1.301, allocations: 96.34 kB / 1.482 GB, free: 284 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005901/1.306, allocations: 2.484 MB / 1.484 GB, free: 13.78 MB / 1.217 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.0196/1.326, allocations: 10.43 MB / 1.495 GB, free: 2.898 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004236/1.33, allocations: 1.904 MB / 1.496 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/1.332, allocations: 0.8694 MB / 1.497 GB, free: 128 kB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/1.343, allocations: 6.3 MB / 1.503 GB, free: 9.16 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002433/1.345, allocations: 1.057 MB / 1.504 GB, free: 8.09 MB / 1.232 GB Notification: Performance of pre-optimization done (n=170): time 5.531e-06/1.345, allocations: 0 / 1.504 GB, free: 8.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=170): time 0.01104/1.357, allocations: 3.199 MB / 1.508 GB, free: 4.844 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.357, allocations: 235.5 kB / 1.508 GB, free: 4.562 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0063/1.363, allocations: 3.045 MB / 1.511 GB, free: 1.52 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004469/1.363, allocations: 65.7 kB / 1.511 GB, free: 1.449 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001804/1.365, allocations: 1.498 MB / 1.512 GB, free: 15.94 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008451/1.366, allocations: 0.5966 MB / 1.513 GB, free: 15.34 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/1.368, allocations: 0.5281 MB / 1.513 GB, free: 14.8 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.368, allocations: 309 kB / 1.514 GB, free: 14.5 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/1.37, allocations: 0.9524 MB / 1.515 GB, free: 13.54 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/1.373, allocations: 1.562 MB / 1.516 GB, free: 11.77 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004701/1.377, allocations: 2.303 MB / 1.518 GB, free: 9.316 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/1.377, allocations: 4 kB / 1.518 GB, free: 9.312 MB / 1.248 GB Notification: Performance of matching and sorting (n=329) (initialization): time 0.00882/1.386, allocations: 3.16 MB / 1.521 GB, free: 6.133 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/1.386, allocations: 12 kB / 1.521 GB, free: 6.121 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/1.386, allocations: 12 kB / 1.521 GB, free: 6.109 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766/3.152, allocations: 146.2 MB / 1.664 GB, free: 287.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/3.154, allocations: 0.5103 MB / 1.665 GB, free: 287.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/3.157, allocations: 2.913 MB / 1.668 GB, free: 284.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/3.16, allocations: 324.2 kB / 1.668 GB, free: 284.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/3.161, allocations: 111.4 kB / 1.668 GB, free: 284.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002706/3.163, allocations: 1.535 MB / 1.67 GB, free: 283.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001896/3.165, allocations: 1.542 MB / 1.671 GB, free: 281.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003081/3.168, allocations: 2.26 MB / 1.673 GB, free: 279.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.435e-06/3.168, allocations: 4 kB / 1.673 GB, free: 279.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=329) (initialization_lambda0): time 0.006649/3.175, allocations: 3.114 MB / 1.676 GB, free: 276.2 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/3.175, allocations: 8.75 kB / 1.676 GB, free: 276.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/3.175, allocations: 12 kB / 1.676 GB, free: 276.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095/4.27, allocations: 146.2 MB / 1.819 GB, free: 129.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/4.273, allocations: 0.4953 MB / 1.82 GB, free: 129.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/4.276, allocations: 2.925 MB / 1.822 GB, free: 126.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/4.279, allocations: 274.8 kB / 1.823 GB, free: 126 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000478/4.28, allocations: 113.7 kB / 1.823 GB, free: 125.9 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.0007897/4.281, allocations: 319.8 kB / 1.823 GB, free: 125.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/4.282, allocations: 341.1 kB / 1.823 GB, free: 125.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/4.288, allocations: 2.524 MB / 1.826 GB, free: 122.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003888/4.292, allocations: 2.078 MB / 1.828 GB, free: 120.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/4.292, allocations: 0 / 1.828 GB, free: 120.7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/4.293, allocations: 0.6596 MB / 1.829 GB, free: 120 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007595/4.294, allocations: 51.94 kB / 1.829 GB, free: 120 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/4.296, allocations: 138 kB / 1.829 GB, free: 119.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/4.296, allocations: 129.8 kB / 1.829 GB, free: 119.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006428/4.303, allocations: 2.345 MB / 1.831 GB, free: 117.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005887/4.309, allocations: 3.334 MB / 1.834 GB, free: 114 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001463/4.31, allocations: 0.8862 MB / 1.835 GB, free: 113.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003284/4.313, allocations: 2.035 MB / 1.837 GB, free: 111.1 MB / 1.279 GB Notification: Performance of Backend: time 3.6e-07/4.313, allocations: 0 / 1.837 GB, free: 111.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01151/4.325, allocations: 4.873 MB / 1.842 GB, free: 106.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.01225/4.337, allocations: 7.222 MB / 1.849 GB, free: 99.54 MB / 1.279 GB Notification: Performance of Templates: time 0.1043/4.442, allocations: 79.51 MB / 1.927 GB, free: 20.78 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)