Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009796/0.0009797, allocations: 174.5 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 0.5777 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007487/0.0007486, allocations: 87.09 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 12.5 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1871, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001271/0.1884, allocations: 1.017 MB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008709/0.1893, allocations: 0.6967 MB / 0.902 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.1893, allocations: 4 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.1893, allocations: 0 / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.1894, allocations: 3.984 kB / 0.902 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.1897, allocations: 79.69 kB / 0.9021 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.287e-05/0.1897, allocations: 15.94 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.1898, allocations: 4 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.857e-05/0.1898, allocations: 7.875 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.1899, allocations: 11.97 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1899, allocations: 4 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.1901, allocations: 151.8 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-06/0.1902, allocations: 7.938 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.1902, allocations: 25.7 kB / 0.9023 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1903, allocations: 71.89 kB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1903, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.1903, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.1903, allocations: 0 / 0.9024 GB, free: 62.21 MB / 0.6042 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.0002413/0.1906, allocations: 327.6 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1906, allocations: 12.03 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.602e-05/0.1906, allocations: 34.56 kB / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.1907, allocations: 3.953 kB / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.1908, allocations: 163.1 kB / 0.9029 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1908, allocations: 3.984 kB / 0.9029 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1908, allocations: 4 kB / 0.9029 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.016e-05/0.1909, allocations: 29.7 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1909, allocations: 3.938 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1909, allocations: 4 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1909, allocations: 0 / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.1909, allocations: 15.94 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.1911, allocations: 153.7 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.65e-05/0.1912, allocations: 30.58 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.1912, allocations: 12.92 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001992/0.1932, allocations: 1.038 MB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.1932, allocations: 38.56 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1932, allocations: 3.938 kB / 0.9042 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001232/0.1933, allocations: 49.83 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.1934, allocations: 51.41 kB / 0.9043 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.059e-05/0.1934, allocations: 97.81 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.1934, allocations: 29.7 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.189e-05/0.1935, allocations: 80.14 kB / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.1935, allocations: 11.75 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.1935, allocations: 0 / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.1935, allocations: 319 kB / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.1935, allocations: 8 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.1936, allocations: 8.031 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.574e-05/0.1936, allocations: 4 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1936, allocations: 0 / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.218e-05/0.1936, allocations: 49.62 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1937, allocations: 4 kB / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1937, allocations: 3.938 kB / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1937, allocations: 0 / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.1937, allocations: 8 kB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1938, allocations: 0 / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.1938, allocations: 4 kB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1938, allocations: 7.938 kB / 0.9049 GB, free: 59.33 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.1938, allocations: 109.8 kB / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-06/0.1938, allocations: 4 kB / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.837e-05/0.1939, allocations: 53.12 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.194, allocations: 0 / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.194, allocations: 4 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.194, allocations: 0 / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.806e-05/0.194, allocations: 161.5 kB / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.194, allocations: 0 / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.1941, allocations: 4 kB / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1941, allocations: 0 / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1941, allocations: 4 kB / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1941, allocations: 0 / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1941, allocations: 0 / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.031e-05/0.1942, allocations: 80.95 kB / 0.9053 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.1942, allocations: 81.09 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1942, allocations: 4 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.165e-05/0.1942, allocations: 0 / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.1942, allocations: 4 kB / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.1942, allocations: 0 / 0.9054 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.523e-05/0.1943, allocations: 79.28 kB / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1943, allocations: 0 / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001898/0.1945, allocations: 27.98 kB / 0.9055 GB, free: 58.62 MB / 0.6042 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 (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.0003166/0.1948, allocations: 0.6401 MB / 0.9061 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.693e-05/0.1949, allocations: 23.92 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1949, allocations: 3.938 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/0.1949, allocations: 11.98 kB / 0.9061 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1951, allocations: 3.047 kB / 0.9061 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.1954, allocations: 148.2 kB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.1955, allocations: 0.677 MB / 0.9069 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.1955, allocations: 11.94 kB / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.1956, allocations: 11.44 kB / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1956, allocations: 0 / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.2065, allocations: 1.571 MB / 0.9085 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000125/0.2067, allocations: 233.5 kB / 0.9087 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/1.728, allocations: 4.062 kB / 0.9087 GB, free: 55.39 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)