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.527/1.527, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 184.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009354/0.0009359, allocations: 82.53 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.059e-05/4.059e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.239, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8379/1.077, allocations: 132.8 MB / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.077, allocations: 89.86 kB / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008025/1.085, allocations: 2.347 MB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.315e-06/1.085, allocations: 0 / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.085, allocations: 0 / 1.024 GB, free: 15.75 MB / 0.6511 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.0003602/1.086, allocations: 337.1 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/1.086, allocations: 8.031 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/1.086, allocations: 38.55 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/1.086, allocations: 2 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.086, allocations: 175 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/1.086, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/1.086, allocations: 7 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/1.086, allocations: 29.7 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.086, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.086, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.086, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.711e-05/1.086, allocations: 19.11 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/1.087, allocations: 161.4 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/1.087, allocations: 34.2 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/1.087, allocations: 8.922 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/1.088, allocations: 0.5574 MB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.088, allocations: 30.56 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/1.088, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.000162/1.088, allocations: 49.06 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/1.088, allocations: 51.41 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/1.089, allocations: 93 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/1.089, allocations: 25.7 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/1.089, allocations: 83.95 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/1.089, allocations: 7.812 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/1.089, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.089, allocations: 314.8 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/1.089, allocations: 3.875 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/1.089, allocations: 7.984 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.379e-05/1.089, allocations: 7.953 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.089, allocations: 4.125 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.048e-05/1.089, allocations: 45.06 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.089, allocations: 9.656 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.089, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.089, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/1.089, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.089, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/1.089, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/1.089, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.6511 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 () * 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 9.444e-05/1.089, allocations: 108.9 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/1.089, allocations: 8 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/1.089, allocations: 64.41 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/1.089, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.089, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/1.09, allocations: 7.938 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/1.09, allocations: 161.3 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.09, allocations: 7.891 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/1.09, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.09, allocations: 0 / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/1.09, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.09, allocations: 0 / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.09, allocations: 0 / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/1.09, allocations: 64.62 kB / 1.026 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/1.09, allocations: 85.06 kB / 1.026 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/1.09, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.179e-05/1.09, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/1.09, allocations: 3.984 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/1.09, allocations: 8 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.335e-05/1.09, allocations: 78.78 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.09, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002497/1.09, allocations: 31.94 kB / 1.027 GB, free: 12.7 MB / 0.6511 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 () * 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.0005377/1.091, allocations: 0.6395 MB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.207e-05/1.091, allocations: 11.98 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.091, allocations: 0 / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/1.091, allocations: 15.75 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/1.091, allocations: 2.031 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/1.092, allocations: 106.8 kB / 1.027 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/1.092, allocations: 0.677 MB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.261e-05/1.092, allocations: 4 kB / 1.028 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/1.092, allocations: 19.31 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.092, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/1.105, allocations: 1.477 MB / 1.029 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.105, allocations: 187.8 kB / 1.03 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.835, allocations: 0 / 1.03 GB, free: 9.633 MB / 0.6511 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)