Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001135/0.001135, allocations: 109.4 kB / 16.42 MB, free: 6.461 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.001163/0.001163, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.13 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.487/2.487, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 55.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7791, allocations: 151.7 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.1862/0.9653, allocations: 181.4 MB / 1.344 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.9822, allocations: 13.34 MB / 1.357 GB, free: 396 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.9836, allocations: 35.81 kB / 1.358 GB, free: 360 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.9852, allocations: 0.5318 MB / 1.358 GB, free: 15.82 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.9913, allocations: 2.372 MB / 1.36 GB, free: 13.44 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.9943, allocations: 1.103 MB / 1.361 GB, free: 12.35 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003317/0.9977, allocations: 2.455 MB / 1.364 GB, free: 9.891 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.9991, allocations: 0.8156 MB / 1.365 GB, free: 9.059 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/1.001, allocations: 0.8967 MB / 1.366 GB, free: 8.16 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/1.003, allocations: 0.7272 MB / 1.366 GB, free: 7.43 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003143/1.003, allocations: 104 kB / 1.366 GB, free: 7.328 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00509/1.008, allocations: 2.34 MB / 1.369 GB, free: 4.984 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005239/1.009, allocations: 362.7 kB / 1.369 GB, free: 4.629 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/1.01, allocations: 0.6334 MB / 1.37 GB, free: 3.992 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006079/1.016, allocations: 2.723 MB / 1.372 GB, free: 1.262 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.016, allocations: 0 / 1.372 GB, free: 1.262 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.154e-06/1.016, allocations: 0 / 1.372 GB, free: 1.262 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.314e-05/1.016, allocations: 0 / 1.372 GB, free: 1.262 MB / 1.092 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.003857/1.02, allocations: 1.798 MB / 1.374 GB, free: 15.4 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.02, allocations: 12.92 kB / 1.374 GB, free: 15.39 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/1.021, allocations: 218.3 kB / 1.374 GB, free: 15.17 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/1.024, allocations: 1.113 MB / 1.375 GB, free: 14 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/1.024, allocations: 49.31 kB / 1.375 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/1.024, allocations: 67.89 kB / 1.375 GB, free: 13.89 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/1.025, allocations: 0.7597 MB / 1.376 GB, free: 13.11 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/1.025, allocations: 7.938 kB / 1.376 GB, free: 13.1 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/1.026, allocations: 28 kB / 1.376 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/1.026, allocations: 16 kB / 1.376 GB, free: 13.05 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/1.027, allocations: 0.7351 MB / 1.377 GB, free: 12.32 MB / 1.107 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.004653/1.032, allocations: 3.093 MB / 1.38 GB, free: 9.086 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/1.033, allocations: 0.7682 MB / 1.381 GB, free: 8.309 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/1.034, allocations: 334 kB / 1.381 GB, free: 7.98 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004172/1.038, allocations: 3.601 MB / 1.385 GB, free: 3.816 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008212/1.039, allocations: 389.2 kB / 1.385 GB, free: 3.426 MB / 1.107 GB Notification: Performance of pre-optimization done (n=52): time 3.336e-06/1.039, allocations: 0 / 1.385 GB, free: 3.426 MB / 1.107 GB Notification: Performance of matching and sorting (n=52): time 0.005247/1.044, allocations: 1.444 MB / 1.386 GB, free: 1.953 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/1.044, allocations: 85.55 kB / 1.386 GB, free: 1.852 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/1.046, allocations: 1.175 MB / 1.388 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.995e-05/1.046, allocations: 37.7 kB / 1.388 GB, free: 0.6172 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/1.047, allocations: 0.4966 MB / 1.388 GB, free: 120 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/1.047, allocations: 177.6 kB / 1.388 GB, free: 15.94 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/1.047, allocations: 150.2 kB / 1.388 GB, free: 15.79 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.047, allocations: 337.9 kB / 1.389 GB, free: 15.45 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006393/1.048, allocations: 315.3 kB / 1.389 GB, free: 15.14 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008554/1.049, allocations: 0.5873 MB / 1.39 GB, free: 14.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/1.05, allocations: 0.7073 MB / 1.39 GB, free: 13.76 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/1.05, allocations: 4 kB / 1.39 GB, free: 13.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00213/1.052, allocations: 0.9875 MB / 1.391 GB, free: 12.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.052, allocations: 8.031 kB / 1.391 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.052, allocations: 4 kB / 1.391 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215/2.268, allocations: 146.1 MB / 1.534 GB, free: 10.37 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/2.268, allocations: 131.8 kB / 1.534 GB, free: 10.24 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/2.27, allocations: 1.273 MB / 1.535 GB, free: 8.914 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/2.271, allocations: 83.33 kB / 1.535 GB, free: 8.832 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/2.271, allocations: 31.98 kB / 1.535 GB, free: 8.801 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00114/2.272, allocations: 0.5403 MB / 1.536 GB, free: 8.258 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009767/2.273, allocations: 0.5936 MB / 1.537 GB, free: 7.613 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001355/2.275, allocations: 0.6995 MB / 1.537 GB, free: 6.887 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/2.275, allocations: 0 / 1.537 GB, free: 6.887 MB / 1.264 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002269/2.277, allocations: 0.9873 MB / 1.538 GB, free: 5.883 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/2.277, allocations: 8 kB / 1.538 GB, free: 5.875 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/2.277, allocations: 4.219 kB / 1.538 GB, free: 5.871 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973/4.25, allocations: 146.1 MB / 1.681 GB, free: 278.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/4.251, allocations: 130 kB / 1.681 GB, free: 278.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/4.252, allocations: 1.267 MB / 1.682 GB, free: 277.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/4.253, allocations: 69.42 kB / 1.682 GB, free: 277.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/4.253, allocations: 35.67 kB / 1.682 GB, free: 277.2 MB / 1.279 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.0002201/4.253, allocations: 228 kB / 1.683 GB, free: 277 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/4.254, allocations: 108.9 kB / 1.683 GB, free: 277 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/4.256, allocations: 0.9361 MB / 1.684 GB, free: 276.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/4.257, allocations: 0.9812 MB / 1.685 GB, free: 275.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/4.257, allocations: 4 kB / 1.685 GB, free: 275.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/4.257, allocations: 267.3 kB / 1.685 GB, free: 275 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/4.258, allocations: 15.75 kB / 1.685 GB, free: 275 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/4.258, allocations: 35.95 kB / 1.685 GB, free: 275 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/4.258, allocations: 32.52 kB / 1.685 GB, free: 274.9 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002463/4.261, allocations: 1.012 MB / 1.686 GB, free: 273.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001881/4.263, allocations: 1.349 MB / 1.687 GB, free: 272.6 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004872/4.263, allocations: 340.3 kB / 1.688 GB, free: 272.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0009068/4.264, allocations: 0.8262 MB / 1.688 GB, free: 271.4 MB / 1.279 GB Notification: Performance of Backend: time 5.31e-07/4.264, allocations: 0 / 1.688 GB, free: 271.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004765/4.269, allocations: 1.989 MB / 1.69 GB, free: 269.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.003825/4.273, allocations: 2.615 MB / 1.693 GB, free: 267.2 MB / 1.279 GB Notification: Performance of Templates: time 0.04276/4.315, allocations: 31.7 MB / 1.724 GB, free: 235.8 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)