Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 111.7 kB / 16.42 MB, free: 6.52 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.001128/0.001128, allocations: 187.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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.17 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.275/2.275, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.88 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8351, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.2394/1.074, allocations: 181.4 MB / 1.266 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02103/1.096, allocations: 13.36 MB / 1.279 GB, free: 10.93 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/1.098, allocations: 35.81 kB / 1.279 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/1.1, allocations: 0.5241 MB / 1.279 GB, free: 10.37 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00815/1.108, allocations: 2.366 MB / 1.282 GB, free: 7.996 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/1.112, allocations: 1.107 MB / 1.283 GB, free: 6.906 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004067/1.116, allocations: 2.455 MB / 1.285 GB, free: 4.445 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/1.117, allocations: 0.8117 MB / 1.286 GB, free: 3.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/1.12, allocations: 0.9028 MB / 1.287 GB, free: 2.719 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/1.122, allocations: 0.7234 MB / 1.288 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004298/1.122, allocations: 104 kB / 1.288 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/1.128, allocations: 2.351 MB / 1.29 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005924/1.128, allocations: 358.8 kB / 1.29 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/1.13, allocations: 0.6218 MB / 1.291 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005954/1.136, allocations: 2.723 MB / 1.294 GB, free: 11.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.136, allocations: 4 kB / 1.294 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.572e-06/1.136, allocations: 0 / 1.294 GB, free: 11.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.851e-05/1.136, allocations: 0 / 1.294 GB, free: 11.82 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.00442/1.14, allocations: 1.794 MB / 1.295 GB, free: 9.965 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.14, allocations: 8.031 kB / 1.295 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.141, allocations: 230.1 kB / 1.296 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/1.144, allocations: 1.117 MB / 1.297 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/1.144, allocations: 53.3 kB / 1.297 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/1.144, allocations: 59.94 kB / 1.297 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/1.145, allocations: 0.7636 MB / 1.297 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.146, allocations: 0 / 1.297 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/1.146, allocations: 28 kB / 1.297 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/1.146, allocations: 12 kB / 1.298 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/1.147, allocations: 0.7429 MB / 1.298 GB, free: 6.879 MB / 1.029 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.004825/1.152, allocations: 3.097 MB / 1.301 GB, free: 3.637 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/1.154, allocations: 0.7585 MB / 1.302 GB, free: 2.871 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005995/1.154, allocations: 332.4 kB / 1.302 GB, free: 2.547 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004437/1.159, allocations: 3.605 MB / 1.306 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007892/1.159, allocations: 385.2 kB / 1.306 GB, free: 13.99 MB / 1.045 GB Notification: Performance of pre-optimization done (n=52): time 2.855e-06/1.159, allocations: 0 / 1.306 GB, free: 13.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=52): time 0.005159/1.165, allocations: 1.448 MB / 1.308 GB, free: 12.51 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/1.165, allocations: 81.55 kB / 1.308 GB, free: 12.41 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.166, allocations: 1.175 MB / 1.309 GB, free: 11.22 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/1.167, allocations: 41.7 kB / 1.309 GB, free: 11.17 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/1.167, allocations: 0.4888 MB / 1.309 GB, free: 10.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/1.167, allocations: 181.5 kB / 1.31 GB, free: 10.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/1.168, allocations: 150.2 kB / 1.31 GB, free: 10.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.168, allocations: 341.9 kB / 1.31 GB, free: 10 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000654/1.168, allocations: 311.3 kB / 1.31 GB, free: 9.695 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009002/1.169, allocations: 0.5874 MB / 1.311 GB, free: 9.055 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/1.171, allocations: 0.7073 MB / 1.312 GB, free: 8.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.171, allocations: 0 / 1.312 GB, free: 8.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002195/1.173, allocations: 0.9953 MB / 1.313 GB, free: 7.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.173, allocations: 4 kB / 1.313 GB, free: 7.305 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.173, allocations: 4 kB / 1.313 GB, free: 7.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189/2.361, allocations: 146.1 MB / 1.455 GB, free: 4.934 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/2.362, allocations: 131.8 kB / 1.455 GB, free: 4.805 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/2.364, allocations: 1.269 MB / 1.457 GB, free: 3.484 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/2.365, allocations: 83.33 kB / 1.457 GB, free: 3.402 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/2.365, allocations: 36.05 kB / 1.457 GB, free: 3.367 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001254/2.366, allocations: 0.5402 MB / 1.457 GB, free: 2.824 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001021/2.367, allocations: 0.5873 MB / 1.458 GB, free: 2.184 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001444/2.369, allocations: 0.7034 MB / 1.459 GB, free: 1.445 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/2.369, allocations: 3.938 kB / 1.459 GB, free: 1.441 MB / 1.186 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002557/2.372, allocations: 0.9876 MB / 1.459 GB, free: 448 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/2.372, allocations: 4 kB / 1.459 GB, free: 444 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/2.372, allocations: 4 kB / 1.459 GB, free: 440 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823/4.195, allocations: 146.1 MB / 1.602 GB, free: 459.4 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/4.196, allocations: 126.6 kB / 1.602 GB, free: 459.4 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/4.197, allocations: 1.273 MB / 1.604 GB, free: 458.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009735/4.198, allocations: 71 kB / 1.604 GB, free: 458.3 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.9e-05/4.198, allocations: 32.78 kB / 1.604 GB, free: 458.3 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002379/4.198, allocations: 221.2 kB / 1.604 GB, free: 458.1 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/4.198, allocations: 109.4 kB / 1.604 GB, free: 458.1 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/4.2, allocations: 0.9394 MB / 1.605 GB, free: 458 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00152/4.202, allocations: 0.9768 MB / 1.606 GB, free: 457.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/4.202, allocations: 4 kB / 1.606 GB, free: 457.5 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/4.202, allocations: 272.3 kB / 1.606 GB, free: 457.3 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/4.203, allocations: 16.16 kB / 1.606 GB, free: 457.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/4.203, allocations: 34.97 kB / 1.606 GB, free: 457.3 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/4.203, allocations: 35.5 kB / 1.606 GB, free: 457.3 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002732/4.206, allocations: 1.015 MB / 1.607 GB, free: 456.9 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002441/4.208, allocations: 1.358 MB / 1.609 GB, free: 456.3 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005913/4.209, allocations: 332.4 kB / 1.609 GB, free: 456.2 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001162/4.21, allocations: 0.8307 MB / 1.61 GB, free: 455.9 MB / 1.311 GB Notification: Performance of Backend: time 7.32e-07/4.21, allocations: 0 / 1.61 GB, free: 455.9 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.005363/4.216, allocations: 1.973 MB / 1.612 GB, free: 455.4 MB / 1.311 GB Notification: Performance of SimCode: time 0.004133/4.22, allocations: 2.616 MB / 1.614 GB, free: 453.9 MB / 1.311 GB Notification: Performance of Templates: time 0.05054/4.27, allocations: 31.7 MB / 1.645 GB, free: 440.1 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)