Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001169/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001278/0.001278, allocations: 198.5 kB / 16.14 MB, free: 6.656 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.33 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2843, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00231/0.2866, allocations: 1.355 MB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2878, allocations: 0.7679 MB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.298e-05/0.2878, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.2878, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.2879, allocations: 7.922 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.2882, allocations: 72.05 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.2882, allocations: 23.88 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.2883, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.832e-05/0.2883, allocations: 4 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.2883, allocations: 11.92 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.2883, allocations: 0 / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.2886, allocations: 153 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.2887, allocations: 0 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.2887, allocations: 8 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.2889, allocations: 104.5 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2889, allocations: 4 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2889, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2889, allocations: 0 / 1.07 GB, free: 8.367 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.0003343/0.2893, allocations: 331.5 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2893, allocations: 16.02 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.2893, allocations: 8.781 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2895, allocations: 160.4 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2895, allocations: 384 / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.2895, allocations: 8.312 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.417e-05/0.2896, allocations: 46 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2896, allocations: 0 / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-06/0.2896, allocations: 0 / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2896, allocations: 0 / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/0.2897, allocations: 8 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.2898, allocations: 157.6 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.157e-05/0.2899, allocations: 34.55 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.29, allocations: 24.84 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001743/0.2917, allocations: 0.6533 MB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2918, allocations: 38.5 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2918, allocations: 0 / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001436/0.2919, allocations: 45.69 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2919, allocations: 51.41 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.292, allocations: 101.8 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.292, allocations: 25.7 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.2921, allocations: 80.14 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.2921, allocations: 16.02 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.2921, allocations: 17.66 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2923, allocations: 314.8 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.2923, allocations: 3.984 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.2923, allocations: 8 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.2923, allocations: 16.86 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2923, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.065e-05/0.2924, allocations: 49.59 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2924, allocations: 7.938 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2924, allocations: 4 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2925, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.2925, allocations: 11.94 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2925, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.2925, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.2926, allocations: 0 / 1.072 GB, free: 5.863 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 7.449e-05/0.2926, allocations: 117.8 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.2926, allocations: 3.938 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.2928, allocations: 57.12 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2928, allocations: 0 / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2928, allocations: 0 / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2928, allocations: 0 / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.2929, allocations: 153.7 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2929, allocations: 0 / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.2929, allocations: 8 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2929, allocations: 3.938 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.293, allocations: 3.938 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.293, allocations: 0 / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.293, allocations: 3.938 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.326e-05/0.2931, allocations: 73.12 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.2931, allocations: 89.39 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.2931, allocations: 4 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.2931, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.2932, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2932, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.2932, allocations: 83.28 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2932, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002331/0.2934, allocations: 35.98 kB / 1.073 GB, free: 5.133 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.0002653/0.2937, allocations: 123.2 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.756e-05/0.2938, allocations: 11.94 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2938, allocations: 4.094 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.2938, allocations: 15.98 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.294, allocations: 4.562 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.2943, allocations: 111.7 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.2945, allocations: 0.677 MB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.2946, allocations: 11.92 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.2946, allocations: 15.44 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2946, allocations: 0 / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of Templates: time 0.002867/0.2975, allocations: 0.8848 MB / 1.075 GB, free: 3.227 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)