Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001031/0.00103, allocations: 184.8 kB / 487.4 MB, free: 5.039 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.529/1.529, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009531, allocations: 103.8 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.346e-05, allocations: 7.984 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3379, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.38, allocations: 149.7 MB / 1.352 GB, free: 18.22 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.381, allocations: 86.86 kB / 1.352 GB, free: 18.22 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008604/1.389, allocations: 2.397 MB / 1.355 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.389, allocations: 0 / 1.355 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.389, allocations: 0 / 1.355 GB, free: 33.78 MB / 0.8386 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.0003004/1.39, allocations: 338.4 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.39, allocations: 8.25 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/1.39, allocations: 0.7812 kB / 1.355 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/1.39, allocations: 168.2 kB / 1.355 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.39, allocations: 7.938 kB / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/1.39, allocations: 0 / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.706e-05/1.39, allocations: 9.609 kB / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.959e-05/1.39, allocations: 31.47 kB / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.39, allocations: 0 / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.39, allocations: 3.984 kB / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.39, allocations: 0.7969 kB / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/1.39, allocations: 138.9 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/1.39, allocations: 35.3 kB / 1.355 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/1.39, allocations: 17.38 kB / 1.355 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.392, allocations: 0.5476 MB / 1.356 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/1.392, allocations: 35.11 kB / 1.356 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.392, allocations: 0 / 1.356 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001826/1.392, allocations: 39.88 kB / 1.356 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/1.392, allocations: 53.23 kB / 1.356 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/1.392, allocations: 89.41 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/1.392, allocations: 29.83 kB / 1.356 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/1.392, allocations: 80.75 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/1.392, allocations: 11.14 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/1.392, allocations: 0 / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.392, allocations: 312.1 kB / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/1.392, allocations: 1.641 kB / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/1.392, allocations: 7.594 kB / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/1.392, allocations: 5.047 kB / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.392, allocations: 0 / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.726e-05/1.392, allocations: 55.23 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.392, allocations: 7.781 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.392, allocations: 0.7031 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.392, allocations: 3.844 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/1.392, allocations: 4.484 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.392, allocations: 1.25 kB / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.431e-05/1.392, allocations: 0 / 1.357 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/1.392, allocations: 0 / 1.357 GB, free: 31.88 MB / 0.8386 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 7.053e-05/1.392, allocations: 106.9 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.048e-05/1.393, allocations: 52.97 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/1.393, allocations: 7.938 kB / 1.357 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/1.393, allocations: 51.39 kB / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.393, allocations: 0 / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.393, allocations: 0.5156 kB / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.393, allocations: 0 / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.481e-05/1.393, allocations: 133 kB / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/1.393, allocations: 0 / 1.357 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/1.393, allocations: 8.453 kB / 1.357 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.393, allocations: 3.781 kB / 1.357 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/1.393, allocations: 4.609 kB / 1.357 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/1.393, allocations: 0 / 1.357 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.393, allocations: 1.172 kB / 1.357 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.782e-05/1.393, allocations: 75.42 kB / 1.357 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/1.393, allocations: 85.64 kB / 1.357 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/1.393, allocations: 4.656 kB / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.228e-05/1.393, allocations: 4.562 kB / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/1.393, allocations: 0.8438 kB / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/1.393, allocations: 4 kB / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.508e-05/1.393, allocations: 79.86 kB / 1.357 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.11e-07/1.393, allocations: 0 / 1.357 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002183/1.393, allocations: 20.83 kB / 1.357 GB, free: 31.26 MB / 0.8386 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.0004731/1.394, allocations: 0.6379 MB / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.77e-05/1.394, allocations: 15.69 kB / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.394, allocations: 3.938 kB / 1.358 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/1.394, allocations: 4.625 kB / 1.358 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/1.394, allocations: 13.69 kB / 1.358 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/1.394, allocations: 101 kB / 1.358 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/1.395, allocations: 0.6761 MB / 1.359 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.011e-05/1.395, allocations: 4.906 kB / 1.359 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/1.395, allocations: 7.438 kB / 1.359 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of SimCode: time 1.663e-06/1.395, allocations: 0 / 1.359 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/1.419, allocations: 1.155 MB / 1.36 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/1.42, allocations: 180.8 kB / 1.36 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/3.009, allocations: 0 / 1.36 GB, free: 29.52 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat does not exist to compare? outputFormat=mat