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.384/1.384, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009528/0.0009528, allocations: 180.7 kB / 327 MB, free: 2.078 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.722/1.722, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.000811/0.0008111, allocations: 93.25 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 9.781 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2081, allocations: 106.4 MB / 0.9009 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001433/0.2096, allocations: 1.025 MB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2107, allocations: 0.7577 MB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.2107, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.2108, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/0.2108, allocations: 11.86 kB / 0.9027 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.2112, allocations: 72.05 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.917e-05/0.2113, allocations: 15.88 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.2113, allocations: 0 / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.2113, allocations: 4 kB / 0.9028 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.2114, allocations: 15.98 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2114, allocations: 7.938 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.2117, allocations: 149 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.2118, allocations: 4 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.2118, allocations: 33.69 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.212, allocations: 104.2 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.212, allocations: 0 / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.774e-06/0.212, allocations: 0 / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.212, allocations: 0 / 0.9031 GB, free: 61.13 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.0002668/0.2123, allocations: 331.8 kB / 0.9034 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2123, allocations: 16.02 kB / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.2124, allocations: 34.69 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.064e-05/0.2124, allocations: 0.9375 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.2125, allocations: 160.4 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.2125, allocations: 4.312 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.2125, allocations: 4.375 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2126, allocations: 41.81 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2127, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.2127, allocations: 4 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2127, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.2127, allocations: 8 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.2129, allocations: 153.7 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.2129, allocations: 38.61 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.213, allocations: 12.86 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002129/0.2151, allocations: 1.031 MB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2151, allocations: 42.44 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2151, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001438/0.2153, allocations: 53.72 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.2153, allocations: 51.41 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.908e-05/0.2154, allocations: 105.8 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.2154, allocations: 25.7 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.396e-05/0.2154, allocations: 80.14 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.2154, allocations: 7.844 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.2155, allocations: 4 kB / 0.9052 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/0.2155, allocations: 314.8 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.2155, allocations: 0 / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.2155, allocations: 11.97 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.2156, allocations: 16.86 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2156, allocations: 4.125 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.209e-05/0.2157, allocations: 53.56 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2157, allocations: 4 kB / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2157, allocations: 0 / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2157, allocations: 0 / 0.9056 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.2158, allocations: 8 kB / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2158, allocations: 0 / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.2158, allocations: 0 / 0.9056 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2158, allocations: 4 kB / 0.9056 GB, free: 58.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.202e-05/0.2159, allocations: 117.8 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.2159, allocations: 3.938 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.216, allocations: 61.05 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.216, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.216, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.216, allocations: 0 / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.582e-05/0.2161, allocations: 157.6 kB / 0.9059 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2161, allocations: 0 / 0.9059 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.2161, allocations: 11.94 kB / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2161, allocations: 0 / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.2161, allocations: 4 kB / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2161, allocations: 0 / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2162, allocations: 0 / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.611e-05/0.2162, allocations: 65.12 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.2162, allocations: 88.98 kB / 0.9061 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.2163, allocations: 4 kB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.2163, allocations: 0 / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.2163, allocations: 3.984 kB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2163, allocations: 4 kB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.799e-05/0.2163, allocations: 83.22 kB / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2163, allocations: 0 / 0.9062 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002146/0.2166, allocations: 28 kB / 0.9062 GB, free: 57.51 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 (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.0004084/0.217, allocations: 0.6439 MB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.156e-05/0.2171, allocations: 16 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2171, allocations: 0 / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.2171, allocations: 7.938 kB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.2173, allocations: 11.03 kB / 0.9069 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.2176, allocations: 156.2 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.2178, allocations: 0.677 MB / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.2178, allocations: 3.938 kB / 0.9077 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.2178, allocations: 15.38 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2179, allocations: 0 / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.2301, allocations: 1.569 MB / 0.9092 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.2304, allocations: 248.3 kB / 0.9095 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.894, allocations: 0 / 0.9095 GB, free: 54.27 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)