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.0007891/0.0007891, allocations: 99.34 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008581/0.0008582, allocations: 181.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9242/0.9242, allocations: 135.3 MB / 427.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 8.625 kB / 0.5082 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 82.31 MB / 0.5886 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3784/0.5273, allocations: 131.6 MB / 0.7171 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001675/0.5276, allocations: 59.72 kB / 0.7172 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.5276, allocations: 1.125 kB / 0.7172 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.5277, allocations: 9.953 kB / 0.7172 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.5278, allocations: 5.656 kB / 0.7172 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008574/0.5287, allocations: 224.3 kB / 0.7174 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.5288, allocations: 62.2 kB / 0.7174 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.5289, allocations: 5.344 kB / 0.7174 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.5289, allocations: 15.33 kB / 0.7175 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.529, allocations: 15.97 kB / 0.7175 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.529, allocations: 1.438 kB / 0.7175 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.5295, allocations: 248.5 kB / 0.7177 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.5296, allocations: 4.094 kB / 0.7177 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.5296, allocations: 39.86 kB / 0.7178 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.5299, allocations: 126.9 kB / 0.7179 GB, free: 11.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5299, allocations: 0 / 0.7179 GB, free: 11.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5299, allocations: 5.344 kB / 0.7179 GB, free: 11.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.5299, allocations: 0 / 0.7179 GB, free: 11.82 MB / 0.545 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.0004075/0.5303, allocations: 354.4 kB / 0.7182 GB, free: 11.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5304, allocations: 8.656 kB / 0.7182 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.5304, allocations: 8.672 kB / 0.7182 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.5305, allocations: 162.6 kB / 0.7184 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.5306, allocations: 28.58 kB / 0.7184 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.5306, allocations: 9.031 kB / 0.7184 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.5308, allocations: 50.06 kB / 0.7185 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.5308, allocations: 0 / 0.7185 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5308, allocations: 3.938 kB / 0.7185 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.5308, allocations: 1.312 kB / 0.7185 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.5309, allocations: 16.91 kB / 0.7185 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/0.5316, allocations: 0.6085 MB / 0.7191 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.067e-05/0.5317, allocations: 20.5 kB / 0.7191 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.5317, allocations: 6.859 kB / 0.7191 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/0.5319, allocations: 334.2 kB / 0.7194 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.532, allocations: 36.27 kB / 0.7195 GB, free: 10.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.532, allocations: 0 / 0.7195 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.5321, allocations: 33.08 kB / 0.7195 GB, free: 10.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.5322, allocations: 57.16 kB / 0.7196 GB, free: 9.941 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.5323, allocations: 107.5 kB / 0.7197 GB, free: 9.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.5323, allocations: 25.7 kB / 0.7197 GB, free: 9.805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.5323, allocations: 85.86 kB / 0.7198 GB, free: 9.719 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.5324, allocations: 10 kB / 0.7198 GB, free: 9.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.5324, allocations: 13.72 kB / 0.7198 GB, free: 9.691 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5325, allocations: 317.2 kB / 0.7201 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.5325, allocations: 3.469 kB / 0.7201 GB, free: 9.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.5326, allocations: 19.08 kB / 0.7201 GB, free: 9.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.5326, allocations: 20.72 kB / 0.7201 GB, free: 9.336 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5326, allocations: 1.188 kB / 0.7201 GB, free: 9.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.971e-05/0.5327, allocations: 49.36 kB / 0.7202 GB, free: 9.297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.5327, allocations: 10.06 kB / 0.7202 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5327, allocations: 0 / 0.7202 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5328, allocations: 5.594 kB / 0.7202 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.202e-05/0.5328, allocations: 5.75 kB / 0.7202 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5328, allocations: 1.984 kB / 0.7202 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.5328, allocations: 1.25 kB / 0.7202 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.5328, allocations: 1.406 kB / 0.7202 GB, free: 9.289 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/0.5329, allocations: 115.8 kB / 0.7203 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.533, allocations: 2.188 kB / 0.7203 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.5331, allocations: 126.5 kB / 0.7204 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-05/0.5331, allocations: 178.1 kB / 0.7206 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.556e-05/0.5332, allocations: 182.5 kB / 0.7208 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.216e-05/0.5333, allocations: 177 kB / 0.7209 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.5335, allocations: 413.2 kB / 0.7213 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/0.5336, allocations: 101 kB / 0.7214 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.5336, allocations: 110.8 kB / 0.7215 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.511e-05/0.5337, allocations: 186.3 kB / 0.7217 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.5337, allocations: 178.1 kB / 0.7219 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.824e-05/0.5338, allocations: 183.2 kB / 0.7221 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-05/0.5339, allocations: 176.3 kB / 0.7222 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.534, allocations: 324.5 kB / 0.7225 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.5341, allocations: 181.5 kB / 0.7227 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.5342, allocations: 183.2 kB / 0.7229 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.5343, allocations: 106.9 kB / 0.723 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.5344, allocations: 190 kB / 0.7232 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.5344, allocations: 103.2 kB / 0.7233 GB, free: 5.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.5345, allocations: 81.94 kB / 0.7234 GB, free: 5.906 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5345, allocations: 0 / 0.7234 GB, free: 5.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003432/0.5348, allocations: 61.08 kB / 0.7234 GB, free: 5.887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003238/0.5352, allocations: 256.7 kB / 0.7237 GB, free: 5.699 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.694e-05/0.5353, allocations: 11.91 kB / 0.7237 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5353, allocations: 0 / 0.7237 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.5353, allocations: 5.406 kB / 0.7237 GB, free: 5.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.5357, allocations: 0.5228 MB / 0.7242 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.536, allocations: 215.7 kB / 0.7244 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.5362, allocations: 0.6743 MB / 0.725 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.5362, allocations: 9.438 kB / 0.7251 GB, free: 4.258 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.5362, allocations: 1 kB / 0.7251 GB, free: 4.258 MB / 0.545 GB Notification: Performance of Templates: time 0.003212/0.5395, allocations: 1.226 MB / 0.7263 GB, free: 4.117 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)