Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.01085/0.01085, allocations: 172.3 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7759/0.7759, allocations: 135.2 MB / 151 MB, free: 13.83 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.406/1.406, allocations: 223.2 MB / 406.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009444, allocations: 95.83 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003391, allocations: 11.98 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3903, allocations: 82.29 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.594, allocations: 418.1 MB / 1.058 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/1.595, allocations: 75.28 kB / 1.058 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04624/1.641, allocations: 23.51 MB / 1.081 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/1.641, allocations: 3.938 kB / 1.081 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.641, allocations: 0 / 1.081 GB, free: 159.1 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.0003955/1.641, allocations: 364.8 kB / 1.081 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.641, allocations: 15.75 kB / 1.081 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/1.641, allocations: 33.94 kB / 1.081 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/1.641, allocations: 15.73 kB / 1.081 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.051e-05/1.641, allocations: 162.2 kB / 1.081 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.358e-05/1.642, allocations: 29.64 kB / 1.081 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/1.642, allocations: 0 / 1.081 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/1.642, allocations: 44.34 kB / 1.081 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/1.642, allocations: 0 / 1.081 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.642, allocations: 4 kB / 1.081 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/1.642, allocations: 7.812 kB / 1.081 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/1.642, allocations: 15.41 kB / 1.081 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/1.642, allocations: 0.589 MB / 1.082 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.04e-05/1.642, allocations: 14.58 kB / 1.082 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/1.643, allocations: 0.4999 MB / 1.083 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/1.643, allocations: 34.47 kB / 1.083 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.643, allocations: 0 / 1.083 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/1.643, allocations: 37.5 kB / 1.083 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/1.643, allocations: 55.34 kB / 1.083 GB, free: 157 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/1.643, allocations: 99.8 kB / 1.083 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/1.643, allocations: 25.83 kB / 1.083 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/1.643, allocations: 95.67 kB / 1.083 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-06/1.643, allocations: 7.188 kB / 1.083 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/1.643, allocations: 0 / 1.083 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/1.643, allocations: 314.8 kB / 1.083 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/1.643, allocations: 0 / 1.083 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/1.643, allocations: 20.69 kB / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.795e-05/1.643, allocations: 7.906 kB / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.643, allocations: 0 / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.834e-05/1.643, allocations: 52.73 kB / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.643, allocations: 3.969 kB / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/1.643, allocations: 0 / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.643, allocations: 0 / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/1.643, allocations: 11.64 kB / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.643, allocations: 0 / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/1.643, allocations: 288 / 1.083 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/1.643, allocations: 3.906 kB / 1.083 GB, free: 156.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 () * 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 5.411e-05/1.643, allocations: 117.9 kB / 1.083 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/1.643, allocations: 3.938 kB / 1.083 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.923e-05/1.643, allocations: 116.9 kB / 1.084 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/1.644, allocations: 187.4 kB / 1.084 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/1.644, allocations: 184.2 kB / 1.084 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/1.644, allocations: 180.3 kB / 1.084 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/1.644, allocations: 412 kB / 1.084 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.644, allocations: 104.2 kB / 1.085 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/1.644, allocations: 101 kB / 1.085 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.138e-05/1.644, allocations: 184 kB / 1.085 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/1.644, allocations: 176.3 kB / 1.085 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.432e-05/1.644, allocations: 184.2 kB / 1.085 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.717e-05/1.644, allocations: 183.8 kB / 1.085 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.504e-05/1.644, allocations: 311.2 kB / 1.086 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/1.644, allocations: 191.1 kB / 1.086 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/1.644, allocations: 184.2 kB / 1.086 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/1.644, allocations: 108.4 kB / 1.086 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/1.644, allocations: 184 kB / 1.086 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/1.644, allocations: 108.9 kB / 1.086 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.606e-05/1.644, allocations: 86.3 kB / 1.086 GB, free: 153 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.644, allocations: 0 / 1.086 GB, free: 153 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004958/1.645, allocations: 95.64 kB / 1.087 GB, free: 153 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 () * 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.00109/1.646, allocations: 1.267 MB / 1.088 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.321e-05/1.646, allocations: 3.906 kB / 1.088 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.646, allocations: 3.688 kB / 1.088 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/1.646, allocations: 0 / 1.088 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/1.646, allocations: 0.5225 MB / 1.088 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/1.647, allocations: 256.5 kB / 1.089 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/1.647, allocations: 0.6799 MB / 1.089 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.618e-05/1.647, allocations: 7.875 kB / 1.089 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/1.647, allocations: 7.438 kB / 1.089 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/1.647, allocations: 0 / 1.089 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/1.667, allocations: 9.762 MB / 1.099 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/1.667, allocations: 178.9 kB / 1.099 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/3.438, allocations: 2.25 kB / 1.099 GB, free: 149.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)