Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.394/2.394, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 190 kB / 0.4901 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.1 MB / 0.7992 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009636/0.0009635, allocations: 105 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003721, allocations: 12.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2556, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.4459, allocations: 151.2 MB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4462, allocations: 91.92 kB / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008363/0.4546, allocations: 2.417 MB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4547, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.4547, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 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.0004009/0.4551, allocations: 335.4 kB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4551, allocations: 8.031 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.758e-05/0.4552, allocations: 34.56 kB / 1.38 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.4552, allocations: 0 / 1.38 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4554, allocations: 171 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.4554, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.4554, allocations: 0 / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.829e-05/0.4555, allocations: 33.69 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4555, allocations: 0 / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.4556, allocations: 4 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4556, allocations: 0 / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.4556, allocations: 15.92 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.4558, allocations: 165.6 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.83e-05/0.4559, allocations: 30.58 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.4572, allocations: 0.5511 MB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.4572, allocations: 34.5 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.4572, allocations: 0 / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001619/0.4574, allocations: 53.81 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.4574, allocations: 51.41 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.4575, allocations: 93 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4575, allocations: 25.7 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.4576, allocations: 84.14 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.4576, allocations: 3.906 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.4576, allocations: 0 / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4578, allocations: 326.7 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.4578, allocations: 4 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.4578, allocations: 7.984 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.125e-05/0.4578, allocations: 8.125 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4578, allocations: 0 / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.589e-05/0.4579, allocations: 45.62 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4579, allocations: 8 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4579, allocations: 0 / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.458, allocations: 0 / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.458, allocations: 4 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.458, allocations: 0 / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.4581, allocations: 3.984 kB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.4581, allocations: 8 kB / 1.381 GB, free: 13.42 MB / 0.8855 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.807e-05/0.4581, allocations: 115.3 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/0.4582, allocations: 3.906 kB / 1.382 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.4583, allocations: 57.06 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4583, allocations: 4 kB / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4583, allocations: 0 / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4583, allocations: 0 / 1.382 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.4584, allocations: 157.6 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.4584, allocations: 4 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.4585, allocations: 4 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4585, allocations: 4 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.4585, allocations: 3.938 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4585, allocations: 0 / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4585, allocations: 7.984 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.577e-05/0.4586, allocations: 70.91 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.4586, allocations: 81.06 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.4587, allocations: 0 / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.259e-05/0.4587, allocations: 0 / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.4587, allocations: 11.94 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.4587, allocations: 0 / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.4588, allocations: 75.28 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4588, allocations: 0 / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002391/0.459, allocations: 31.98 kB / 1.382 GB, free: 12.7 MB / 0.8855 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.0005169/0.4595, allocations: 0.6439 MB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.241e-05/0.4596, allocations: 19.92 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4596, allocations: 0 / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.4596, allocations: 7.984 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.4598, allocations: 8 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.4602, allocations: 160.2 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4605, allocations: 0.677 MB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.4605, allocations: 4 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.4606, allocations: 7.438 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of SimCode: time 4.148e-06/0.4606, allocations: 0 / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.4728, allocations: 1.459 MB / 1.385 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.473, allocations: 221.6 kB / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/1.955, allocations: 3.938 kB / 1.385 GB, free: 9.547 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat does not exist to compare? outputFormat=mat