Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.767/2.767, allocations: 287.3 MB / 302.3 MB, free: 8.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 178.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 92.28 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.000485, allocations: 13.02 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001443/0.2119, allocations: 0.9982 MB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2132, allocations: 0.6852 MB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.2132, allocations: 0 / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.2133, allocations: 3.938 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.2133, allocations: 3.984 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.2137, allocations: 79.8 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.881e-05/0.2138, allocations: 11.92 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.2138, allocations: 4 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.2138, allocations: 4 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.2139, allocations: 7.984 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2139, allocations: 4 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.2143, allocations: 159.8 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.2143, allocations: 3.938 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.2144, allocations: 25.7 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.2146, allocations: 72.12 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2146, allocations: 0 / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2146, allocations: 0 / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2146, allocations: 4 kB / 0.9803 GB, free: 26.2 MB / 0.6198 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.0002854/0.2149, allocations: 323.4 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2149, allocations: 8.031 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.215, allocations: 42.5 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.503e-05/0.215, allocations: 7.859 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.63e-05/0.2151, allocations: 171 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2151, allocations: 0 / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.2152, allocations: 4 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.2153, allocations: 33.64 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2153, allocations: 4 kB / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2153, allocations: 4 kB / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2153, allocations: 0 / 0.9809 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.887e-05/0.2154, allocations: 11.98 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.2155, allocations: 157.7 kB / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.092e-05/0.2156, allocations: 26.58 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003774/0.2194, allocations: 1.035 MB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.2195, allocations: 38.48 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.2195, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001945/0.2197, allocations: 49.86 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.2198, allocations: 59.41 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.201e-05/0.2198, allocations: 89.86 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.2198, allocations: 29.83 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.94e-05/0.2199, allocations: 80.14 kB / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.2199, allocations: 11.91 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.2199, allocations: 0 / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.22, allocations: 314.8 kB / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.22, allocations: 7.984 kB / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.727e-05/0.22, allocations: 4 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.2201, allocations: 7.938 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2201, allocations: 3.938 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.386e-05/0.2202, allocations: 53.59 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2202, allocations: 8 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2202, allocations: 0 / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2203, allocations: 0 / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.2203, allocations: 8 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2203, allocations: 0 / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.2204, allocations: 0 / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.2204, allocations: 4 kB / 0.9828 GB, free: 23.33 MB / 0.6198 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 5.77e-05/0.2205, allocations: 113.8 kB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.2205, allocations: 7.938 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.2206, allocations: 57.12 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2207, allocations: 0 / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2207, allocations: 4 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2207, allocations: 0 / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.956e-05/0.2208, allocations: 153.6 kB / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2208, allocations: 0 / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.2208, allocations: 4 kB / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2208, allocations: 0 / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.2209, allocations: 0 / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2209, allocations: 4 kB / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2209, allocations: 3.984 kB / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.339e-05/0.221, allocations: 81.02 kB / 0.9832 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.221, allocations: 81.02 kB / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.221, allocations: 3.984 kB / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.839e-05/0.2211, allocations: 0 / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.2211, allocations: 0 / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2211, allocations: 8 kB / 0.9833 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.2211, allocations: 75.28 kB / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2211, allocations: 0 / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003062/0.2215, allocations: 35.94 kB / 0.9834 GB, free: 22.61 MB / 0.6198 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.0004734/0.2219, allocations: 0.6401 MB / 0.984 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.965e-05/0.2221, allocations: 15.92 kB / 0.9841 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2221, allocations: 4 kB / 0.9841 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.2221, allocations: 7.984 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.2223, allocations: 11.94 kB / 0.9841 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.2227, allocations: 156.2 kB / 0.9842 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2228, allocations: 0.6809 MB / 0.9849 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.2229, allocations: 0 / 0.9849 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.2229, allocations: 11.44 kB / 0.9849 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.2229, allocations: 0 / 0.9849 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.2462, allocations: 1.553 MB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/0.2466, allocations: 218.9 kB / 0.9866 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/2.673, allocations: 0 / 0.9866 GB, free: 19.37 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)