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.585/2.585, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001027/0.001027, allocations: 184.8 kB / 492.3 MB, free: 0.6055 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.511/1.511, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009863/0.0009864, allocations: 87.95 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.206e-05, allocations: 6.031 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.622, allocations: 455.9 MB / 1.658 GB, free: 7.461 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/1.622, allocations: 82.08 kB / 1.658 GB, free: 7.418 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.05148/1.674, allocations: 23.42 MB / 1.681 GB, free: 4.082 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.723e-06/1.674, allocations: 0 / 1.681 GB, free: 4.082 MB / 1.089 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.674, allocations: 0 / 1.681 GB, free: 4.082 MB / 1.089 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.0003714/1.674, allocations: 353 kB / 1.681 GB, free: 3.695 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.674, allocations: 8.031 kB / 1.681 GB, free: 3.688 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/1.674, allocations: 30.56 kB / 1.681 GB, free: 3.648 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/1.674, allocations: 19.27 kB / 1.681 GB, free: 3.633 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.674, allocations: 167.8 kB / 1.681 GB, free: 3.43 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/1.674, allocations: 29.69 kB / 1.681 GB, free: 3.395 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/1.674, allocations: 4 kB / 1.681 GB, free: 3.391 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/1.674, allocations: 41.5 kB / 1.681 GB, free: 3.348 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/1.674, allocations: 0 / 1.681 GB, free: 3.348 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/1.674, allocations: 0 / 1.681 GB, free: 3.348 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/1.675, allocations: 7.938 kB / 1.681 GB, free: 3.34 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/1.675, allocations: 11.98 kB / 1.681 GB, free: 3.328 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/1.675, allocations: 0.606 MB / 1.682 GB, free: 2.613 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 3.718e-05/1.675, allocations: 14.58 kB / 1.682 GB, free: 2.59 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/1.675, allocations: 12.86 kB / 1.682 GB, free: 2.574 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003439/1.676, allocations: 0.4939 MB / 1.682 GB, free: 1.977 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/1.676, allocations: 38.52 kB / 1.682 GB, free: 1.93 MB / 1.089 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/1.676, allocations: 0 / 1.682 GB, free: 1.93 MB / 1.089 GB Notification: Performance of matching and sorting (n=1): time 0.0001347/1.676, allocations: 37.62 kB / 1.682 GB, free: 1.887 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/1.676, allocations: 51.41 kB / 1.683 GB, free: 1.824 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/1.676, allocations: 96.31 kB / 1.683 GB, free: 1.727 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/1.676, allocations: 25.7 kB / 1.683 GB, free: 1.695 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/1.676, allocations: 90.98 kB / 1.683 GB, free: 1.605 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-06/1.676, allocations: 4.031 kB / 1.683 GB, free: 1.602 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/1.676, allocations: 0 / 1.683 GB, free: 1.602 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.676, allocations: 322.8 kB / 1.683 GB, free: 1.277 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.255e-05/1.676, allocations: 3.312 kB / 1.683 GB, free: 1.277 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/1.676, allocations: 13.72 kB / 1.683 GB, free: 1.258 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.874e-05/1.676, allocations: 4 kB / 1.683 GB, free: 1.254 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.676, allocations: 0 / 1.683 GB, free: 1.254 MB / 1.089 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.559e-05/1.676, allocations: 57.19 kB / 1.683 GB, free: 1.195 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.676, allocations: 4 kB / 1.683 GB, free: 1.191 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.676, allocations: 0 / 1.683 GB, free: 1.191 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.676, allocations: 3.953 kB / 1.683 GB, free: 1.188 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/1.676, allocations: 11.98 kB / 1.683 GB, free: 1.176 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.676, allocations: 0 / 1.683 GB, free: 1.176 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/1.677, allocations: 3.906 kB / 1.683 GB, free: 1.172 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/1.677, allocations: 4 kB / 1.683 GB, free: 1.168 MB / 1.089 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 6.987e-05/1.677, allocations: 110.1 kB / 1.683 GB, free: 1.059 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/1.677, allocations: 0 / 1.683 GB, free: 1.059 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/1.677, allocations: 124.8 kB / 1.683 GB, free: 0.9297 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.127e-05/1.677, allocations: 180.2 kB / 1.684 GB, free: 0.7461 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.657e-05/1.677, allocations: 184.2 kB / 1.684 GB, free: 0.5586 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.956e-05/1.677, allocations: 180.2 kB / 1.684 GB, free: 388 kB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/1.677, allocations: 409.2 kB / 1.684 GB, free: 15.92 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-05/1.677, allocations: 101 kB / 1.684 GB, free: 15.82 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/1.677, allocations: 104.7 kB / 1.684 GB, free: 15.71 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.115e-05/1.677, allocations: 184.2 kB / 1.685 GB, free: 15.52 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/1.677, allocations: 180.3 kB / 1.685 GB, free: 15.34 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-05/1.677, allocations: 184.2 kB / 1.685 GB, free: 15.15 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.486e-05/1.678, allocations: 184.3 kB / 1.685 GB, free: 14.96 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/1.678, allocations: 307.7 kB / 1.685 GB, free: 14.64 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/1.678, allocations: 182.1 kB / 1.686 GB, free: 14.44 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/1.678, allocations: 180.2 kB / 1.686 GB, free: 14.26 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.678, allocations: 120.7 kB / 1.686 GB, free: 14.14 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/1.678, allocations: 176.3 kB / 1.686 GB, free: 13.96 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/1.678, allocations: 112.8 kB / 1.686 GB, free: 13.84 MB / 1.104 GB Notification: Performance of sorting global known variables: time 4.392e-05/1.678, allocations: 87.16 kB / 1.686 GB, free: 13.76 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.71e-07/1.678, allocations: 0 / 1.686 GB, free: 13.76 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0004123/1.679, allocations: 81.84 kB / 1.686 GB, free: 13.7 MB / 1.104 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.001209/1.68, allocations: 1.296 MB / 1.688 GB, free: 12.39 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 7.057e-05/1.68, allocations: 11.98 kB / 1.688 GB, free: 12.38 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.68, allocations: 0 / 1.688 GB, free: 12.38 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/1.68, allocations: 0 / 1.688 GB, free: 12.38 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/1.68, allocations: 0.5258 MB / 1.688 GB, free: 11.86 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/1.681, allocations: 200.1 kB / 1.688 GB, free: 11.63 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/1.681, allocations: 0.677 MB / 1.689 GB, free: 10.93 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 5.228e-05/1.681, allocations: 4 kB / 1.689 GB, free: 10.92 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/1.681, allocations: 11.44 kB / 1.689 GB, free: 10.91 MB / 1.104 GB Notification: Performance of SimCode: time 4.51e-07/1.681, allocations: 4 kB / 1.689 GB, free: 10.91 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/1.708, allocations: 11.25 MB / 1.7 GB, free: 15.77 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/1.708, allocations: 163.4 kB / 1.7 GB, free: 15.54 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/3.694, allocations: 0 / 1.7 GB, free: 15.54 MB / 1.12 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