Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009624/0.0009624, allocations: 176.4 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 0.5786 GB, free: 20.06 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008301/0.0008302, allocations: 82.31 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 9.844 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2581, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.7318/0.99, allocations: 176.5 MB / 1.074 GB, free: 7.957 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01779/1.008, allocations: 13.12 MB / 1.087 GB, free: 7.066 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/1.01, allocations: 30.81 kB / 1.087 GB, free: 7.051 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/1.012, allocations: 436.9 kB / 1.087 GB, free: 6.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007661/1.019, allocations: 2.01 MB / 1.089 GB, free: 6.504 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/1.023, allocations: 0.9538 MB / 1.09 GB, free: 6.426 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004991/1.028, allocations: 2.972 MB / 1.093 GB, free: 6.031 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/1.029, allocations: 0.6652 MB / 1.094 GB, free: 5.926 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/1.031, allocations: 0.7474 MB / 1.094 GB, free: 5.836 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/1.032, allocations: 0.6736 MB / 1.095 GB, free: 5.801 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/1.032, allocations: 41.31 kB / 1.095 GB, free: 5.801 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00589/1.038, allocations: 2.26 MB / 1.097 GB, free: 5.645 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004681/1.039, allocations: 287 kB / 1.097 GB, free: 5.629 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009324/1.04, allocations: 0.5751 MB / 1.098 GB, free: 5.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004057/1.044, allocations: 1.963 MB / 1.1 GB, free: 5.426 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.044, allocations: 0 / 1.1 GB, free: 5.426 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.364e-06/1.044, allocations: 2.969 kB / 1.1 GB, free: 5.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.557e-05/1.044, allocations: 0 / 1.1 GB, free: 5.426 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003076/1.047, allocations: 1.548 MB / 1.101 GB, free: 4.445 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.047, allocations: 10.16 kB / 1.101 GB, free: 4.445 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008207/1.048, allocations: 233.2 kB / 1.102 GB, free: 4.371 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/1.05, allocations: 1.114 MB / 1.103 GB, free: 3.973 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/1.05, allocations: 52.12 kB / 1.103 GB, free: 3.969 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/1.05, allocations: 62.72 kB / 1.103 GB, free: 3.969 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/1.051, allocations: 0.7494 MB / 1.104 GB, free: 3.863 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/1.051, allocations: 7.875 kB / 1.104 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/1.051, allocations: 25.28 kB / 1.104 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/1.051, allocations: 13.28 kB / 1.104 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.053, allocations: 0.7489 MB / 1.104 GB, free: 3.844 MB / 0.698 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.003804/1.056, allocations: 3.063 MB / 1.107 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/1.058, allocations: 0.7698 MB / 1.108 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/1.058, allocations: 343.3 kB / 1.108 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003616/1.062, allocations: 3.594 MB / 1.112 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006894/1.063, allocations: 387.7 kB / 1.112 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 2.475e-06/1.063, allocations: 0 / 1.112 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.004893/1.068, allocations: 1.511 MB / 1.114 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/1.068, allocations: 92.09 kB / 1.114 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/1.069, allocations: 1.155 MB / 1.115 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/1.069, allocations: 39.64 kB / 1.115 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/1.07, allocations: 492.5 kB / 1.116 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/1.07, allocations: 181.4 kB / 1.116 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/1.07, allocations: 10.12 kB / 1.116 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.07, allocations: 336 kB / 1.116 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/1.071, allocations: 309.5 kB / 1.116 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009386/1.072, allocations: 0.5984 MB / 1.117 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.073, allocations: 0.7167 MB / 1.118 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.073, allocations: 5.969 kB / 1.118 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001958/1.075, allocations: 1.009 MB / 1.119 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/1.075, allocations: 164.4 kB / 1.119 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.075, allocations: 3.25 kB / 1.119 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168/2.243, allocations: 193.5 MB / 1.308 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006778/2.244, allocations: 127.3 kB / 1.308 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/2.245, allocations: 1.288 MB / 1.309 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/2.247, allocations: 98.66 kB / 1.309 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/2.247, allocations: 31.25 kB / 1.309 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/2.247, allocations: 4 kB / 1.309 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001914/2.249, allocations: 0.8844 MB / 1.31 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/2.249, allocations: 0 / 1.31 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582/3.83, allocations: 193.5 MB / 1.499 GB, free: 369.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/3.831, allocations: 128.6 kB / 1.499 GB, free: 368.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/3.832, allocations: 1.284 MB / 1.5 GB, free: 367.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/3.833, allocations: 95.77 kB / 1.501 GB, free: 367.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/3.833, allocations: 31.17 kB / 1.501 GB, free: 367.6 MB / 0.9792 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 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * 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.0007079/3.834, allocations: 381.1 kB / 1.501 GB, free: 367.3 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/3.834, allocations: 111.5 kB / 1.501 GB, free: 367.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/3.837, allocations: 0.9507 MB / 1.502 GB, free: 366.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/3.837, allocations: 8 kB / 1.502 GB, free: 366.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/3.837, allocations: 3.562 kB / 1.502 GB, free: 366.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/3.838, allocations: 0.9926 MB / 1.503 GB, free: 365.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/3.842, allocations: 2.092 MB / 1.505 GB, free: 364.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/3.842, allocations: 3.656 kB / 1.505 GB, free: 364.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/3.842, allocations: 89.05 kB / 1.505 GB, free: 364.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5525/4.395, allocations: 96.84 MB / 1.6 GB, free: 267.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/4.395, allocations: 14.5 kB / 1.6 GB, free: 267.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009479/4.396, allocations: 0.7487 MB / 1.6 GB, free: 266.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/4.396, allocations: 0 / 1.6 GB, free: 266.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003666/4.4, allocations: 1.512 MB / 1.602 GB, free: 265.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000668/4.401, allocations: 291.1 kB / 1.602 GB, free: 265.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/4.401, allocations: 18.38 kB / 1.602 GB, free: 265.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/4.402, allocations: 49.05 kB / 1.602 GB, free: 265.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/4.402, allocations: 35.58 kB / 1.602 GB, free: 265.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/4.402, allocations: 27.72 kB / 1.602 GB, free: 265.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001227/4.403, allocations: 0.8101 MB / 1.603 GB, free: 264.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/4.403, allocations: 0 / 1.603 GB, free: 264.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002494/4.406, allocations: 0.7142 MB / 1.604 GB, free: 263.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002715/4.408, allocations: 0.9352 MB / 1.605 GB, free: 263.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002572/4.411, allocations: 1.198 MB / 1.606 GB, free: 262.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/4.411, allocations: 192 / 1.606 GB, free: 262.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/4.412, allocations: 386 kB / 1.606 GB, free: 262.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/4.414, allocations: 478.1 kB / 1.607 GB, free: 261.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/4.418, allocations: 2.378 MB / 1.609 GB, free: 259.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/4.419, allocations: 1.094 MB / 1.61 GB, free: 258.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/4.419, allocations: 99.22 kB / 1.61 GB, free: 258.4 MB / 0.9792 GB Notification: Performance of SimCode: time 1.193e-06/4.419, allocations: 0 / 1.61 GB, free: 258.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.03431/4.453, allocations: 27.51 MB / 1.637 GB, free: 231.2 MB / 0.9792 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)