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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.001179/0.001179, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001131/0.001131, allocations: 193.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.696/2.696, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.23 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2878, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002228/0.2901, allocations: 1.343 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2912, allocations: 0.7484 MB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.56e-05/0.2912, allocations: 0 / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.2912, allocations: 0 / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.2913, allocations: 7.875 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.2917, allocations: 79.98 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.2917, allocations: 19.92 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.2918, allocations: 4 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.2918, allocations: 4 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.2918, allocations: 7.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.2919, allocations: 4 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.2922, allocations: 157 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.2922, allocations: 4 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.2922, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.2924, allocations: 104.5 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2924, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2924, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.2924, allocations: 3.938 kB / 1.07 GB, free: 8.266 MB / 0.8262 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.0003725/0.2928, allocations: 335.5 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2928, allocations: 8.031 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.2929, allocations: 8.844 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.293, allocations: 160.4 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.293, allocations: 4.375 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.293, allocations: 4.375 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.029e-05/0.2931, allocations: 42 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2931, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2931, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2931, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.2932, allocations: 11.98 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.2934, allocations: 165.6 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.2935, allocations: 34.52 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.2935, allocations: 8.922 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/0.2953, allocations: 0.665 MB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.2954, allocations: 34.5 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2954, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001501/0.2955, allocations: 49.62 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.2956, allocations: 55.41 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.2957, allocations: 97.86 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.2957, allocations: 25.7 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.2957, allocations: 84.14 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.2957, allocations: 3.906 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.2958, allocations: 21.7 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2959, allocations: 310.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.2959, allocations: 4 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.2959, allocations: 4.125 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.296, allocations: 20.84 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.296, allocations: 3.938 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.208e-05/0.296, allocations: 49.55 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2961, allocations: 11.92 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2961, allocations: 4 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.2961, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.2962, allocations: 4 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2962, allocations: 0 / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.2962, allocations: 0 / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.2962, allocations: 0 / 1.072 GB, free: 5.77 MB / 0.8262 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 6.414e-05/0.2963, allocations: 117.8 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.2963, allocations: 3.938 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.2964, allocations: 53.12 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2964, allocations: 3.984 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2964, allocations: 4 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2964, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.2965, allocations: 153.7 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2966, allocations: 4 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.2966, allocations: 7.984 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2966, allocations: 3.938 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2966, allocations: 3.938 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/0.2966, allocations: 0 / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2966, allocations: 0 / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.284e-05/0.2967, allocations: 73.12 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.2968, allocations: 84.98 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2968, allocations: 4 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.2968, allocations: 4.422 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.2968, allocations: 3.938 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.2968, allocations: 7.984 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.736e-05/0.2969, allocations: 75.28 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2969, allocations: 0 / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002367/0.2971, allocations: 32 kB / 1.073 GB, free: 5.035 MB / 0.8262 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.000253/0.2974, allocations: 127.3 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.192e-05/0.2975, allocations: 19.92 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2975, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.927e-05/0.2975, allocations: 8 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.2977, allocations: 7.938 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.298, allocations: 123.6 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.2983, allocations: 0.6768 MB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.2983, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.2983, allocations: 11.44 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of SimCode: time 4.2e-07/0.2983, allocations: 0 / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of Templates: time 0.003123/0.3015, allocations: 0.8881 MB / 1.075 GB, free: 3.125 MB / 0.8262 GB 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)