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.469/1.469, allocations: 249.5 MB / 257 MB, free: 6.859 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.001186/0.001186, allocations: 176.8 kB / 316.3 MB, free: 3.227 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.603/1.603, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008799/0.0008801, allocations: 86.48 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.316e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2235, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8464/1.07, allocations: 133.1 MB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/1.07, allocations: 85.75 kB / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007143/1.077, allocations: 2.344 MB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.754e-06/1.077, allocations: 0 / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.078, allocations: 0 / 1.018 GB, free: 2.145 MB / 0.6355 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.0002989/1.078, allocations: 330 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.078, allocations: 12.03 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/1.078, allocations: 3.984 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/1.078, allocations: 171 kB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/1.078, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/1.078, allocations: 7.938 kB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.22e-05/1.078, allocations: 4 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.119e-05/1.078, allocations: 33.69 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.078, allocations: 3.938 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/1.078, allocations: 3.984 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.078, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/1.078, allocations: 133.5 kB / 1.018 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/1.079, allocations: 37.98 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/1.079, allocations: 12.17 kB / 1.018 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.08, allocations: 0.5549 MB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/1.08, allocations: 33.3 kB / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.08, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001803/1.08, allocations: 41.33 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/1.08, allocations: 55.39 kB / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/1.08, allocations: 89 kB / 1.019 GB, free: 420 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/1.08, allocations: 29.7 kB / 1.019 GB, free: 384 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/1.08, allocations: 83.52 kB / 1.019 GB, free: 300 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/1.08, allocations: 7.812 kB / 1.019 GB, free: 292 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/1.08, allocations: 0 / 1.019 GB, free: 292 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.08, allocations: 310.8 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/1.08, allocations: 4 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/1.08, allocations: 7.5 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/1.08, allocations: 7.984 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.08, allocations: 4.125 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.925e-05/1.08, allocations: 45.16 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.081, allocations: 11.98 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.081, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.081, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/1.081, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/1.081, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/1.081, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/1.081, allocations: 4 kB / 1.02 GB, free: 15.89 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 6.737e-05/1.081, allocations: 103.6 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.391e-05/1.081, allocations: 53.58 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/1.081, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/1.081, allocations: 63.78 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/1.081, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.081, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.081, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.609e-05/1.081, allocations: 138 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.081, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/1.081, allocations: 7.953 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.081, allocations: 4 kB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/1.081, allocations: 4 kB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.081, allocations: 3.984 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.081, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/1.081, allocations: 79.3 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/1.081, allocations: 77.11 kB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/1.081, allocations: 3.953 kB / 1.02 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/1.081, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/1.081, allocations: 8 kB / 1.02 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/1.081, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.879e-05/1.081, allocations: 75.28 kB / 1.02 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.081, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002352/1.082, allocations: 35.92 kB / 1.02 GB, free: 15.16 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.0005632/1.082, allocations: 0.6319 MB / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.094e-05/1.082, allocations: 11.88 kB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.082, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/1.082, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/1.083, allocations: 12.56 kB / 1.021 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/1.083, allocations: 99.94 kB / 1.021 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/1.083, allocations: 0.6807 MB / 1.022 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.966e-05/1.083, allocations: 7.875 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/1.083, allocations: 11.44 kB / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of SimCode: time 2.11e-07/1.083, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/1.103, allocations: 1.167 MB / 1.023 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/1.103, allocations: 180.3 kB / 1.023 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.812, allocations: 0 / 1.023 GB, free: 12.3 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)