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.223/2.223, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001631/0.001631, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0008398/0.0008395, allocations: 95.95 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.188e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2407, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.508, allocations: 456.7 MB / 1.665 GB, free: 9.57 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.508, allocations: 72.84 kB / 1.665 GB, free: 9.5 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 0.05692/1.565, allocations: 23.43 MB / 1.688 GB, free: 2.004 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.473e-06/1.565, allocations: 0 / 1.688 GB, free: 2.004 MB / 1.135 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.565, allocations: 3.938 kB / 1.688 GB, free: 2 MB / 1.135 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.0004516/1.566, allocations: 350.4 kB / 1.688 GB, free: 1.613 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.566, allocations: 12.03 kB / 1.688 GB, free: 1.602 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/1.566, allocations: 42.52 kB / 1.688 GB, free: 1.551 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/1.566, allocations: 0 / 1.688 GB, free: 1.551 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/1.566, allocations: 167 kB / 1.688 GB, free: 1.348 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.322e-05/1.566, allocations: 29.7 kB / 1.688 GB, free: 1.312 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/1.566, allocations: 0 / 1.688 GB, free: 1.312 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/1.566, allocations: 41.69 kB / 1.688 GB, free: 1.266 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.566, allocations: 4 kB / 1.688 GB, free: 1.262 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/1.566, allocations: 3.953 kB / 1.688 GB, free: 1.258 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/1.566, allocations: 4 kB / 1.688 GB, free: 1.254 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.324e-05/1.566, allocations: 8 kB / 1.688 GB, free: 1.246 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/1.567, allocations: 0.6075 MB / 1.689 GB, free: 0.5156 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 4.052e-05/1.567, allocations: 18.52 kB / 1.689 GB, free: 500 kB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/1.567, allocations: 12.92 kB / 1.689 GB, free: 484 kB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7975/2.365, allocations: 0.4924 MB / 1.69 GB, free: 367.1 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/2.365, allocations: 33.58 kB / 1.69 GB, free: 367 MB / 1.135 GB Notification: Performance of pre-optimization done (n=1): time 3.276e-06/2.365, allocations: 0 / 1.69 GB, free: 367 MB / 1.135 GB Notification: Performance of matching and sorting (n=1): time 0.0002201/2.365, allocations: 33.2 kB / 1.69 GB, free: 367 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/2.365, allocations: 58.97 kB / 1.69 GB, free: 367 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/2.365, allocations: 95.53 kB / 1.69 GB, free: 366.9 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/2.365, allocations: 26.2 kB / 1.69 GB, free: 366.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/2.365, allocations: 88.77 kB / 1.69 GB, free: 366.8 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/2.365, allocations: 8.031 kB / 1.69 GB, free: 366.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/2.365, allocations: 0.5625 kB / 1.69 GB, free: 366.7 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 5.981e-05/2.366, allocations: 314.5 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/2.366, allocations: 4.766 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/2.366, allocations: 16.97 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/2.366, allocations: 8.281 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/2.366, allocations: 0 / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.991e-05/2.366, allocations: 49.17 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/2.366, allocations: 5.953 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/2.366, allocations: 2.656 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/2.366, allocations: 3.359 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/2.366, allocations: 6.156 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/2.366, allocations: 4.172 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/2.366, allocations: 1.75 kB / 1.69 GB, free: 366.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/2.366, allocations: 3.875 kB / 1.69 GB, free: 366.4 MB / 1.135 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 () * 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 5.74e-05/2.366, allocations: 106.8 kB / 1.69 GB, free: 366.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/2.366, allocations: 4.594 kB / 1.69 GB, free: 366.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/2.366, allocations: 122.7 kB / 1.69 GB, free: 366.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/2.366, allocations: 177.5 kB / 1.691 GB, free: 366 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.573e-05/2.366, allocations: 184.2 kB / 1.691 GB, free: 365.8 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-05/2.366, allocations: 183.3 kB / 1.691 GB, free: 365.6 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/2.366, allocations: 403 kB / 1.691 GB, free: 365.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/2.366, allocations: 104.4 kB / 1.692 GB, free: 365.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/2.367, allocations: 110.9 kB / 1.692 GB, free: 365 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.17e-05/2.367, allocations: 178.3 kB / 1.692 GB, free: 364.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/2.367, allocations: 180.6 kB / 1.692 GB, free: 364.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.168e-05/2.367, allocations: 182.9 kB / 1.692 GB, free: 364.4 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.33e-05/2.367, allocations: 179 kB / 1.692 GB, free: 364.3 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/2.367, allocations: 314.7 kB / 1.693 GB, free: 363.9 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/2.367, allocations: 189.3 kB / 1.693 GB, free: 363.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/2.367, allocations: 186.2 kB / 1.693 GB, free: 363.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/2.367, allocations: 110.1 kB / 1.693 GB, free: 363.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/2.367, allocations: 177.9 kB / 1.693 GB, free: 363.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/2.367, allocations: 106.1 kB / 1.693 GB, free: 363.2 MB / 1.135 GB Notification: Performance of sorting global known variables: time 3.206e-05/2.367, allocations: 88.41 kB / 1.693 GB, free: 363.1 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.7e-07/2.367, allocations: 2.469 kB / 1.693 GB, free: 363.1 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0005456/2.368, allocations: 88.33 kB / 1.693 GB, free: 363.1 MB / 1.135 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 (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.001179/2.369, allocations: 1.274 MB / 1.695 GB, free: 362.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 7.234e-05/2.369, allocations: 9.828 kB / 1.695 GB, free: 362.2 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/2.369, allocations: 0 / 1.695 GB, free: 362.2 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/2.369, allocations: 3.25 kB / 1.695 GB, free: 362.2 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/2.369, allocations: 0.5241 MB / 1.695 GB, free: 361.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/2.37, allocations: 189.2 kB / 1.695 GB, free: 361.5 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/2.37, allocations: 0.6766 MB / 1.696 GB, free: 360.8 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 4.856e-05/2.37, allocations: 7.656 kB / 1.696 GB, free: 360.8 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/2.37, allocations: 13.47 kB / 1.696 GB, free: 360.8 MB / 1.135 GB Notification: Performance of SimCode: time 2.61e-07/2.37, allocations: 0 / 1.696 GB, free: 360.8 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03677/2.407, allocations: 11.26 MB / 1.707 GB, free: 360.1 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/2.407, allocations: 178.9 kB / 1.707 GB, free: 359.9 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/4.334, allocations: 0 / 1.707 GB, free: 359.9 MB / 1.135 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