Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.686/1.686, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001201/0.001201, allocations: 181.9 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009595/0.0009595, allocations: 90.88 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 12.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.738/0.9443, allocations: 139.1 MB / 1.115 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.9446, allocations: 88.45 kB / 1.115 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00731/0.9519, allocations: 2.358 MB / 1.118 GB, free: 31.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.784e-06/0.952, allocations: 0 / 1.118 GB, free: 31.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.952, allocations: 0 / 1.118 GB, free: 31.91 MB / 0.698 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.0003191/0.9523, allocations: 340.5 kB / 1.118 GB, free: 31.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.9524, allocations: 7.781 kB / 1.118 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.9524, allocations: 31.38 kB / 1.118 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.13e-05/0.9524, allocations: 0.7812 kB / 1.118 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.9526, allocations: 174.8 kB / 1.118 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.9526, allocations: 0 / 1.118 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.9526, allocations: 2.734 kB / 1.118 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.114e-05/0.9527, allocations: 32.77 kB / 1.118 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.9527, allocations: 7.938 kB / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.9527, allocations: 3.812 kB / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9528, allocations: 0 / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.142e-05/0.9528, allocations: 16.58 kB / 1.118 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.953, allocations: 160 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.612e-05/0.953, allocations: 33.23 kB / 1.119 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.9541, allocations: 0.5516 MB / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.9541, allocations: 30.56 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.9542, allocations: 3.938 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001448/0.9543, allocations: 55.34 kB / 1.119 GB, free: 30.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.9543, allocations: 51.41 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.9544, allocations: 91.62 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.9544, allocations: 25.7 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.9545, allocations: 80.14 kB / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.9545, allocations: 3.906 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-06/0.9545, allocations: 3.938 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.9546, allocations: 317.1 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.218e-05/0.9546, allocations: 4 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.9547, allocations: 3.969 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.09e-05/0.9547, allocations: 9.969 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.9547, allocations: 0 / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.858e-05/0.9548, allocations: 51.77 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9548, allocations: 3.75 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.9548, allocations: 1.75 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.9548, allocations: 0 / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.9549, allocations: 7.406 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.9549, allocations: 0 / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.9549, allocations: 6.578 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.9549, allocations: 0 / 1.12 GB, free: 29.95 MB / 0.698 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 6.831e-05/0.955, allocations: 110.2 kB / 1.12 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.955, allocations: 11.8 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.9551, allocations: 57.27 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.9551, allocations: 0 / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.9551, allocations: 3.719 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.9551, allocations: 4 kB / 1.12 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.92e-05/0.9553, allocations: 150.7 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9553, allocations: 0 / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.9553, allocations: 3.781 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.9553, allocations: 3.953 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.9553, allocations: 11.56 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.9553, allocations: 7.859 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9553, allocations: 0 / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.893e-05/0.9554, allocations: 72.83 kB / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.9555, allocations: 85.05 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.9555, allocations: 3.953 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.9555, allocations: 48 / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.9555, allocations: 10.5 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.9555, allocations: 3.562 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.9556, allocations: 79.19 kB / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9556, allocations: 0 / 1.12 GB, free: 29.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002274/0.9558, allocations: 19.34 kB / 1.12 GB, free: 29.32 MB / 0.698 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.0004832/0.9563, allocations: 0.6373 MB / 1.121 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.606e-05/0.9564, allocations: 21.86 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9564, allocations: 4 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.9564, allocations: 3.844 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.9566, allocations: 10.12 kB / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.957, allocations: 161.3 kB / 1.121 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.9572, allocations: 0.6826 MB / 1.122 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.9573, allocations: 7.844 kB / 1.122 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.9573, allocations: 15.09 kB / 1.122 GB, free: 27.84 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/0.9573, allocations: 0 / 1.122 GB, free: 27.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.9696, allocations: 1.471 MB / 1.123 GB, free: 27.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.9698, allocations: 214.2 kB / 1.124 GB, free: 27.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.512, allocations: 0 / 1.124 GB, free: 27.46 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)