Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8413/0.8413, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 101.1 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.33e-05/4.39e-05, allocations: 3.031 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.632/1.833, allocations: 418 MB / 1.049 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/1.834, allocations: 69.89 kB / 1.049 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0473/1.881, allocations: 23.43 MB / 1.072 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.773e-06/1.881, allocations: 0 / 1.072 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.881, allocations: 0 / 1.072 GB, free: 157.3 MB / 0.6823 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.0003845/1.881, allocations: 366.8 kB / 1.072 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.882, allocations: 8.031 kB / 1.072 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/1.882, allocations: 30.56 kB / 1.072 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/1.882, allocations: 11.86 kB / 1.072 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/1.882, allocations: 162 kB / 1.072 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/1.882, allocations: 33.64 kB / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/1.882, allocations: 4 kB / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/1.882, allocations: 41.5 kB / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.882, allocations: 0 / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/1.882, allocations: 0 / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/1.882, allocations: 0 / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/1.882, allocations: 15.94 kB / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/1.883, allocations: 0.5984 MB / 1.073 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.817e-05/1.883, allocations: 18.52 kB / 1.073 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/1.883, allocations: 4.859 kB / 1.073 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/1.883, allocations: 0.5016 MB / 1.073 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/1.883, allocations: 34.56 kB / 1.073 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/1.883, allocations: 7.984 kB / 1.073 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/1.883, allocations: 33.66 kB / 1.073 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/1.883, allocations: 51.41 kB / 1.073 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/1.883, allocations: 104.3 kB / 1.074 GB, free: 155 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/1.883, allocations: 25.7 kB / 1.074 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/1.883, allocations: 91.36 kB / 1.074 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/1.883, allocations: 0 / 1.074 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/1.883, allocations: 3.938 kB / 1.074 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/1.883, allocations: 318.9 kB / 1.074 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/1.883, allocations: 3.562 kB / 1.074 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/1.883, allocations: 17.7 kB / 1.074 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.755e-05/1.883, allocations: 4 kB / 1.074 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.883, allocations: 0 / 1.074 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.222e-05/1.883, allocations: 56.91 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/1.883, allocations: 8.062 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/1.883, allocations: 0 / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.883, allocations: 3.953 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/1.884, allocations: 11.94 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.884, allocations: 0 / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/1.884, allocations: 0 / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/1.884, allocations: 0 / 1.074 GB, free: 154.4 MB / 0.6823 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 3.94e-05/1.884, allocations: 105 kB / 1.074 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/1.884, allocations: 3.375 kB / 1.074 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.102e-05/1.884, allocations: 124.9 kB / 1.074 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/1.884, allocations: 176.3 kB / 1.074 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.824e-05/1.884, allocations: 188.2 kB / 1.075 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/1.884, allocations: 183.9 kB / 1.075 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/1.884, allocations: 401.2 kB / 1.075 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.884, allocations: 112.4 kB / 1.075 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/1.884, allocations: 101 kB / 1.075 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.597e-05/1.884, allocations: 180.2 kB / 1.076 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.884, allocations: 180.3 kB / 1.076 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.521e-05/1.884, allocations: 180.3 kB / 1.076 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.578e-05/1.884, allocations: 188.3 kB / 1.076 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.015e-05/1.884, allocations: 311.3 kB / 1.076 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/1.884, allocations: 193.5 kB / 1.077 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/1.884, allocations: 176.3 kB / 1.077 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/1.884, allocations: 108.9 kB / 1.077 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/1.884, allocations: 180.3 kB / 1.077 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/1.885, allocations: 108.9 kB / 1.077 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.905e-05/1.885, allocations: 90.05 kB / 1.077 GB, free: 151 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.885, allocations: 0 / 1.077 GB, free: 151 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003778/1.885, allocations: 80.92 kB / 1.077 GB, free: 150.9 MB / 0.6823 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.0008204/1.886, allocations: 1.287 MB / 1.079 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.932e-05/1.886, allocations: 15 kB / 1.079 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.886, allocations: 0 / 1.079 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/1.886, allocations: 0 / 1.079 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/1.886, allocations: 0.5147 MB / 1.079 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/1.886, allocations: 208.6 kB / 1.079 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/1.887, allocations: 0.677 MB / 1.08 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.156e-05/1.887, allocations: 11.89 kB / 1.08 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/1.887, allocations: 11.44 kB / 1.08 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/1.887, allocations: 0 / 1.08 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/1.907, allocations: 11.22 MB / 1.091 GB, free: 137 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/1.907, allocations: 159.4 kB / 1.091 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/3.85, allocations: 2.875 kB / 1.091 GB, free: 136.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)