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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001144, allocations: 92.16 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.654/2.654, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 12 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8395/0.8399, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.156/0.996, allocations: 122.6 MB / 1.074 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.9961, allocations: 47.89 kB / 1.074 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.9962, allocations: 0 / 1.074 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.468e-05/0.9963, allocations: 7.922 kB / 1.074 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.9964, allocations: 4 kB / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.9971, allocations: 191.1 kB / 1.074 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.9972, allocations: 47.83 kB / 1.074 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.9972, allocations: 7.984 kB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.442e-05/0.9973, allocations: 8 kB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.9973, allocations: 19.86 kB / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.9974, allocations: 0 / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.9977, allocations: 163.6 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.9978, allocations: 11.98 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.9978, allocations: 29.64 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.998, allocations: 106.1 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.998, allocations: 0 / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.998, allocations: 0 / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.998, allocations: 0 / 1.074 GB, free: 4.543 MB / 0.8262 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.0003557/0.9984, allocations: 351.3 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.9984, allocations: 8.031 kB / 1.075 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.9985, allocations: 38.52 kB / 1.075 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.9985, allocations: 4 kB / 1.075 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.9986, allocations: 167 kB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.9987, allocations: 25.7 kB / 1.075 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.9987, allocations: 4 kB / 1.075 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.9988, allocations: 41.69 kB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.9988, allocations: 0 / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.9989, allocations: 7.938 kB / 1.075 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.9989, allocations: 7.938 kB / 1.075 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.9989, allocations: 19.98 kB / 1.075 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.9996, allocations: 0.595 MB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.327e-05/0.9997, allocations: 14.58 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.9997, allocations: 4.859 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.9999, allocations: 344.4 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.9999, allocations: 38.5 kB / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1, allocations: 0 / 1.076 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/1, allocations: 37.69 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/1, allocations: 51.41 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/1, allocations: 101.8 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/1, allocations: 29.7 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/1, allocations: 84.17 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/1, allocations: 11.84 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/1, allocations: 3.938 kB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1, allocations: 314.8 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/1, allocations: 4 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/1, allocations: 17.7 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.884e-05/1, allocations: 11.94 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1, allocations: 0 / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.911e-05/1.001, allocations: 45.69 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.001, allocations: 13.2 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/1.001, allocations: 0 / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/1.001, allocations: 0 / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.294e-05/1.001, allocations: 7.938 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/1.001, allocations: 0 / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/1.001, allocations: 8 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/1.001, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 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 8.286e-05/1.001, allocations: 113.8 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/1.001, allocations: 4.062 kB / 1.077 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/1.001, allocations: 124.8 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-05/1.001, allocations: 180.2 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.267e-05/1.001, allocations: 180.2 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.466e-05/1.001, allocations: 180.2 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/1.001, allocations: 409.2 kB / 1.078 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/1.001, allocations: 101 kB / 1.078 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/1.002, allocations: 116.9 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.838e-05/1.002, allocations: 176.3 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/1.002, allocations: 184.2 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.434e-05/1.002, allocations: 184.2 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.507e-05/1.002, allocations: 188.5 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/1.002, allocations: 299.8 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/1.002, allocations: 194 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/1.002, allocations: 180.3 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/1.002, allocations: 105 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/1.002, allocations: 192.1 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/1.002, allocations: 101 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.422e-05/1.002, allocations: 83.28 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.002, allocations: 0 / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003003/1.003, allocations: 51.92 kB / 1.08 GB, free: 14.28 MB / 0.8419 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.0005863/1.003, allocations: 0.8792 MB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.514e-05/1.003, allocations: 16 kB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.003, allocations: 0 / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/1.003, allocations: 0 / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/1.004, allocations: 0.534 MB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/1.004, allocations: 245.6 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/1.005, allocations: 0.6808 MB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.019e-05/1.005, allocations: 7.938 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/1.005, allocations: 7.438 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/1.005, allocations: 0 / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/1.017, allocations: 1.953 MB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.017, allocations: 196.2 kB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.678, allocations: 12 kB / 1.084 GB, free: 9.754 MB / 0.8419 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