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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 108 kB / 15.6 MB, free: 132 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.001946/0.001946, allocations: 197.6 kB / 16.54 MB, free: 6.672 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.343/1.343, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.787/1.787, 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.002621/0.002621, allocations: 75.61 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2281, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002327/0.2304, allocations: 1.291 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2315, allocations: 0.7305 MB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.2316, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.2316, allocations: 11.92 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.2317, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.232, allocations: 91.91 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.079e-05/0.2321, allocations: 15.92 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.2321, allocations: 0 / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.2321, allocations: 8 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.2322, allocations: 11.94 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2322, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.2325, allocations: 156 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.2325, allocations: 4 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.2326, allocations: 3.938 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.2327, allocations: 108.1 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2327, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2328, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2328, allocations: 0 / 0.7859 GB, free: 10.95 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.0003266/0.2331, allocations: 339.5 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2331, allocations: 8.031 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.2332, allocations: 34.75 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.116e-05/0.2332, allocations: 0.9375 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2333, allocations: 172.3 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2333, allocations: 12.25 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.2334, allocations: 3.938 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.256e-05/0.2335, allocations: 37.62 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.2335, allocations: 0 / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.2335, allocations: 0 / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2335, allocations: 8 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.2335, allocations: 11.98 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.2337, allocations: 154.8 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.2338, allocations: 34.52 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.2338, allocations: 12.91 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/0.2356, allocations: 0.6534 MB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.2357, allocations: 34.5 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.775e-06/0.2357, allocations: 4 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001556/0.2359, allocations: 49.69 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2359, allocations: 51.41 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.236, allocations: 89.86 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.236, allocations: 33.7 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.236, allocations: 84.12 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.236, allocations: 11.8 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.2361, allocations: 13.72 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2362, allocations: 319 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.2362, allocations: 4 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.2362, allocations: 7.984 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.349e-05/0.2363, allocations: 16.8 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2363, allocations: 4 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.711e-05/0.2363, allocations: 45.62 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2364, allocations: 8 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2364, allocations: 0 / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2364, allocations: 0 / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.2365, allocations: 4 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2365, allocations: 4 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.2365, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2365, allocations: 4 kB / 0.788 GB, free: 8.402 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 6.931e-05/0.2366, allocations: 114.4 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.2366, allocations: 0 / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.2367, allocations: 64.98 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2367, allocations: 8.312 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2367, allocations: 4 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2367, allocations: 0 / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.95e-05/0.2368, allocations: 157.6 kB / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2368, allocations: 0 / 0.7884 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.2369, allocations: 4 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2369, allocations: 3.984 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.2369, allocations: 0 / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.2369, allocations: 0 / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2369, allocations: 4 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.318e-05/0.237, allocations: 77 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.237, allocations: 81.02 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.2371, allocations: 4 kB / 0.7885 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/0.2371, allocations: 7.984 kB / 0.7885 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.2371, allocations: 4 kB / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.2371, allocations: 0 / 0.7885 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.725e-05/0.2371, allocations: 75.28 kB / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2371, allocations: 0 / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002237/0.2374, allocations: 28 kB / 0.7886 GB, free: 7.668 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.0004566/0.2378, allocations: 0.6436 MB / 0.7893 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.705e-05/0.2379, allocations: 16 kB / 0.7893 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2379, allocations: 0 / 0.7893 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.652e-05/0.2379, allocations: 11.98 kB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.2381, allocations: 4 kB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.2385, allocations: 147.6 kB / 0.7894 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.2388, allocations: 0.6768 MB / 0.7901 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.2388, allocations: 15.88 kB / 0.7901 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.2388, allocations: 7.438 kB / 0.7901 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2388, allocations: 0 / 0.7901 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.2569, allocations: 1.735 MB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.952, allocations: 7.875 kB / 0.7918 GB, free: 4.434 MB / 0.6075 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)