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.334/2.334, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001076/0.001076, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.545/1.545, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008864/0.0008863, allocations: 97.55 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.671e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2642, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.52, allocations: 455.3 MB / 1.651 GB, free: 15.91 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.52, allocations: 73.08 kB / 1.651 GB, free: 15.88 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.0506/1.571, allocations: 23.01 MB / 1.673 GB, free: 13.29 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.272e-06/1.571, allocations: 0 / 1.673 GB, free: 13.29 MB / 1.089 GB Notification: Performance of Transformations before backend: time 6.151e-06/1.571, allocations: 0 / 1.673 GB, free: 13.29 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.0003957/1.571, allocations: 358 kB / 1.673 GB, free: 12.89 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.571, allocations: 12.03 kB / 1.674 GB, free: 12.88 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/1.572, allocations: 3.953 kB / 1.674 GB, free: 12.88 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.572, allocations: 167.8 kB / 1.674 GB, free: 12.68 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/1.572, allocations: 25.7 kB / 1.674 GB, free: 12.64 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/1.572, allocations: 0 / 1.674 GB, free: 12.64 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.301e-05/1.572, allocations: 18.3 kB / 1.674 GB, free: 12.63 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/1.572, allocations: 41.56 kB / 1.674 GB, free: 12.59 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.572, allocations: 0 / 1.674 GB, free: 12.59 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.572, allocations: 3.984 kB / 1.674 GB, free: 12.58 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/1.572, allocations: 11.95 kB / 1.674 GB, free: 12.57 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/1.573, allocations: 0.5713 MB / 1.674 GB, free: 11.9 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 4.221e-05/1.573, allocations: 14.58 kB / 1.674 GB, free: 11.88 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/1.573, allocations: 12.86 kB / 1.674 GB, free: 11.86 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/1.573, allocations: 0.4985 MB / 1.675 GB, free: 11.26 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.573, allocations: 38.55 kB / 1.675 GB, free: 11.21 MB / 1.089 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.573, allocations: 0 / 1.675 GB, free: 11.21 MB / 1.089 GB Notification: Performance of matching and sorting (n=1): time 0.0002528/1.574, allocations: 41.66 kB / 1.675 GB, free: 11.16 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.574, allocations: 55.39 kB / 1.675 GB, free: 11.1 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/1.574, allocations: 92.88 kB / 1.675 GB, free: 11 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/1.574, allocations: 25.7 kB / 1.675 GB, free: 10.97 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/1.574, allocations: 92.02 kB / 1.675 GB, free: 10.88 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/1.574, allocations: 7.625 kB / 1.675 GB, free: 10.88 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/1.574, allocations: 0 / 1.675 GB, free: 10.88 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.574, allocations: 314.8 kB / 1.675 GB, free: 10.56 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-06/1.574, allocations: 3.938 kB / 1.675 GB, free: 10.55 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/1.574, allocations: 17.66 kB / 1.675 GB, free: 10.53 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/1.574, allocations: 27.48 kB / 1.676 GB, free: 10.51 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.574, allocations: 0 / 1.676 GB, free: 10.51 MB / 1.089 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002118/1.574, allocations: 61.3 kB / 1.676 GB, free: 10.45 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.574, allocations: 4 kB / 1.676 GB, free: 10.44 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.574, allocations: 0 / 1.676 GB, free: 10.44 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/1.574, allocations: 0 / 1.676 GB, free: 10.44 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/1.574, allocations: 8 kB / 1.676 GB, free: 10.43 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.574, allocations: 0 / 1.676 GB, free: 10.43 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/1.574, allocations: 7.859 kB / 1.676 GB, free: 10.43 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.574, allocations: 3.984 kB / 1.676 GB, free: 10.42 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 7.306e-05/1.575, allocations: 114.4 kB / 1.676 GB, free: 10.3 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001414/1.575, allocations: 41.69 kB / 1.676 GB, free: 10.26 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/1.575, allocations: 0 / 1.676 GB, free: 10.26 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/1.575, allocations: 117.1 kB / 1.676 GB, free: 10.14 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.839e-05/1.575, allocations: 184.2 kB / 1.676 GB, free: 9.949 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.526e-05/1.575, allocations: 184.3 kB / 1.676 GB, free: 9.762 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.199e-05/1.575, allocations: 176.3 kB / 1.676 GB, free: 9.582 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/1.575, allocations: 388.6 kB / 1.677 GB, free: 9.16 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.192e-05/1.575, allocations: 101 kB / 1.677 GB, free: 9.055 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/1.575, allocations: 105 kB / 1.677 GB, free: 8.945 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.025e-05/1.576, allocations: 180.2 kB / 1.677 GB, free: 8.762 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.351e-05/1.576, allocations: 180.3 kB / 1.677 GB, free: 8.578 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.161e-05/1.576, allocations: 180.2 kB / 1.677 GB, free: 8.395 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.004e-05/1.576, allocations: 184.3 kB / 1.678 GB, free: 8.207 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/1.576, allocations: 303.3 kB / 1.678 GB, free: 7.891 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-05/1.576, allocations: 197.9 kB / 1.678 GB, free: 7.672 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-05/1.576, allocations: 179.8 kB / 1.678 GB, free: 7.492 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.576, allocations: 105 kB / 1.678 GB, free: 7.383 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/1.576, allocations: 184.2 kB / 1.679 GB, free: 7.195 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/1.576, allocations: 105 kB / 1.679 GB, free: 7.086 MB / 1.089 GB Notification: Performance of sorting global known variables: time 4.864e-05/1.576, allocations: 82.53 kB / 1.679 GB, free: 7.008 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.5e-07/1.576, allocations: 4 kB / 1.679 GB, free: 7.004 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0003596/1.577, allocations: 82.12 kB / 1.679 GB, free: 6.941 MB / 1.089 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/1.578, allocations: 1.368 MB / 1.68 GB, free: 5.57 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 5.972e-05/1.578, allocations: 4 kB / 1.68 GB, free: 5.566 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.578, allocations: 0 / 1.68 GB, free: 5.566 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/1.578, allocations: 4 kB / 1.68 GB, free: 5.562 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/1.579, allocations: 0.5298 MB / 1.681 GB, free: 5.031 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/1.579, allocations: 188.9 kB / 1.681 GB, free: 4.809 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/1.579, allocations: 0.6768 MB / 1.682 GB, free: 4.105 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 4.563e-05/1.579, allocations: 11.94 kB / 1.682 GB, free: 4.094 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/1.579, allocations: 7.438 kB / 1.682 GB, free: 4.086 MB / 1.089 GB Notification: Performance of SimCode: time 2.41e-07/1.579, allocations: 0 / 1.682 GB, free: 4.086 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/1.606, allocations: 5.37 MB / 1.687 GB, free: 14.71 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/1.607, allocations: 152 kB / 1.687 GB, free: 14.52 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/3.421, allocations: 0 / 1.687 GB, free: 14.52 MB / 1.104 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