Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.692/2.692, allocations: 287.5 MB / 302.4 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 185.2 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009858/0.0009853, allocations: 91.3 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005238, allocations: 16.72 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.215, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.9662/1.181, allocations: 165 MB / 1.14 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03482/1.216, allocations: 12.29 MB / 1.152 GB, free: 13.3 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/1.218, allocations: 27.22 kB / 1.152 GB, free: 13.29 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002815/1.221, allocations: 379 kB / 1.152 GB, free: 13.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008459/1.23, allocations: 1.733 MB / 1.154 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004327/1.234, allocations: 0.8403 MB / 1.154 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00557/1.24, allocations: 2.599 MB / 1.157 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/1.241, allocations: 0.5997 MB / 1.158 GB, free: 10.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002542/1.244, allocations: 0.7168 MB / 1.158 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/1.246, allocations: 0.6452 MB / 1.159 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003612/1.247, allocations: 39.03 kB / 1.159 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006999/1.254, allocations: 1.773 MB / 1.161 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008114/1.255, allocations: 276.3 kB / 1.161 GB, free: 8.504 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006884/1.255, allocations: 255.1 kB / 1.161 GB, free: 8.344 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005498/1.261, allocations: 1.896 MB / 1.163 GB, free: 7.129 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.261, allocations: 0 / 1.163 GB, free: 7.129 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.266e-06/1.261, allocations: 1.094 kB / 1.163 GB, free: 7.129 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.6e-05/1.261, allocations: 0 / 1.163 GB, free: 7.129 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.004938/1.266, allocations: 1.57 MB / 1.165 GB, free: 5.895 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.266, allocations: 8.562 kB / 1.165 GB, free: 5.895 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/1.268, allocations: 232.6 kB / 1.165 GB, free: 5.793 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/1.271, allocations: 1.078 MB / 1.166 GB, free: 4.973 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/1.271, allocations: 54.08 kB / 1.166 GB, free: 4.945 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/1.271, allocations: 65.75 kB / 1.166 GB, free: 4.926 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/1.274, allocations: 0.7486 MB / 1.167 GB, free: 4.473 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/1.274, allocations: 0 / 1.167 GB, free: 4.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.274, allocations: 25.31 kB / 1.167 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/1.274, allocations: 16 kB / 1.167 GB, free: 4.453 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/1.277, allocations: 0.7448 MB / 1.167 GB, free: 4.113 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.007284/1.284, allocations: 3.067 MB / 1.17 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/1.287, allocations: 0.7615 MB / 1.171 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009999/1.288, allocations: 341.6 kB / 1.171 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006702/1.294, allocations: 3.61 MB / 1.175 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/1.296, allocations: 378.9 kB / 1.175 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.987e-06/1.296, allocations: 3.938 kB / 1.175 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.009289/1.305, allocations: 1.508 MB / 1.177 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/1.305, allocations: 87.61 kB / 1.177 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/1.308, allocations: 1.147 MB / 1.178 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/1.308, allocations: 38.86 kB / 1.178 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000632/1.308, allocations: 0.4898 MB / 1.179 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/1.309, allocations: 175.9 kB / 1.179 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/1.309, allocations: 15.34 kB / 1.179 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.309, allocations: 327.3 kB / 1.179 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/1.31, allocations: 314.2 kB / 1.179 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/1.311, allocations: 0.5895 MB / 1.18 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.313, allocations: 353.8 kB / 1.18 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.313, allocations: 6.125 kB / 1.18 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003532/1.316, allocations: 0.9997 MB / 1.181 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/1.316, allocations: 168.3 kB / 1.181 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.316, allocations: 2.906 kB / 1.181 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47/3.786, allocations: 193.5 MB / 1.37 GB, free: 12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/3.787, allocations: 131.8 kB / 1.371 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/3.79, allocations: 1.292 MB / 1.372 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/3.791, allocations: 99.47 kB / 1.372 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/3.792, allocations: 35.92 kB / 1.372 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/3.792, allocations: 4 kB / 1.372 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003248/3.795, allocations: 0.8777 MB / 1.373 GB, free: 9.504 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/3.795, allocations: 4 kB / 1.373 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994/6.788, allocations: 193.5 MB / 1.562 GB, free: 254.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/6.79, allocations: 127.8 kB / 1.562 GB, free: 254.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/6.791, allocations: 1.294 MB / 1.563 GB, free: 252.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/6.793, allocations: 94.02 kB / 1.563 GB, free: 252.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/6.793, allocations: 29.48 kB / 1.563 GB, free: 252.8 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007887/6.794, allocations: 373 kB / 1.564 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/6.794, allocations: 113.6 kB / 1.564 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/6.797, allocations: 0.9518 MB / 1.565 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/6.798, allocations: 8 kB / 1.565 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/6.798, allocations: 6.531 kB / 1.565 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002303/6.8, allocations: 0.9851 MB / 1.566 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006814/6.807, allocations: 2.1 MB / 1.568 GB, free: 248.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/6.807, allocations: 2.406 kB / 1.568 GB, free: 248.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/6.807, allocations: 79.84 kB / 1.568 GB, free: 248.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166/7.973, allocations: 96.84 MB / 1.662 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/7.973, allocations: 15.98 kB / 1.662 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/7.975, allocations: 0.7437 MB / 1.663 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/7.975, allocations: 7.922 kB / 1.663 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00588/7.981, allocations: 1.5 MB / 1.665 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008005/7.982, allocations: 290.3 kB / 1.665 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/7.982, allocations: 23.8 kB / 1.665 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/7.983, allocations: 47.95 kB / 1.665 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/7.983, allocations: 32.39 kB / 1.665 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.461e-05/7.983, allocations: 31.98 kB / 1.665 GB, free: 148.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001411/7.985, allocations: 0.7971 MB / 1.666 GB, free: 148 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.2e-07/7.985, allocations: 0 / 1.666 GB, free: 148 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002775/7.987, allocations: 0.7152 MB / 1.666 GB, free: 147.4 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00291/7.99, allocations: 0.9104 MB / 1.667 GB, free: 146.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00376/7.994, allocations: 1.195 MB / 1.668 GB, free: 145.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/7.994, allocations: 4 kB / 1.668 GB, free: 145.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/7.995, allocations: 373.8 kB / 1.669 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/7.999, allocations: 490.2 kB / 1.669 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/8.004, allocations: 2.322 MB / 1.672 GB, free: 142.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/8.004, allocations: 1.096 MB / 1.673 GB, free: 141.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001586/8.006, allocations: 255.9 kB / 1.673 GB, free: 141 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/8.006, allocations: 95.41 kB / 1.673 GB, free: 140.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/8.006, allocations: 0 / 1.673 GB, free: 140.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05967/8.066, allocations: 25.77 MB / 1.698 GB, free: 115.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)