Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_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_8_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.001206/0.001206, allocations: 108 kB / 15.6 MB, free: 124 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.001354/0.001354, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.443/1.443, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.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: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 68.45 kB / 0.6715 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002394/0.2367, allocations: 1.286 MB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.2378, allocations: 0.7345 MB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.2378, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.2379, allocations: 11.88 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.2379, allocations: 0 / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.2383, allocations: 91.91 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.2383, allocations: 19.92 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.2384, allocations: 4 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.2384, allocations: 4 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.2384, allocations: 15.86 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2385, allocations: 7.984 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.2388, allocations: 140.1 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.2388, allocations: 8 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.2388, allocations: 7.938 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.239, allocations: 100.1 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.239, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.239, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.239, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.6075 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.0003213/0.2393, allocations: 331.6 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2394, allocations: 8.031 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.2394, allocations: 4.844 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.2395, allocations: 172.3 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2395, allocations: 4.375 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.2396, allocations: 8.062 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.2396, allocations: 37.64 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2397, allocations: 0 / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.2397, allocations: 0 / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2397, allocations: 4 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.2397, allocations: 7.984 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2399, allocations: 153.7 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.875e-05/0.24, allocations: 35.64 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.24, allocations: 24.84 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00174/0.2418, allocations: 0.6494 MB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2418, allocations: 34.5 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2418, allocations: 0 / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001475/0.2419, allocations: 53.69 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.242, allocations: 51.41 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.2421, allocations: 93.86 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.2421, allocations: 29.83 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.2421, allocations: 84.12 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.2421, allocations: 11.89 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.2422, allocations: 13.72 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.2423, allocations: 310.8 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.2423, allocations: 8 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.2423, allocations: 11.92 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.2424, allocations: 21.08 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2424, allocations: 4 kB / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.691e-05/0.2424, allocations: 49.52 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2425, allocations: 10.66 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2425, allocations: 0 / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2425, allocations: 0 / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.2425, allocations: 8 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2425, allocations: 0 / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.2426, allocations: 0 / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2426, allocations: 4 kB / 0.7879 GB, free: 8.531 MB / 0.6075 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 5.995e-05/0.2426, allocations: 114.4 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.2427, allocations: 3.938 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.2428, allocations: 57.17 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.2428, allocations: 4 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2428, allocations: 3.938 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2428, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.2429, allocations: 157.5 kB / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2429, allocations: 0 / 0.7882 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.2429, allocations: 4 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.243, allocations: 4 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.243, allocations: 0 / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.243, allocations: 4 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.243, allocations: 0 / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.028e-05/0.2431, allocations: 77 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.2431, allocations: 81.02 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.2431, allocations: 0 / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.2431, allocations: 0 / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.2432, allocations: 11.98 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.2432, allocations: 0 / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.682e-05/0.2432, allocations: 75.28 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2432, allocations: 4 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002212/0.2434, allocations: 28 kB / 0.7885 GB, free: 7.805 MB / 0.6075 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.0002194/0.2437, allocations: 131.3 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.545e-05/0.2437, allocations: 19.92 kB / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2437, allocations: 0 / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.2438, allocations: 8 kB / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.244, allocations: 14.36 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.2442, allocations: 118 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.2444, allocations: 0.6768 MB / 0.7894 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.2445, allocations: 336 / 0.7894 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.2445, allocations: 11.44 kB / 0.7894 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.2445, allocations: 0 / 0.7894 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.003043/0.2475, allocations: 0.9142 MB / 0.7903 GB, free: 5.867 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)