Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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.464/2.464, allocations: 393.5 MB / 408.4 MB, free: 10.91 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.001227/0.001227, allocations: 183.9 kB / 0.4901 GB, free: 2.09 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.768/1.768, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009322/0.0009322, allocations: 102.1 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.000445, allocations: 11.03 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3588, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.451, allocations: 456.8 MB / 1.675 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.452, allocations: 77.34 kB / 1.675 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05573/1.507, allocations: 23.5 MB / 1.698 GB, free: 2.941 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.364e-06/1.507, allocations: 0 / 1.698 GB, free: 2.941 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.507, allocations: 0 / 1.698 GB, free: 2.941 MB / 1.01 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.0004365/1.508, allocations: 370.7 kB / 1.699 GB, free: 2.535 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.508, allocations: 12.56 kB / 1.699 GB, free: 2.523 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/1.508, allocations: 38.08 kB / 1.699 GB, free: 2.48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/1.508, allocations: 0 / 1.699 GB, free: 2.48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.508, allocations: 167.1 kB / 1.699 GB, free: 2.277 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/1.508, allocations: 33.64 kB / 1.699 GB, free: 2.238 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/1.508, allocations: 0 / 1.699 GB, free: 2.238 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.508, allocations: 41.25 kB / 1.699 GB, free: 2.195 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/1.508, allocations: 0 / 1.699 GB, free: 2.195 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/1.508, allocations: 3.953 kB / 1.699 GB, free: 2.191 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/1.508, allocations: 4 kB / 1.699 GB, free: 2.188 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.353e-05/1.508, allocations: 7.984 kB / 1.699 GB, free: 2.18 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/1.509, allocations: 0.5892 MB / 1.7 GB, free: 1.48 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 4.327e-05/1.509, allocations: 22.52 kB / 1.7 GB, free: 1.449 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/1.51, allocations: 0.4975 MB / 1.7 GB, free: 0.8477 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/1.51, allocations: 42.5 kB / 1.7 GB, free: 0.7969 MB / 1.01 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.51, allocations: 0 / 1.7 GB, free: 0.7969 MB / 1.01 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/1.51, allocations: 37.33 kB / 1.7 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/1.51, allocations: 51.41 kB / 1.7 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/1.51, allocations: 100.4 kB / 1.7 GB, free: 0.5938 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/1.51, allocations: 25.7 kB / 1.7 GB, free: 0.5625 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/1.51, allocations: 91.98 kB / 1.7 GB, free: 480 kB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/1.51, allocations: 0 / 1.7 GB, free: 480 kB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/1.51, allocations: 0 / 1.7 GB, free: 480 kB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.51, allocations: 318.2 kB / 1.701 GB, free: 156 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/1.51, allocations: 4 kB / 1.701 GB, free: 152 kB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/1.51, allocations: 17.7 kB / 1.701 GB, free: 128 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.092e-05/1.51, allocations: 11.56 kB / 1.701 GB, free: 120 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.51, allocations: 0 / 1.701 GB, free: 120 kB / 1.01 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.156e-05/1.51, allocations: 49.12 kB / 1.701 GB, free: 68 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.51, allocations: 8.062 kB / 1.701 GB, free: 60 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.51, allocations: 7.953 kB / 1.701 GB, free: 52 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/1.51, allocations: 0 / 1.701 GB, free: 52 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/1.511, allocations: 4 kB / 1.701 GB, free: 48 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.511, allocations: 4 kB / 1.701 GB, free: 44 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/1.511, allocations: 3.906 kB / 1.701 GB, free: 40 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/1.511, allocations: 4 kB / 1.701 GB, free: 36 kB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 0.0001101/1.511, allocations: 109.8 kB / 1.701 GB, free: 15.92 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/1.511, allocations: 4 kB / 1.701 GB, free: 15.91 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/1.511, allocations: 124.5 kB / 1.701 GB, free: 15.79 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-05/1.511, allocations: 180.2 kB / 1.701 GB, free: 15.61 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.676e-05/1.511, allocations: 184.2 kB / 1.701 GB, free: 15.42 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.212e-05/1.511, allocations: 176.3 kB / 1.702 GB, free: 15.24 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/1.511, allocations: 404.8 kB / 1.702 GB, free: 14.79 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.561e-05/1.511, allocations: 108.9 kB / 1.702 GB, free: 14.68 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.827e-05/1.511, allocations: 105 kB / 1.702 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.377e-05/1.512, allocations: 183.9 kB / 1.702 GB, free: 14.38 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/1.512, allocations: 176.3 kB / 1.703 GB, free: 14.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.459e-05/1.512, allocations: 180.2 kB / 1.703 GB, free: 14.02 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.07e-05/1.512, allocations: 196.2 kB / 1.703 GB, free: 13.82 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/1.512, allocations: 307.4 kB / 1.703 GB, free: 13.5 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/1.512, allocations: 182.1 kB / 1.703 GB, free: 13.3 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/1.512, allocations: 179.5 kB / 1.704 GB, free: 13.12 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/1.512, allocations: 112.9 kB / 1.704 GB, free: 13 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/1.512, allocations: 188.2 kB / 1.704 GB, free: 12.81 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.736e-05/1.512, allocations: 104.9 kB / 1.704 GB, free: 12.7 MB / 1.026 GB Notification: Performance of sorting global known variables: time 5.37e-05/1.512, allocations: 86.78 kB / 1.704 GB, free: 12.62 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.6e-07/1.512, allocations: 0 / 1.704 GB, free: 12.62 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004152/1.513, allocations: 93.34 kB / 1.704 GB, free: 12.55 MB / 1.026 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 (0): * Single equations (assignments): 0 * 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.001083/1.514, allocations: 1.279 MB / 1.705 GB, free: 11.25 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 7.374e-05/1.514, allocations: 15.92 kB / 1.705 GB, free: 11.23 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.514, allocations: 0 / 1.705 GB, free: 11.23 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/1.514, allocations: 0 / 1.705 GB, free: 11.23 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/1.514, allocations: 0.5221 MB / 1.706 GB, free: 10.71 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/1.515, allocations: 253.2 kB / 1.706 GB, free: 10.43 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/1.515, allocations: 0.6809 MB / 1.707 GB, free: 9.719 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 4.661e-05/1.515, allocations: 7.984 kB / 1.707 GB, free: 9.711 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/1.515, allocations: 15.38 kB / 1.707 GB, free: 9.695 MB / 1.026 GB Notification: Performance of SimCode: time 3.61e-07/1.515, allocations: 4 kB / 1.707 GB, free: 9.691 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/1.538, allocations: 9.783 MB / 1.716 GB, free: 40 kB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/1.538, allocations: 186.4 kB / 1.717 GB, free: 15.8 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/3.38, allocations: 3.938 kB / 1.717 GB, free: 15.8 MB / 1.042 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat