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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009132/0.0009133, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001036/0.001036, allocations: 168.7 kB / 15.95 MB, free: 204 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.405/1.405, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9924/0.9924, allocations: 135.3 MB / 426.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003226, allocations: 9.125 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1779, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4815/0.6594, allocations: 122.6 MB / 0.7072 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001616/0.6596, allocations: 48.77 kB / 0.7072 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.6597, allocations: 0 / 0.7072 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.6598, allocations: 5.016 kB / 0.7072 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.878e-05/0.6599, allocations: 14.64 kB / 0.7072 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008651/0.6608, allocations: 190.5 kB / 0.7074 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.6609, allocations: 45.86 kB / 0.7074 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.6609, allocations: 6.484 kB / 0.7075 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.271e-05/0.661, allocations: 16.17 kB / 0.7075 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.6611, allocations: 15.75 kB / 0.7075 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.6611, allocations: 5 kB / 0.7075 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.6616, allocations: 162.6 kB / 0.7076 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.6617, allocations: 4.125 kB / 0.7076 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.6617, allocations: 29.2 kB / 0.7077 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.662, allocations: 102.8 kB / 0.7078 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.662, allocations: 1.406 kB / 0.7078 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.355e-06/0.662, allocations: 0 / 0.7078 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.662, allocations: 0 / 0.7078 GB, free: 3.895 MB / 0.5294 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.0004957/0.6625, allocations: 352.3 kB / 0.7081 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.6626, allocations: 13.34 kB / 0.7081 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.6627, allocations: 36.41 kB / 0.7082 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.6627, allocations: 3.031 kB / 0.7082 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.6628, allocations: 170.9 kB / 0.7083 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/0.6629, allocations: 28.33 kB / 0.7083 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.663, allocations: 6.859 kB / 0.7084 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.6631, allocations: 40.83 kB / 0.7084 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.6631, allocations: 1.625 kB / 0.7084 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.6631, allocations: 0 / 0.7084 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.6632, allocations: 5.375 kB / 0.7084 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/0.6632, allocations: 24.52 kB / 0.7084 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.6641, allocations: 0.5943 MB / 0.709 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/0.6641, allocations: 17.23 kB / 0.709 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.6642, allocations: 14.33 kB / 0.709 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.6644, allocations: 334 kB / 0.7094 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.6644, allocations: 32.11 kB / 0.7094 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.6644, allocations: 0 / 0.7094 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.6646, allocations: 42.16 kB / 0.7094 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.6646, allocations: 52.16 kB / 0.7095 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.6647, allocations: 106.8 kB / 0.7096 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.6648, allocations: 25.83 kB / 0.7096 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.6648, allocations: 90.73 kB / 0.7097 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.6648, allocations: 9.281 kB / 0.7097 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.6648, allocations: 0 / 0.7097 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.665, allocations: 313.7 kB / 0.71 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.665, allocations: 2.312 kB / 0.71 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.665, allocations: 20.11 kB / 0.71 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.665, allocations: 12.31 kB / 0.71 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.665, allocations: 0 / 0.71 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.295e-05/0.6651, allocations: 45.58 kB / 0.7101 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.6652, allocations: 5.375 kB / 0.7101 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6652, allocations: 0.5625 kB / 0.7101 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.6652, allocations: 1.094 kB / 0.7101 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.6653, allocations: 10.3 kB / 0.7101 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6653, allocations: 6.094 kB / 0.7101 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.6653, allocations: 0 / 0.7101 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.6653, allocations: 3.031 kB / 0.7101 GB, free: 1.371 MB / 0.5294 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.247e-05/0.6654, allocations: 112.8 kB / 0.7102 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.6655, allocations: 1.125 kB / 0.7102 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.6656, allocations: 124.2 kB / 0.7103 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.664e-05/0.6657, allocations: 182.4 kB / 0.7105 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.199e-05/0.6657, allocations: 180.9 kB / 0.7107 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.536e-05/0.6658, allocations: 186.2 kB / 0.7108 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.666, allocations: 411.5 kB / 0.7112 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/0.6661, allocations: 102.7 kB / 0.7113 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.6661, allocations: 106.4 kB / 0.7114 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-05/0.6662, allocations: 178.7 kB / 0.7116 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.6663, allocations: 186.9 kB / 0.7118 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.455e-05/0.6663, allocations: 181 kB / 0.712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-05/0.6664, allocations: 179.2 kB / 0.7121 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.6666, allocations: 312.6 kB / 0.7124 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.6667, allocations: 187.6 kB / 0.7126 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.6667, allocations: 184 kB / 0.7128 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.6669, allocations: 106.7 kB / 0.7129 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.667, allocations: 182.7 kB / 0.7131 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.667, allocations: 109.2 kB / 0.7132 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.6671, allocations: 83.31 kB / 0.7132 GB, free: 14 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6671, allocations: 0 / 0.7132 GB, free: 14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003706/0.6675, allocations: 61.86 kB / 0.7133 GB, free: 13.97 MB / 0.545 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.0006191/0.6681, allocations: 0.8809 MB / 0.7142 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.344e-05/0.6682, allocations: 12.53 kB / 0.7142 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6682, allocations: 0 / 0.7142 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.6682, allocations: 0 / 0.7142 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.6686, allocations: 0.5307 MB / 0.7147 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.6691, allocations: 254.4 kB / 0.7149 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.6693, allocations: 0.6745 MB / 0.7156 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.455e-05/0.6694, allocations: 4.984 kB / 0.7156 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.6694, allocations: 17.58 kB / 0.7156 GB, free: 11.65 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.6694, allocations: 1.312 kB / 0.7156 GB, free: 11.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.6837, allocations: 1.95 MB / 0.7175 GB, free: 11.42 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.684, allocations: 191.6 kB / 0.7177 GB, free: 11.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.435, allocations: 0 / 0.7177 GB, free: 11.18 MB / 0.545 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) Environment - environmentSimulation: