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.001117/0.001117, allocations: 109.4 kB / 15.69 MB, free: 128 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.001182/0.001182, allocations: 186.3 kB / 16.62 MB, free: 6.613 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.294/1.294, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.637/1.637, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001377/0.001377, allocations: 67.48 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2116, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002864/0.2145, allocations: 1.28 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2157, allocations: 0.7305 MB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.2158, allocations: 7.938 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.2158, allocations: 3.984 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.2159, allocations: 7.938 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.2162, allocations: 87.97 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.2163, allocations: 19.86 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.2164, allocations: 0 / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.162e-05/0.2164, allocations: 4 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.2164, allocations: 11.94 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.2165, allocations: 4 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.2168, allocations: 156 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.2168, allocations: 0 / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.2168, allocations: 7.938 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.217, allocations: 100.1 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2171, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2171, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2171, allocations: 0 / 0.786 GB, free: 10.82 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.0003631/0.2174, allocations: 335.5 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2175, allocations: 15.97 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.2175, allocations: 34.75 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.2176, allocations: 0.9375 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2177, allocations: 180.2 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2177, allocations: 384 / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.2177, allocations: 3.938 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.996e-05/0.2178, allocations: 29.7 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2178, allocations: 0 / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2179, allocations: 0 / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.2179, allocations: 0 / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.2179, allocations: 19.97 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.2181, allocations: 158.8 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.2182, allocations: 38.45 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.2182, allocations: 16.91 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001805/0.22, allocations: 0.6534 MB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.2201, allocations: 30.56 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.2201, allocations: 0 / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001762/0.2203, allocations: 49.69 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2203, allocations: 59.34 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.2204, allocations: 89.86 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2204, allocations: 29.7 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.2204, allocations: 88.12 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.2205, allocations: 7.812 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.2205, allocations: 13.72 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2206, allocations: 318.8 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.2207, allocations: 4 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.2207, allocations: 12.11 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.2207, allocations: 12.86 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2207, allocations: 0 / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.786e-05/0.2208, allocations: 53.56 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2208, allocations: 8.938 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2208, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2209, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.2209, allocations: 4 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2209, allocations: 0 / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.221, allocations: 0 / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.221, allocations: 11.94 kB / 0.7882 GB, free: 8.266 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 8.101e-05/0.2211, allocations: 109.8 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.2211, allocations: 0 / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.2212, allocations: 61.11 kB / 0.7884 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2212, allocations: 4 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2212, allocations: 0 / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2212, allocations: 3.938 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2213, allocations: 161.6 kB / 0.7885 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2214, allocations: 4 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.2214, allocations: 4 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2214, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2214, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2214, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2214, allocations: 4.375 kB / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.014e-05/0.2215, allocations: 73.05 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.2216, allocations: 81.02 kB / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.2216, allocations: 0 / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.2216, allocations: 7.984 kB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.2216, allocations: 8 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.2216, allocations: 0 / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.2217, allocations: 79.22 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.683e-06/0.2217, allocations: 0 / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002307/0.2219, allocations: 31.94 kB / 0.7888 GB, free: 7.535 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.0004991/0.2224, allocations: 0.6398 MB / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.079e-05/0.2225, allocations: 8 kB / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2225, allocations: 0 / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.2226, allocations: 19.92 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.2228, allocations: 10.44 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.2232, allocations: 147.6 kB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2235, allocations: 0.6768 MB / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.2235, allocations: 0 / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.2235, allocations: 18.69 kB / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2235, allocations: 0 / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.2405, allocations: 1.759 MB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.712, allocations: 7.938 kB / 0.792 GB, free: 4.305 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)