Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.146/2.146, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 199 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 0.7948 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.000929, allocations: 111.7 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009855/0.0009856, allocations: 49.28 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2317, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002331/0.2341, allocations: 1.343 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2351, allocations: 0.7657 MB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.2352, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.2352, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.2353, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.2356, allocations: 79.98 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.2357, allocations: 23.92 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.2357, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.942e-05/0.2357, allocations: 7.938 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.2358, allocations: 4 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.2358, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.2361, allocations: 156.9 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.2361, allocations: 7.984 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.2362, allocations: 3.938 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.2364, allocations: 110.4 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2364, allocations: 4 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2364, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2364, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB 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.0003199/0.2367, allocations: 343.5 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2368, allocations: 11.98 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.2368, allocations: 0.9375 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.2369, allocations: 164.4 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.2369, allocations: 4.375 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2369, allocations: 4.125 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.001e-05/0.237, allocations: 41.64 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.237, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.237, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.237, allocations: 0 / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.2371, allocations: 11.98 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.2372, allocations: 153.7 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.2373, allocations: 30.58 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.2374, allocations: 20.84 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/0.239, allocations: 0.6533 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.2391, allocations: 42.44 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2391, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001344/0.2392, allocations: 49.67 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.2392, allocations: 55.41 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.234e-05/0.2393, allocations: 93.86 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.2393, allocations: 25.7 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.511e-05/0.2393, allocations: 88.12 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.2394, allocations: 11.88 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.2394, allocations: 21.72 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.2394, allocations: 310.8 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.2395, allocations: 4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.2395, allocations: 3.984 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.2395, allocations: 20.8 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2395, allocations: 3.938 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.005e-05/0.2396, allocations: 49.62 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2396, allocations: 4.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2396, allocations: 8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2396, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.937e-05/0.2397, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.2397, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.2397, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.2397, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB 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 4.896e-05/0.2398, allocations: 114.5 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.2398, allocations: 7.875 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.923e-05/0.2399, allocations: 57.17 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2399, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2399, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2399, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.02e-05/0.24, allocations: 157.6 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.24, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.24, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.24, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.24, allocations: 3.938 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.24, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.24, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.2402, allocations: 0.6278 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.2403, allocations: 81.11 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2403, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.187e-05/0.2403, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.2403, allocations: 8.344 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.2403, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.59e-05/0.2403, allocations: 83.22 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2404, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003119/0.2407, allocations: 28 kB / 1.224 GB, free: 110.9 MB / 0.823 GB 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.0002276/0.2409, allocations: 131.1 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.241, allocations: 20.02 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.241, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.241, allocations: 12 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.2412, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.2415, allocations: 210.5 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.2e-05/0.2416, allocations: 0.677 MB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.2416, allocations: 8 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.2416, allocations: 7.438 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.2417, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of Templates: time 0.00254/0.2442, allocations: 0.8859 MB / 1.226 GB, free: 108.9 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)