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.001388/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001245/0.001245, allocations: 193.2 kB / 16.26 MB, free: 6.621 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.91 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1964, allocations: 80.93 MB / 0.5839 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5098/0.7062, allocations: 133.5 MB / 0.7142 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001939/0.7065, allocations: 47.16 kB / 0.7143 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.7065, allocations: 1.438 kB / 0.7143 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.7067, allocations: 1.5 kB / 0.7143 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.632e-05/0.7068, allocations: 14.59 kB / 0.7143 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.7077, allocations: 233.1 kB / 0.7145 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.725e-05/0.7078, allocations: 37.78 kB / 0.7146 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.7078, allocations: 3.016 kB / 0.7146 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.7079, allocations: 16.19 kB / 0.7146 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.7079, allocations: 12.25 kB / 0.7146 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.708, allocations: 1.094 kB / 0.7146 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.7085, allocations: 260.3 kB / 0.7148 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.7085, allocations: 5.906 kB / 0.7148 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.7086, allocations: 13.66 kB / 0.7149 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.709, allocations: 198.3 kB / 0.715 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.709, allocations: 0.6094 kB / 0.715 GB, free: 11.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.694e-06/0.709, allocations: 0 / 0.715 GB, free: 11.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.709, allocations: 1.375 kB / 0.715 GB, free: 11.73 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.0004316/0.7094, allocations: 358.7 kB / 0.7154 GB, free: 11.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7095, allocations: 9.156 kB / 0.7154 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.7095, allocations: 9.469 kB / 0.7154 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.7097, allocations: 163.2 kB / 0.7156 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/0.7097, allocations: 28.25 kB / 0.7156 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.7098, allocations: 5.094 kB / 0.7156 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.7099, allocations: 47.14 kB / 0.7156 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.7099, allocations: 0 / 0.7156 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.7099, allocations: 1.953 kB / 0.7156 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.71, allocations: 1.406 kB / 0.7156 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.808e-05/0.71, allocations: 20.02 kB / 0.7157 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008221/0.7108, allocations: 0.5959 MB / 0.7162 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.744e-05/0.7109, allocations: 17.7 kB / 0.7163 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.7109, allocations: 6.844 kB / 0.7163 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.7111, allocations: 337.3 kB / 0.7166 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.7111, allocations: 36.38 kB / 0.7166 GB, free: 9.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 5.2e-06/0.7112, allocations: 0 / 0.7166 GB, free: 9.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.7113, allocations: 42.05 kB / 0.7167 GB, free: 9.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.7113, allocations: 53.3 kB / 0.7167 GB, free: 9.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.7114, allocations: 105.4 kB / 0.7168 GB, free: 9.762 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.7115, allocations: 30.95 kB / 0.7168 GB, free: 9.727 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.7115, allocations: 81.92 kB / 0.7169 GB, free: 9.645 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-06/0.7115, allocations: 13.17 kB / 0.7169 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.7116, allocations: 19.36 kB / 0.717 GB, free: 9.613 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.7117, allocations: 320.8 kB / 0.7173 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.7117, allocations: 2.406 kB / 0.7173 GB, free: 9.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.7117, allocations: 15.03 kB / 0.7173 GB, free: 9.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.7118, allocations: 25.41 kB / 0.7173 GB, free: 9.254 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7118, allocations: 5.344 kB / 0.7173 GB, free: 9.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.067e-05/0.7119, allocations: 49.56 kB / 0.7174 GB, free: 9.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.7119, allocations: 10.94 kB / 0.7174 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7119, allocations: 1.312 kB / 0.7174 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.7119, allocations: 1.25 kB / 0.7174 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.478e-05/0.712, allocations: 6.078 kB / 0.7174 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.712, allocations: 0 / 0.7174 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.712, allocations: 1.781 kB / 0.7174 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.712, allocations: 2.25 kB / 0.7174 GB, free: 9.207 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.742e-05/0.7121, allocations: 116.7 kB / 0.7175 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.7121, allocations: 5.469 kB / 0.7175 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.7122, allocations: 122.6 kB / 0.7176 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/0.7123, allocations: 178.9 kB / 0.7178 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.794e-05/0.7124, allocations: 179.5 kB / 0.7179 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.477e-05/0.7124, allocations: 186.5 kB / 0.7181 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.7126, allocations: 407.5 kB / 0.7185 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/0.7127, allocations: 107.5 kB / 0.7186 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.7127, allocations: 103 kB / 0.7187 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.78e-05/0.7128, allocations: 176.8 kB / 0.7189 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/0.7128, allocations: 185.9 kB / 0.7191 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.828e-05/0.7129, allocations: 182.9 kB / 0.7192 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.433e-05/0.7129, allocations: 185.5 kB / 0.7194 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.7131, allocations: 309.9 kB / 0.7197 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.7131, allocations: 180.7 kB / 0.7199 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.7132, allocations: 182.3 kB / 0.7201 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.7134, allocations: 110.3 kB / 0.7202 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.7134, allocations: 178.5 kB / 0.7203 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.7135, allocations: 110.5 kB / 0.7204 GB, free: 5.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.7135, allocations: 86.83 kB / 0.7205 GB, free: 5.828 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7135, allocations: 0 / 0.7205 GB, free: 5.828 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003374/0.7139, allocations: 59.98 kB / 0.7206 GB, free: 5.809 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.0003313/0.7142, allocations: 255.2 kB / 0.7208 GB, free: 5.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.274e-05/0.7143, allocations: 7.734 kB / 0.7208 GB, free: 5.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7143, allocations: 8.125 kB / 0.7208 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-06/0.7143, allocations: 0.7031 kB / 0.7208 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.7147, allocations: 457.2 kB / 0.7213 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.715, allocations: 181.1 kB / 0.7214 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.7152, allocations: 0.6829 MB / 0.7221 GB, free: 4.289 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.372e-05/0.7152, allocations: 9.938 kB / 0.7221 GB, free: 4.285 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.7153, allocations: 8.562 kB / 0.7221 GB, free: 4.277 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.7153, allocations: 0 / 0.7221 GB, free: 4.277 MB / 0.545 GB Notification: Performance of Templates: time 0.004156/0.7194, allocations: 1.285 MB / 0.7234 GB, free: 4.102 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)