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.528/1.528, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001165/0.001166, allocations: 190.3 kB / 326.5 MB, free: 2.262 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.808/1.808, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009034/0.0009033, allocations: 101.1 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 8.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.3952, allocations: 132.8 MB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.3955, allocations: 87.94 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007485/0.403, allocations: 2.362 MB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.465e-06/0.403, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.4031, allocations: 7.938 kB / 1.032 GB, free: 8.414 MB / 0.6823 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.0003248/0.4034, allocations: 345.4 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4034, allocations: 12.03 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.4035, allocations: 30.56 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.4035, allocations: 4 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4036, allocations: 163 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4037, allocations: 4 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.4037, allocations: 0 / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.4038, allocations: 41.69 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.4038, allocations: 0 / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.4038, allocations: 0 / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4038, allocations: 3.984 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.4038, allocations: 11.94 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.404, allocations: 157.6 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.658e-05/0.4041, allocations: 34.67 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.4053, allocations: 0.555 MB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4053, allocations: 34.55 kB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4053, allocations: 4 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.00014/0.4055, allocations: 49.62 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4055, allocations: 51.41 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.799e-05/0.4056, allocations: 89 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4056, allocations: 25.7 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.4057, allocations: 88.08 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.4057, allocations: 11.81 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.4057, allocations: 0 / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4058, allocations: 315 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.4058, allocations: 11.98 kB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-06/0.4059, allocations: 0 / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.816e-05/0.4059, allocations: 4 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4059, allocations: 3.953 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.686e-05/0.406, allocations: 49.62 kB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.406, allocations: 6.656 kB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.406, allocations: 0 / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.406, allocations: 4 kB / 1.034 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.667e-05/0.4061, allocations: 4 kB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4061, allocations: 4 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.4061, allocations: 0 / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.4061, allocations: 0 / 1.034 GB, free: 6.039 MB / 0.6823 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 7.851e-05/0.4062, allocations: 113.8 kB / 1.034 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.4062, allocations: 7.938 kB / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.4063, allocations: 57.06 kB / 1.034 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4064, allocations: 0 / 1.034 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4064, allocations: 0 / 1.034 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4064, allocations: 4 kB / 1.034 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.4065, allocations: 161.5 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4065, allocations: 4 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.4065, allocations: 7.953 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4065, allocations: 0 / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.4066, allocations: 0 / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4066, allocations: 0 / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4066, allocations: 0 / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.7e-05/0.4067, allocations: 70.17 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.4067, allocations: 81.16 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.4067, allocations: 11.92 kB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.4068, allocations: 4 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.4068, allocations: 7.938 kB / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.4068, allocations: 4 kB / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.4068, allocations: 75.28 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4068, allocations: 3.938 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002179/0.4071, allocations: 24 kB / 1.035 GB, free: 5.309 MB / 0.6823 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.0005189/0.4076, allocations: 0.632 MB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.446e-05/0.4077, allocations: 19.94 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4077, allocations: 4 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.4077, allocations: 4 kB / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.4079, allocations: 17.16 kB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.4083, allocations: 156.2 kB / 1.036 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4085, allocations: 0.677 MB / 1.036 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.4086, allocations: 11.94 kB / 1.036 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.4086, allocations: 7.438 kB / 1.036 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.4086, allocations: 0 / 1.036 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.42, allocations: 1.455 MB / 1.038 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.4202, allocations: 229.2 kB / 1.038 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.03, allocations: 3.938 kB / 1.038 GB, free: 2.188 MB / 0.6823 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)