Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6315/0.6315, allocations: 95.47 MB / 365.2 MB, free: 9.867 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 67.91 kB / 445.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4208, allocations: 69.08 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002463/0.4233, allocations: 1.261 MB / 0.5036 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.4247, allocations: 0.8736 MB / 0.5045 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.4248, allocations: 0 / 0.5045 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.4248, allocations: 0 / 0.5045 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.372e-05/0.4249, allocations: 15.91 kB / 0.5045 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.4255, allocations: 135.8 kB / 0.5046 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.4256, allocations: 15.94 kB / 0.5046 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.4257, allocations: 3.984 kB / 0.5046 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.4257, allocations: 4 kB / 0.5046 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.4258, allocations: 11.92 kB / 0.5046 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.4258, allocations: 0 / 0.5046 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.4262, allocations: 219.9 kB / 0.5049 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.4262, allocations: 3.984 kB / 0.5049 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.4263, allocations: 12 kB / 0.5049 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.4265, allocations: 129.7 kB / 0.505 GB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4265, allocations: 0 / 0.505 GB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4265, allocations: 4 kB / 0.505 GB, free: 14.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.4265, allocations: 0 / 0.505 GB, free: 14.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004446/0.427, allocations: 351.4 kB / 0.5053 GB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.427, allocations: 11.98 kB / 0.5053 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.4271, allocations: 4.938 kB / 0.5053 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.4272, allocations: 160.4 kB / 0.5055 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.4272, allocations: 7.875 kB / 0.5055 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.4272, allocations: 0 / 0.5055 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.4273, allocations: 45.69 kB / 0.5056 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4273, allocations: 7.875 kB / 0.5056 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.4274, allocations: 0 / 0.5056 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4274, allocations: 0 / 0.5056 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.4274, allocations: 7.984 kB / 0.5056 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.4276, allocations: 157.6 kB / 0.5057 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.4277, allocations: 38.59 kB / 0.5058 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.4278, allocations: 20.92 kB / 0.5058 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/0.4295, allocations: 0.6455 MB / 0.5064 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.4295, allocations: 42.55 kB / 0.5064 GB, free: 12.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4295, allocations: 3.938 kB / 0.5064 GB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001841/0.4297, allocations: 45.69 kB / 0.5065 GB, free: 12.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.4297, allocations: 51.41 kB / 0.5065 GB, free: 12.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.398e-05/0.4298, allocations: 97.86 kB / 0.5066 GB, free: 12.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.4298, allocations: 25.7 kB / 0.5067 GB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.4299, allocations: 80.14 kB / 0.5067 GB, free: 12.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.4299, allocations: 11.88 kB / 0.5067 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.4299, allocations: 21.72 kB / 0.5068 GB, free: 12.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.43, allocations: 314.8 kB / 0.5071 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.43, allocations: 4 kB / 0.5071 GB, free: 12.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.296e-05/0.43, allocations: 8 kB / 0.5071 GB, free: 12.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.4301, allocations: 20.73 kB / 0.5071 GB, free: 12.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4301, allocations: 0 / 0.5071 GB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.898e-05/0.4301, allocations: 45.69 kB / 0.5071 GB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4302, allocations: 4 kB / 0.5071 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4302, allocations: 4 kB / 0.5071 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4302, allocations: 0 / 0.5071 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.495e-05/0.4303, allocations: 7.984 kB / 0.5072 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4303, allocations: 4 kB / 0.5072 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.4303, allocations: 0 / 0.5072 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4303, allocations: 4 kB / 0.5072 GB, free: 12.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.4304, allocations: 109.8 kB / 0.5073 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.4304, allocations: 4 kB / 0.5073 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.4305, allocations: 61.06 kB / 0.5073 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4305, allocations: 0 / 0.5073 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4305, allocations: 0 / 0.5073 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4305, allocations: 0 / 0.5073 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.141e-05/0.4306, allocations: 165.5 kB / 0.5075 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4306, allocations: 0 / 0.5075 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.4306, allocations: 4 kB / 0.5075 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4306, allocations: 7.984 kB / 0.5075 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.4306, allocations: 0 / 0.5075 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4306, allocations: 0 / 0.5075 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4306, allocations: 0 / 0.5075 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.945e-05/0.4307, allocations: 81.38 kB / 0.5076 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.4308, allocations: 81.14 kB / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.4308, allocations: 0 / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.4308, allocations: 4 kB / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.4308, allocations: 0 / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4308, allocations: 4 kB / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.158e-05/0.4308, allocations: 79.28 kB / 0.5077 GB, free: 11.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4309, allocations: 4.094 kB / 0.5077 GB, free: 11.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.4311, allocations: 39.92 kB / 0.5078 GB, free: 11.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002248/0.4313, allocations: 127.2 kB / 0.5079 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.526e-05/0.4314, allocations: 15.92 kB / 0.5079 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4315, allocations: 4 kB / 0.5079 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.4315, allocations: 12 kB / 0.5079 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.4317, allocations: 3.938 kB / 0.5079 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.432, allocations: 108.2 kB / 0.508 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.4321, allocations: 0.6729 MB / 0.5087 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.907e-05/0.4322, allocations: 7.938 kB / 0.5087 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.4322, allocations: 15.44 kB / 0.5087 GB, free: 10.4 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4322, allocations: 0 / 0.5087 GB, free: 10.4 MB / 382.1 MB Notification: Performance of Templates: time 0.00315/0.4353, allocations: 0.8701 MB / 0.5096 GB, free: 9.543 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)