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.642/1.642, allocations: 285.4 MB / 298 MB, free: 5.945 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.001211/0.001212, allocations: 172.8 kB / 366.4 MB, free: 2.066 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.766/1.766, allocations: 205.1 MB / 0.6248 GB, free: 7.703 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008125/0.0008125, allocations: 92.31 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.859e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.8347, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/1.037, allocations: 139.1 MB / 1.107 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.038, allocations: 92.59 kB / 1.107 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007365/1.045, allocations: 2.351 MB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.575e-06/1.045, allocations: 4 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.045, allocations: 0 / 1.109 GB, free: 10.33 MB / 0.7136 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.0003048/1.045, allocations: 330.8 kB / 1.11 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.045, allocations: 8.031 kB / 1.11 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/1.045, allocations: 34.56 kB / 1.11 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/1.045, allocations: 4 kB / 1.11 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/1.046, allocations: 170.8 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.046, allocations: 4 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/1.046, allocations: 3.984 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/1.046, allocations: 37.69 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/1.046, allocations: 0 / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/1.046, allocations: 0 / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.046, allocations: 0 / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/1.046, allocations: 15.94 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/1.046, allocations: 162.2 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/1.046, allocations: 26.72 kB / 1.11 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/1.046, allocations: 22.31 kB / 1.11 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.047, allocations: 0.5471 MB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/1.047, allocations: 34.56 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.047, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001283/1.047, allocations: 45.62 kB / 1.111 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.048, allocations: 55.41 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/1.048, allocations: 93 kB / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/1.048, allocations: 25.7 kB / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/1.048, allocations: 80.14 kB / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/1.048, allocations: 7.891 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/1.048, allocations: 0 / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.048, allocations: 318.8 kB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/1.048, allocations: 0 / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/1.048, allocations: 8.125 kB / 1.111 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.99e-05/1.048, allocations: 4 kB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.048, allocations: 1.969 kB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.713e-05/1.048, allocations: 53.58 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/1.048, allocations: 4 kB / 1.111 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.048, allocations: 0 / 1.111 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.048, allocations: 0 / 1.111 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/1.048, allocations: 14.3 kB / 1.111 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/1.048, allocations: 1.719 kB / 1.111 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/1.048, allocations: 0 / 1.111 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/1.048, allocations: 0 / 1.111 GB, free: 7.973 MB / 0.7136 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 6.48e-05/1.048, allocations: 105 kB / 1.111 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/1.048, allocations: 14.81 kB / 1.111 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/1.048, allocations: 60.03 kB / 1.111 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.048, allocations: 240 / 1.111 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.048, allocations: 0 / 1.111 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.048, allocations: 3.984 kB / 1.111 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/1.048, allocations: 149.7 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.048, allocations: 0 / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/1.048, allocations: 12 kB / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/1.048, allocations: 3.953 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/1.049, allocations: 0 / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.049, allocations: 3.984 kB / 1.112 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.049, allocations: 0 / 1.112 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.884e-05/1.049, allocations: 69.12 kB / 1.112 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/1.049, allocations: 77.11 kB / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/1.049, allocations: 11.83 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/1.049, allocations: 4 kB / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/1.049, allocations: 3.938 kB / 1.112 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/1.049, allocations: 0 / 1.112 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.682e-05/1.049, allocations: 79.28 kB / 1.112 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.049, allocations: 0 / 1.112 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002205/1.049, allocations: 35.92 kB / 1.112 GB, free: 7.258 MB / 0.7136 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.0005672/1.05, allocations: 0.6281 MB / 1.112 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.036e-05/1.05, allocations: 19.94 kB / 1.112 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.05, allocations: 0 / 1.112 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/1.05, allocations: 8 kB / 1.112 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/1.05, allocations: 13.94 kB / 1.112 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/1.05, allocations: 106.5 kB / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/1.051, allocations: 0.677 MB / 1.113 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.54e-05/1.051, allocations: 6.812 kB / 1.113 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/1.051, allocations: 11.44 kB / 1.113 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.051, allocations: 0 / 1.113 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/1.064, allocations: 1.473 MB / 1.115 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.064, allocations: 189.1 kB / 1.115 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.746, allocations: 4.062 kB / 1.115 GB, free: 4.211 MB / 0.7136 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)