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.0009334/0.0009333, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.5454/0.5454, allocations: 95.58 MB / 366 MB, free: 10.4 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.0005795/0.0005796, allocations: 16 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3229, allocations: 70.35 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001033/0.324, allocations: 0.9668 MB / 0.506 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009489/0.325, allocations: 0.7972 MB / 0.5067 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.325, allocations: 0 / 0.5067 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.325, allocations: 3.984 kB / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.3251, allocations: 3.984 kB / 0.5068 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.3254, allocations: 103.7 kB / 0.5069 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.767e-05/0.3254, allocations: 23.97 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.3255, allocations: 3.938 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.3255, allocations: 7.938 kB / 0.5069 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.3256, allocations: 4 kB / 0.5069 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.3256, allocations: 0 / 0.5069 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.3259, allocations: 223.7 kB / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.326, allocations: 3.984 kB / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.326, allocations: 29.64 kB / 0.5071 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3261, allocations: 89.84 kB / 0.5072 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.3261, allocations: 4 kB / 0.5072 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3261, allocations: 0 / 0.5072 GB, free: 14.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.3261, allocations: 0 / 0.5072 GB, free: 14.23 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.0002672/0.3264, allocations: 343.3 kB / 0.5076 GB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3265, allocations: 15.98 kB / 0.5076 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.3265, allocations: 3.938 kB / 0.5076 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.859e-05/0.3266, allocations: 167 kB / 0.5077 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3266, allocations: 0 / 0.5077 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.3266, allocations: 4 kB / 0.5077 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.175e-05/0.3267, allocations: 41.69 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3267, allocations: 0 / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3267, allocations: 0 / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3267, allocations: 0 / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.3268, allocations: 15.92 kB / 0.5078 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.3269, allocations: 153.6 kB / 0.5079 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.122e-05/0.327, allocations: 34.59 kB / 0.508 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00212/0.3291, allocations: 1.039 MB / 0.509 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3291, allocations: 30.56 kB / 0.509 GB, free: 12.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.3291, allocations: 0 / 0.509 GB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001584/0.3293, allocations: 49.62 kB / 0.5091 GB, free: 12.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3293, allocations: 55.41 kB / 0.5091 GB, free: 12.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.633e-05/0.3294, allocations: 97.84 kB / 0.5092 GB, free: 11.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.3294, allocations: 25.7 kB / 0.5092 GB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.3294, allocations: 84.14 kB / 0.5093 GB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.3295, allocations: 11.81 kB / 0.5093 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.3295, allocations: 0 / 0.5093 GB, free: 11.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.3295, allocations: 310.8 kB / 0.5096 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.3295, allocations: 8 kB / 0.5096 GB, free: 11.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-06/0.3295, allocations: 7.984 kB / 0.5096 GB, free: 11.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.535e-05/0.3296, allocations: 0 / 0.5096 GB, free: 11.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3296, allocations: 4.125 kB / 0.5096 GB, free: 11.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.039e-05/0.3296, allocations: 49.59 kB / 0.5097 GB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3297, allocations: 11.98 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3297, allocations: 0 / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3297, allocations: 0 / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.3297, allocations: 4 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3298, allocations: 3.984 kB / 0.5097 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.3298, allocations: 3.938 kB / 0.5097 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3298, allocations: 4 kB / 0.5097 GB, free: 11.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.3298, allocations: 113.8 kB / 0.5098 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-06/0.3299, allocations: 3.953 kB / 0.5098 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.33, allocations: 61.05 kB / 0.5099 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.33, allocations: 3.938 kB / 0.5099 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.33, allocations: 4 kB / 0.5099 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.33, allocations: 0 / 0.5099 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.713e-05/0.3301, allocations: 157.7 kB / 0.51 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3301, allocations: 0 / 0.51 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.3301, allocations: 4 kB / 0.51 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3301, allocations: 7.953 kB / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.3301, allocations: 0 / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3301, allocations: 0 / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3301, allocations: 0 / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.206e-05/0.3302, allocations: 73.03 kB / 0.5101 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.3302, allocations: 81.53 kB / 0.5102 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.3303, allocations: 7.953 kB / 0.5102 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.3303, allocations: 0 / 0.5102 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.3303, allocations: 7.984 kB / 0.5102 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.3303, allocations: 4 kB / 0.5102 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.7e-05/0.3303, allocations: 79.22 kB / 0.5103 GB, free: 10.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3303, allocations: 0 / 0.5103 GB, free: 10.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.3305, allocations: 28 kB / 0.5103 GB, free: 10.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000211/0.3307, allocations: 139.2 kB / 0.5105 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.874e-05/0.3308, allocations: 11.98 kB / 0.5105 GB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3308, allocations: 0 / 0.5105 GB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.3309, allocations: 8 kB / 0.5105 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.331, allocations: 11.98 kB / 0.5105 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.3313, allocations: 110.8 kB / 0.5106 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3314, allocations: 0.6809 MB / 0.5113 GB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.3314, allocations: 7.938 kB / 0.5113 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.3314, allocations: 11.44 kB / 0.5113 GB, free: 9.629 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3314, allocations: 0 / 0.5113 GB, free: 9.629 MB / 382.1 MB Notification: Performance of Templates: time 0.00264/0.3341, allocations: 0.8373 MB / 0.5121 GB, free: 8.797 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: