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.354/1.354, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001096/0.001096, allocations: 177.2 kB / 326.5 MB, free: 2.695 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.796/1.796, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008134/0.0008135, allocations: 87.23 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 8.719 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2637, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.7978/1.062, allocations: 178.5 MB / 1.071 GB, free: 8.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01901/1.081, allocations: 13.3 MB / 1.084 GB, free: 8.184 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/1.083, allocations: 30.53 kB / 1.084 GB, free: 8.184 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/1.085, allocations: 442.6 kB / 1.084 GB, free: 8.168 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007864/1.092, allocations: 2.014 MB / 1.086 GB, free: 8.066 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/1.096, allocations: 0.9447 MB / 1.087 GB, free: 8.035 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004938/1.101, allocations: 2.973 MB / 1.09 GB, free: 7.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/1.102, allocations: 0.6541 MB / 1.091 GB, free: 7.828 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/1.104, allocations: 0.738 MB / 1.092 GB, free: 7.742 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/1.107, allocations: 0.6821 MB / 1.092 GB, free: 7.707 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/1.107, allocations: 41.03 kB / 1.092 GB, free: 7.707 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005897/1.113, allocations: 2.263 MB / 1.095 GB, free: 7.551 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004842/1.114, allocations: 287 kB / 1.095 GB, free: 7.535 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/1.115, allocations: 0.543 MB / 1.095 GB, free: 7.523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003897/1.119, allocations: 1.964 MB / 1.097 GB, free: 7.367 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.119, allocations: 0 / 1.097 GB, free: 7.367 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.883e-06/1.119, allocations: 3.594 kB / 1.097 GB, free: 7.367 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.526e-05/1.119, allocations: 0 / 1.097 GB, free: 7.367 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.00276/1.121, allocations: 1.556 MB / 1.099 GB, free: 6.383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.121, allocations: 10.06 kB / 1.099 GB, free: 6.383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/1.122, allocations: 229.1 kB / 1.099 GB, free: 6.309 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/1.124, allocations: 1.117 MB / 1.1 GB, free: 5.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/1.124, allocations: 43.62 kB / 1.1 GB, free: 5.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.205e-05/1.124, allocations: 62.62 kB / 1.1 GB, free: 5.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/1.125, allocations: 0.7527 MB / 1.101 GB, free: 5.805 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/1.125, allocations: 0 / 1.101 GB, free: 5.805 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/1.125, allocations: 25.25 kB / 1.101 GB, free: 5.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/1.125, allocations: 16.73 kB / 1.101 GB, free: 5.801 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/1.127, allocations: 0.7511 MB / 1.102 GB, free: 5.789 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.003658/1.13, allocations: 3.061 MB / 1.105 GB, free: 4.652 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/1.132, allocations: 0.7719 MB / 1.105 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/1.132, allocations: 344 kB / 1.106 GB, free: 4.605 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003395/1.136, allocations: 3.598 MB / 1.109 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006922/1.136, allocations: 384.7 kB / 1.11 GB, free: 1.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 2.655e-06/1.136, allocations: 0 / 1.11 GB, free: 1.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.00491/1.141, allocations: 1.516 MB / 1.111 GB, free: 1.289 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.141, allocations: 80.86 kB / 1.111 GB, free: 1.191 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/1.143, allocations: 1.159 MB / 1.112 GB, free: 1.031 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.675e-05/1.143, allocations: 47.25 kB / 1.112 GB, free: 1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/1.143, allocations: 494.3 kB / 1.113 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/1.144, allocations: 180.2 kB / 1.113 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/1.144, allocations: 61.73 kB / 1.113 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/1.144, allocations: 331.2 kB / 1.113 GB, free: 420 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/1.144, allocations: 318.6 kB / 1.114 GB, free: 412 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/1.145, allocations: 0.5967 MB / 1.114 GB, free: 260 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.146, allocations: 0.716 MB / 1.115 GB, free: 140 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.146, allocations: 4 kB / 1.115 GB, free: 136 kB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002059/1.148, allocations: 1.005 MB / 1.116 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.149, allocations: 169.3 kB / 1.116 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.149, allocations: 3.5 kB / 1.116 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392/2.541, allocations: 193.5 MB / 1.305 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/2.542, allocations: 135.1 kB / 1.305 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/2.543, allocations: 1.287 MB / 1.307 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/2.545, allocations: 94.16 kB / 1.307 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/2.545, allocations: 39.17 kB / 1.307 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/2.545, allocations: 5.859 kB / 1.307 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002257/2.547, allocations: 0.8802 MB / 1.308 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/2.547, allocations: 4 kB / 1.308 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438/3.985, allocations: 193.5 MB / 1.497 GB, free: 344.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/3.986, allocations: 133.9 kB / 1.497 GB, free: 344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/3.987, allocations: 1.291 MB / 1.498 GB, free: 342.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/3.988, allocations: 98.48 kB / 1.498 GB, free: 342.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/3.989, allocations: 31.8 kB / 1.498 GB, free: 342.6 MB / 0.9636 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.0007926/3.989, allocations: 370.3 kB / 1.498 GB, free: 342.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/3.99, allocations: 117.2 kB / 1.498 GB, free: 342.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/3.992, allocations: 0.9531 MB / 1.499 GB, free: 341.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/3.992, allocations: 8 kB / 1.499 GB, free: 341.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/3.992, allocations: 0 / 1.499 GB, free: 341.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001395/3.993, allocations: 0.9937 MB / 1.5 GB, free: 340.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004572/3.998, allocations: 2.095 MB / 1.502 GB, free: 339.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/3.998, allocations: 4.438 kB / 1.502 GB, free: 339.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/3.998, allocations: 79.31 kB / 1.503 GB, free: 339.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5293/4.528, allocations: 96.84 MB / 1.597 GB, free: 242.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/4.528, allocations: 18.05 kB / 1.597 GB, free: 242.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009249/4.529, allocations: 0.7448 MB / 1.598 GB, free: 241.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/4.529, allocations: 4.031 kB / 1.598 GB, free: 241.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/4.533, allocations: 1.507 MB / 1.599 GB, free: 240.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005756/4.533, allocations: 273.7 kB / 1.6 GB, free: 240.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/4.534, allocations: 11.69 kB / 1.6 GB, free: 240.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/4.534, allocations: 55.36 kB / 1.6 GB, free: 240.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/4.535, allocations: 34.8 kB / 1.6 GB, free: 240.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/4.535, allocations: 27.8 kB / 1.6 GB, free: 240.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001156/4.536, allocations: 0.811 MB / 1.6 GB, free: 239.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.31e-07/4.536, allocations: 1.406 kB / 1.6 GB, free: 239.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002449/4.538, allocations: 0.7137 MB / 1.601 GB, free: 238.9 MB / 0.9636 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.002571/4.541, allocations: 0.9353 MB / 1.602 GB, free: 238.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002524/4.543, allocations: 1.2 MB / 1.603 GB, free: 237.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/4.543, allocations: 4 kB / 1.603 GB, free: 237.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006676/4.544, allocations: 372.4 kB / 1.604 GB, free: 237.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/4.547, allocations: 487.3 kB / 1.604 GB, free: 236.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/4.55, allocations: 2.331 MB / 1.606 GB, free: 234.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/4.551, allocations: 1.085 MB / 1.607 GB, free: 233.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/4.551, allocations: 97.66 kB / 1.608 GB, free: 233.5 MB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/4.551, allocations: 0 / 1.608 GB, free: 233.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.03649/4.588, allocations: 27.51 MB / 1.634 GB, free: 206.3 MB / 0.9636 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)