Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",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.368/2.368, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001332/0.001331, allocations: 181.1 kB / 498.1 MB, free: 5.703 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.618/1.618, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0008387/0.0008386, allocations: 96.33 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003602, allocations: 10.66 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2592, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.436, allocations: 456 MB / 1.668 GB, free: 5.844 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.436, allocations: 75.03 kB / 1.668 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.05421/1.49, allocations: 23.5 MB / 1.691 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.014e-06/1.491, allocations: 0 / 1.691 GB, free: 2.395 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.729e-06/1.491, allocations: 4 kB / 1.691 GB, free: 2.391 MB / 0.9948 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.0005565/1.491, allocations: 358.7 kB / 1.692 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/1.491, allocations: 15.97 kB / 1.692 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.604e-05/1.491, allocations: 38.45 kB / 1.692 GB, free: 1.934 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/1.491, allocations: 0.625 kB / 1.692 GB, free: 1.934 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/1.492, allocations: 171 kB / 1.692 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/1.492, allocations: 25.7 kB / 1.692 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/1.492, allocations: 0 / 1.692 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/1.492, allocations: 45.19 kB / 1.692 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.492, allocations: 0 / 1.692 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.492, allocations: 3.953 kB / 1.692 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/1.492, allocations: 4 kB / 1.692 GB, free: 1.641 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.819e-05/1.492, allocations: 15.48 kB / 1.692 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/1.493, allocations: 0.5841 MB / 1.692 GB, free: 0.9336 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/1.493, allocations: 18.58 kB / 1.692 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/1.493, allocations: 0.4975 MB / 1.693 GB, free: 312 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/1.493, allocations: 34.52 kB / 1.693 GB, free: 268 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.493, allocations: 0 / 1.693 GB, free: 268 kB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001673/1.494, allocations: 41.33 kB / 1.693 GB, free: 224 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/1.494, allocations: 51.41 kB / 1.693 GB, free: 160 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/1.494, allocations: 100.6 kB / 1.693 GB, free: 56 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/1.494, allocations: 29.7 kB / 1.693 GB, free: 20 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/1.494, allocations: 91.97 kB / 1.693 GB, free: 15.93 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-06/1.494, allocations: 0 / 1.693 GB, free: 15.93 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/1.494, allocations: 0 / 1.693 GB, free: 15.93 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.494, allocations: 314.2 kB / 1.694 GB, free: 15.61 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/1.494, allocations: 7.984 kB / 1.694 GB, free: 15.61 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/1.494, allocations: 13.72 kB / 1.694 GB, free: 15.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/1.494, allocations: 11.88 kB / 1.694 GB, free: 15.58 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.494, allocations: 3.938 kB / 1.694 GB, free: 15.57 MB / 1.01 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.949e-05/1.494, allocations: 56.97 kB / 1.694 GB, free: 15.52 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.494, allocations: 8 kB / 1.694 GB, free: 15.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.494, allocations: 4.234 kB / 1.694 GB, free: 15.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.494, allocations: 0 / 1.694 GB, free: 15.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/1.494, allocations: 4 kB / 1.694 GB, free: 15.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/1.494, allocations: 3.938 kB / 1.694 GB, free: 15.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/1.494, allocations: 8.062 kB / 1.694 GB, free: 15.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.494, allocations: 3.984 kB / 1.694 GB, free: 15.48 MB / 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 9.26e-05/1.494, allocations: 109.8 kB / 1.694 GB, free: 15.37 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/1.494, allocations: 3.984 kB / 1.694 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/1.495, allocations: 119.7 kB / 1.694 GB, free: 15.24 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.637e-05/1.495, allocations: 184.2 kB / 1.694 GB, free: 15.05 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-05/1.495, allocations: 184.2 kB / 1.694 GB, free: 14.87 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-05/1.495, allocations: 179.6 kB / 1.694 GB, free: 14.69 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/1.495, allocations: 405.2 kB / 1.695 GB, free: 14.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/1.495, allocations: 104.3 kB / 1.695 GB, free: 14.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/1.495, allocations: 105 kB / 1.695 GB, free: 14.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.619e-05/1.495, allocations: 184.2 kB / 1.695 GB, free: 13.83 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.854e-05/1.495, allocations: 180.2 kB / 1.695 GB, free: 13.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.253e-05/1.495, allocations: 180.2 kB / 1.696 GB, free: 13.46 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.492e-05/1.495, allocations: 188.3 kB / 1.696 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/1.496, allocations: 302.8 kB / 1.696 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/1.496, allocations: 193.2 kB / 1.696 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/1.496, allocations: 184.2 kB / 1.696 GB, free: 12.56 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/1.496, allocations: 105 kB / 1.696 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/1.496, allocations: 184.2 kB / 1.697 GB, free: 12.26 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/1.496, allocations: 108.4 kB / 1.697 GB, free: 12.15 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.905e-05/1.496, allocations: 83.28 kB / 1.697 GB, free: 12.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.4e-07/1.496, allocations: 0 / 1.697 GB, free: 12.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004869/1.497, allocations: 92.34 kB / 1.697 GB, free: 12 MB / 1.01 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.0012/1.498, allocations: 1.277 MB / 1.698 GB, free: 10.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 8.633e-05/1.498, allocations: 18.8 kB / 1.698 GB, free: 10.69 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.498, allocations: 0 / 1.698 GB, free: 10.69 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/1.498, allocations: 8.062 kB / 1.698 GB, free: 10.68 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/1.498, allocations: 0.5239 MB / 1.699 GB, free: 10.15 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/1.499, allocations: 252.9 kB / 1.699 GB, free: 9.867 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.499, allocations: 0.6848 MB / 1.7 GB, free: 9.156 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.925e-05/1.499, allocations: 4 kB / 1.7 GB, free: 9.152 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/1.499, allocations: 11.44 kB / 1.7 GB, free: 9.145 MB / 1.01 GB Notification: Performance of SimCode: time 3.01e-07/1.499, allocations: 0 / 1.7 GB, free: 9.145 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/1.522, allocations: 9.762 MB / 1.709 GB, free: 15.5 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/1.523, allocations: 184.9 kB / 1.709 GB, free: 15.26 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/3.327, allocations: 1.969 kB / 1.709 GB, free: 15.26 MB / 1.026 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat