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: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001055/0.001055, allocations: 172.7 kB / 15.95 MB, free: 208 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.398/1.398, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9844/0.9844, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.000419, allocations: 11.94 kB / 0.507 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 82.31 MB / 0.5874 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4977/0.6887, allocations: 122.6 MB / 0.7071 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001882/0.6889, allocations: 55.62 kB / 0.7071 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.689, allocations: 0 / 0.7071 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.6891, allocations: 4.844 kB / 0.7071 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.6892, allocations: 9.797 kB / 0.7071 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.6902, allocations: 194.1 kB / 0.7073 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.6903, allocations: 43.69 kB / 0.7073 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.6904, allocations: 0.6094 kB / 0.7073 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.916e-05/0.6905, allocations: 19.86 kB / 0.7074 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.6906, allocations: 9.766 kB / 0.7074 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.6906, allocations: 0 / 0.7074 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.6912, allocations: 165.1 kB / 0.7075 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.6912, allocations: 12.97 kB / 0.7075 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.6913, allocations: 27.77 kB / 0.7076 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.6916, allocations: 96 kB / 0.7077 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.6916, allocations: 4 kB / 0.7077 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6916, allocations: 1.531 kB / 0.7077 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6916, allocations: 0 / 0.7077 GB, free: 3.977 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.0005283/0.6921, allocations: 354.5 kB / 0.708 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.6922, allocations: 9.719 kB / 0.708 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.6922, allocations: 6.062 kB / 0.708 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.6924, allocations: 168 kB / 0.7082 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.501e-05/0.6925, allocations: 27.2 kB / 0.7082 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.6925, allocations: 6.781 kB / 0.7082 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.6927, allocations: 46.2 kB / 0.7083 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6927, allocations: 0 / 0.7083 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.6927, allocations: 5.109 kB / 0.7083 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.6928, allocations: 6.266 kB / 0.7083 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.995e-05/0.6928, allocations: 16.23 kB / 0.7083 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.6937, allocations: 0.6007 MB / 0.7089 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.025e-05/0.6938, allocations: 17.48 kB / 0.7089 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.6938, allocations: 8.797 kB / 0.7089 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.6941, allocations: 337.6 kB / 0.7092 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.6941, allocations: 36.39 kB / 0.7093 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.6941, allocations: 0 / 0.7093 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001849/0.6943, allocations: 39.16 kB / 0.7093 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.6944, allocations: 51.41 kB / 0.7093 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.6945, allocations: 102.2 kB / 0.7094 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.6945, allocations: 26.77 kB / 0.7095 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.6945, allocations: 85.58 kB / 0.7095 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.6946, allocations: 14.19 kB / 0.7096 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.6946, allocations: 0 / 0.7096 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6947, allocations: 321.4 kB / 0.7099 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.6947, allocations: 3.703 kB / 0.7099 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.6948, allocations: 14.84 kB / 0.7099 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.6948, allocations: 8.438 kB / 0.7099 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6948, allocations: 0 / 0.7099 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001004/0.6949, allocations: 49.44 kB / 0.7099 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.6949, allocations: 10.08 kB / 0.7099 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6949, allocations: 0 / 0.7099 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.695, allocations: 5.188 kB / 0.71 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.695, allocations: 5.625 kB / 0.71 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.695, allocations: 5.391 kB / 0.71 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.6951, allocations: 5.156 kB / 0.71 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.6951, allocations: 2.094 kB / 0.71 GB, free: 1.488 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.663e-05/0.6952, allocations: 107.9 kB / 0.7101 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.6952, allocations: 1.281 kB / 0.7101 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.6953, allocations: 128.6 kB / 0.7102 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.807e-05/0.6954, allocations: 178 kB / 0.7104 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-05/0.6955, allocations: 176.9 kB / 0.7105 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/0.6955, allocations: 190.6 kB / 0.7107 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.6958, allocations: 409 kB / 0.7111 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/0.6958, allocations: 109.7 kB / 0.7112 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.6959, allocations: 103.2 kB / 0.7113 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-05/0.696, allocations: 177.2 kB / 0.7115 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/0.696, allocations: 182.6 kB / 0.7117 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.795e-05/0.6961, allocations: 182.6 kB / 0.7118 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.856e-05/0.6962, allocations: 186.7 kB / 0.712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.6963, allocations: 300.7 kB / 0.7123 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.6964, allocations: 190 kB / 0.7125 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.6965, allocations: 178.6 kB / 0.7126 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.6966, allocations: 111.3 kB / 0.7128 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.6967, allocations: 182.6 kB / 0.7129 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.6968, allocations: 101.7 kB / 0.713 GB, free: 14.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.6968, allocations: 91.75 kB / 0.7131 GB, free: 14.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6968, allocations: 0 / 0.7131 GB, free: 14.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000391/0.6972, allocations: 56.64 kB / 0.7132 GB, free: 14.1 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.000396/0.6976, allocations: 254.7 kB / 0.7134 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/0.6977, allocations: 7.297 kB / 0.7134 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6977, allocations: 3.938 kB / 0.7134 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.6977, allocations: 1.812 kB / 0.7134 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.6982, allocations: 0.5263 MB / 0.7139 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.6985, allocations: 196.5 kB / 0.7141 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.6987, allocations: 0.6732 MB / 0.7148 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.248e-05/0.6988, allocations: 10.86 kB / 0.7148 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.6988, allocations: 12.78 kB / 0.7148 GB, free: 12.48 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.6988, allocations: 0 / 0.7148 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Templates: time 0.004397/0.7032, allocations: 1.209 MB / 0.716 GB, free: 12.3 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)