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.001157/0.001157, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001178/0.001178, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 76 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7576, allocations: 159.1 MB / 1.221 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.2375/0.9951, allocations: 239.7 MB / 1.455 GB, free: 1.715 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03851/1.034, allocations: 27.03 MB / 1.481 GB, free: 6.609 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004701/1.038, allocations: 107.4 kB / 1.482 GB, free: 6.504 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006319/1.045, allocations: 2.271 MB / 1.484 GB, free: 4.227 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01235/1.057, allocations: 4.537 MB / 1.488 GB, free: 15.68 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.008489/1.066, allocations: 3.319 MB / 1.491 GB, free: 12.38 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01449/1.08, allocations: 10.33 MB / 1.501 GB, free: 2.023 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005503/1.086, allocations: 3.118 MB / 1.505 GB, free: 14.83 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006085/1.092, allocations: 2.757 MB / 1.507 GB, free: 12.07 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/1.096, allocations: 2.26 MB / 1.509 GB, free: 9.805 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/1.097, allocations: 368 kB / 1.51 GB, free: 9.445 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00784/1.105, allocations: 3.592 MB / 1.513 GB, free: 5.848 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001757/1.106, allocations: 1.118 MB / 1.514 GB, free: 4.727 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003799/1.11, allocations: 2.08 MB / 1.516 GB, free: 2.637 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01289/1.123, allocations: 6.952 MB / 1.523 GB, free: 11.66 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.123, allocations: 0 / 1.523 GB, free: 11.66 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.713e-06/1.123, allocations: 0 / 1.523 GB, free: 11.66 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002187/1.123, allocations: 0 / 1.523 GB, free: 11.66 MB / 1.248 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.01293/1.136, allocations: 4.673 MB / 1.528 GB, free: 6.898 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.136, allocations: 12.62 kB / 1.528 GB, free: 6.887 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004492/1.141, allocations: 0.7367 MB / 1.529 GB, free: 6.145 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008472/1.149, allocations: 3.725 MB / 1.532 GB, free: 2.352 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/1.15, allocations: 176.6 kB / 1.532 GB, free: 2.176 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006619/1.15, allocations: 240 kB / 1.533 GB, free: 1.941 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006248/1.157, allocations: 2.583 MB / 1.535 GB, free: 15.21 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.249e-05/1.157, allocations: 7.938 kB / 1.535 GB, free: 15.2 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/1.157, allocations: 108 kB / 1.535 GB, free: 15.1 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/1.157, allocations: 84.36 kB / 1.535 GB, free: 15.01 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005433/1.163, allocations: 2.48 MB / 1.538 GB, free: 12.52 MB / 1.264 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.01769/1.18, allocations: 10.4 MB / 1.548 GB, free: 1.672 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/1.185, allocations: 1.936 MB / 1.55 GB, free: 15.74 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/1.186, allocations: 0.8655 MB / 1.551 GB, free: 14.87 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/1.197, allocations: 6.288 MB / 1.557 GB, free: 7.926 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002231/1.199, allocations: 1.046 MB / 1.558 GB, free: 6.863 MB / 1.279 GB Notification: Performance of pre-optimization done (n=170): time 4.468e-06/1.199, allocations: 0 / 1.558 GB, free: 6.863 MB / 1.279 GB Notification: Performance of matching and sorting (n=170): time 0.011/1.21, allocations: 3.189 MB / 1.561 GB, free: 3.625 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/1.211, allocations: 231.6 kB / 1.561 GB, free: 3.348 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005982/1.217, allocations: 3.048 MB / 1.564 GB, free: 308 kB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0004314/1.217, allocations: 69.69 kB / 1.564 GB, free: 232 kB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.6837/1.901, allocations: 1.46 MB / 1.566 GB, free: 336.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008365/1.902, allocations: 0.5766 MB / 1.566 GB, free: 335.8 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/1.903, allocations: 0.532 MB / 1.567 GB, free: 335.6 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.347e-05/1.903, allocations: 305.4 kB / 1.567 GB, free: 335.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/1.905, allocations: 0.9516 MB / 1.568 GB, free: 334.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/1.908, allocations: 1.561 MB / 1.569 GB, free: 334 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/1.913, allocations: 2.3 MB / 1.572 GB, free: 332.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/1.913, allocations: 4.125 kB / 1.572 GB, free: 332.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=329) (initialization): time 0.008126/1.921, allocations: 3.144 MB / 1.575 GB, free: 331.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/1.921, allocations: 10.72 kB / 1.575 GB, free: 331.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/1.921, allocations: 12.59 kB / 1.575 GB, free: 331.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14/3.061, allocations: 146.2 MB / 1.717 GB, free: 199.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/3.064, allocations: 0.4992 MB / 1.718 GB, free: 199.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/3.067, allocations: 2.923 MB / 1.721 GB, free: 196 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/3.07, allocations: 318.9 kB / 1.721 GB, free: 195.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/3.07, allocations: 112.8 kB / 1.721 GB, free: 195.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002724/3.073, allocations: 1.534 MB / 1.723 GB, free: 194.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001869/3.074, allocations: 1.544 MB / 1.724 GB, free: 192.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0031/3.078, allocations: 2.267 MB / 1.726 GB, free: 189.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.315e-06/3.078, allocations: 4 kB / 1.726 GB, free: 189.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=329) (initialization_lambda0): time 0.006599/3.084, allocations: 3.099 MB / 1.729 GB, free: 186.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/3.084, allocations: 9.094 kB / 1.73 GB, free: 186.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/3.084, allocations: 12 kB / 1.73 GB, free: 186.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129/4.214, allocations: 146.2 MB / 1.872 GB, free: 40.31 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/4.216, allocations: 0.4953 MB / 1.873 GB, free: 39.82 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/4.219, allocations: 2.915 MB / 1.876 GB, free: 36.71 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003497/4.223, allocations: 267.6 kB / 1.876 GB, free: 36.45 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005039/4.223, allocations: 112 kB / 1.876 GB, free: 36.34 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.0008762/4.224, allocations: 337.2 kB / 1.876 GB, free: 36.01 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/4.225, allocations: 320 kB / 1.877 GB, free: 35.69 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/4.231, allocations: 2.526 MB / 1.879 GB, free: 33.16 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003869/4.235, allocations: 2.071 MB / 1.881 GB, free: 31.02 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/4.235, allocations: 0 / 1.881 GB, free: 31.02 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/4.238, allocations: 0.6448 MB / 1.882 GB, free: 30.35 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/4.239, allocations: 51.83 kB / 1.882 GB, free: 30.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/4.241, allocations: 135.8 kB / 1.882 GB, free: 30.17 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/4.242, allocations: 133.8 kB / 1.882 GB, free: 30.04 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006003/4.248, allocations: 2.336 MB / 1.884 GB, free: 27.72 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005985/4.254, allocations: 3.311 MB / 1.888 GB, free: 24.39 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001519/4.255, allocations: 0.8901 MB / 1.888 GB, free: 23.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003978/4.259, allocations: 2.043 MB / 1.89 GB, free: 21.47 MB / 1.279 GB Notification: Performance of Backend: time 7.82e-07/4.259, allocations: 0 / 1.89 GB, free: 21.47 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01368/4.273, allocations: 4.858 MB / 1.895 GB, free: 17.08 MB / 1.279 GB Notification: Performance of SimCode: time 0.0121/4.285, allocations: 7.111 MB / 1.902 GB, free: 9.973 MB / 1.279 GB Notification: Performance of Templates: time 0.1347/4.42, allocations: 79.48 MB / 1.98 GB, free: 11.37 MB / 1.357 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)