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.231/2.231, allocations: 390.5 MB / 398 MB, free: 10.97 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.001056/0.001056, allocations: 187.1 kB / 491.2 MB, free: 1.605 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.467/1.467, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009556/0.0009557, allocations: 95.81 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.053e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2535, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.419, allocations: 456.1 MB / 1.658 GB, free: 7.773 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.419, allocations: 73.97 kB / 1.658 GB, free: 7.738 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.05057/1.47, allocations: 23.01 MB / 1.68 GB, free: 5.152 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.853e-06/1.47, allocations: 0 / 1.68 GB, free: 5.152 MB / 1.089 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.47, allocations: 0 / 1.68 GB, free: 5.152 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.0003881/1.47, allocations: 361.2 kB / 1.681 GB, free: 4.758 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.47, allocations: 8.031 kB / 1.681 GB, free: 4.75 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/1.47, allocations: 3.953 kB / 1.681 GB, free: 4.746 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/1.47, allocations: 163.1 kB / 1.681 GB, free: 4.547 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/1.47, allocations: 25.7 kB / 1.681 GB, free: 4.516 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/1.47, allocations: 0 / 1.681 GB, free: 4.516 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.44e-05/1.47, allocations: 19.11 kB / 1.681 GB, free: 4.5 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.628e-05/1.471, allocations: 37.69 kB / 1.681 GB, free: 4.457 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/1.471, allocations: 3.938 kB / 1.681 GB, free: 4.453 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/1.471, allocations: 7.953 kB / 1.681 GB, free: 4.445 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/1.471, allocations: 4 kB / 1.681 GB, free: 4.441 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/1.471, allocations: 0.577 MB / 1.681 GB, free: 3.77 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 3.443e-05/1.471, allocations: 14.58 kB / 1.681 GB, free: 3.746 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/1.471, allocations: 12.92 kB / 1.681 GB, free: 3.73 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/1.472, allocations: 0.4939 MB / 1.682 GB, free: 3.133 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/1.472, allocations: 34.5 kB / 1.682 GB, free: 3.09 MB / 1.089 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/1.472, allocations: 3.938 kB / 1.682 GB, free: 3.086 MB / 1.089 GB Notification: Performance of matching and sorting (n=1): time 0.0002358/1.472, allocations: 41.64 kB / 1.682 GB, free: 3.039 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/1.472, allocations: 55.41 kB / 1.682 GB, free: 2.973 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/1.472, allocations: 104.2 kB / 1.682 GB, free: 2.867 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/1.472, allocations: 25.7 kB / 1.682 GB, free: 2.836 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/1.472, allocations: 87.98 kB / 1.682 GB, free: 2.746 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-06/1.472, allocations: 7.938 kB / 1.682 GB, free: 2.742 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/1.472, allocations: 0 / 1.682 GB, free: 2.742 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 8.833e-05/1.472, allocations: 310.8 kB / 1.683 GB, free: 2.43 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/1.472, allocations: 0 / 1.683 GB, free: 2.43 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/1.472, allocations: 17.7 kB / 1.683 GB, free: 2.406 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/1.472, allocations: 22.92 kB / 1.683 GB, free: 2.387 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.472, allocations: 3.938 kB / 1.683 GB, free: 2.383 MB / 1.089 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002024/1.473, allocations: 60.48 kB / 1.683 GB, free: 2.32 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.473, allocations: 5.562 kB / 1.683 GB, free: 2.316 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.473, allocations: 0 / 1.683 GB, free: 2.316 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.473, allocations: 4 kB / 1.683 GB, free: 2.312 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/1.473, allocations: 8 kB / 1.683 GB, free: 2.305 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/1.473, allocations: 3.953 kB / 1.683 GB, free: 2.301 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/1.473, allocations: 7.969 kB / 1.683 GB, free: 2.293 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/1.473, allocations: 0 / 1.683 GB, free: 2.293 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.668e-05/1.473, allocations: 108.9 kB / 1.683 GB, free: 2.18 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001444/1.473, allocations: 41.69 kB / 1.683 GB, free: 2.133 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/1.473, allocations: 0 / 1.683 GB, free: 2.133 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/1.473, allocations: 129.3 kB / 1.683 GB, free: 2 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.417e-05/1.473, allocations: 180.2 kB / 1.683 GB, free: 1.816 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.242e-05/1.473, allocations: 180.3 kB / 1.683 GB, free: 1.633 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.395e-05/1.473, allocations: 180.2 kB / 1.684 GB, free: 1.449 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/1.474, allocations: 385.2 kB / 1.684 GB, free: 1.031 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-05/1.474, allocations: 105 kB / 1.684 GB, free: 0.9219 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/1.474, allocations: 101 kB / 1.684 GB, free: 0.8164 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.916e-05/1.474, allocations: 188.2 kB / 1.684 GB, free: 0.625 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/1.474, allocations: 180.2 kB / 1.684 GB, free: 452 kB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-05/1.474, allocations: 176.3 kB / 1.685 GB, free: 268 kB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.564e-05/1.474, allocations: 192.2 kB / 1.685 GB, free: 68 kB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/1.474, allocations: 303.1 kB / 1.685 GB, free: 15.75 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/1.474, allocations: 201.4 kB / 1.685 GB, free: 15.53 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/1.474, allocations: 176.3 kB / 1.685 GB, free: 15.35 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/1.474, allocations: 105 kB / 1.686 GB, free: 15.24 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/1.474, allocations: 180.2 kB / 1.686 GB, free: 15.06 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/1.474, allocations: 108.9 kB / 1.686 GB, free: 14.95 MB / 1.104 GB Notification: Performance of sorting global known variables: time 3.955e-05/1.474, allocations: 90.39 kB / 1.686 GB, free: 14.86 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.61e-07/1.474, allocations: 0 / 1.686 GB, free: 14.86 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.000366/1.475, allocations: 80.05 kB / 1.686 GB, free: 14.8 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.001144/1.476, allocations: 1.363 MB / 1.687 GB, free: 13.43 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/1.476, allocations: 4 kB / 1.687 GB, free: 13.42 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.476, allocations: 0 / 1.687 GB, free: 13.42 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/1.476, allocations: 4.125 kB / 1.687 GB, free: 13.42 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/1.476, allocations: 0.5218 MB / 1.688 GB, free: 12.89 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/1.477, allocations: 188.8 kB / 1.688 GB, free: 12.67 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/1.477, allocations: 0.6768 MB / 1.689 GB, free: 11.97 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 4.667e-05/1.477, allocations: 11.98 kB / 1.689 GB, free: 11.96 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/1.477, allocations: 11.38 kB / 1.689 GB, free: 11.95 MB / 1.104 GB Notification: Performance of SimCode: time 2.6e-07/1.477, allocations: 0 / 1.689 GB, free: 11.95 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/1.501, allocations: 5.359 MB / 1.694 GB, free: 6.59 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.502, allocations: 146.2 kB / 1.694 GB, free: 6.402 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/3.207, allocations: 3.25 kB / 1.694 GB, free: 6.402 MB / 1.104 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