Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008327/0.0008328, 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.0009013/0.0009013, 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.164/1.164, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6618/0.6618, allocations: 132.4 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002693, allocations: 11.94 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3219, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1169/0.4389, allocations: 122.6 MB / 0.7028 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001233/0.439, allocations: 51.89 kB / 0.7028 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.4391, allocations: 0 / 0.7028 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.228e-05/0.4391, allocations: 3.938 kB / 0.7028 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.426e-05/0.4392, allocations: 15.91 kB / 0.7028 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.4399, allocations: 187.2 kB / 0.703 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.726e-05/0.4399, allocations: 43.83 kB / 0.7031 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 2.487e-05/0.44, allocations: 0 / 0.7031 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.44, allocations: 23.91 kB / 0.7031 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.4401, allocations: 12 kB / 0.7031 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.4401, allocations: 0 / 0.7031 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003366/0.4404, allocations: 163.6 kB / 0.7033 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.4404, allocations: 7.938 kB / 0.7033 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.4405, allocations: 29.7 kB / 0.7033 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.4407, allocations: 105.6 kB / 0.7034 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4407, allocations: 0 / 0.7034 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4407, allocations: 0 / 0.7034 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.4407, allocations: 0 / 0.7034 GB, free: 5.078 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.0003431/0.441, allocations: 356.6 kB / 0.7037 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.4411, allocations: 12.03 kB / 0.7037 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.4411, allocations: 0 / 0.7037 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.4412, allocations: 163 kB / 0.7039 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.4413, allocations: 41.67 kB / 0.7039 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.4413, allocations: 0 / 0.7039 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.4414, allocations: 37.69 kB / 0.704 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.4414, allocations: 0 / 0.704 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4415, allocations: 4 kB / 0.704 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.4415, allocations: 7.938 kB / 0.704 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.773e-05/0.4415, allocations: 15.98 kB / 0.704 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.4421, allocations: 0.5989 MB / 0.7046 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.133e-05/0.4422, allocations: 14.58 kB / 0.7046 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.4422, allocations: 16.86 kB / 0.7046 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.4424, allocations: 340.3 kB / 0.7049 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.4424, allocations: 38.5 kB / 0.705 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.4424, allocations: 0 / 0.705 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.4425, allocations: 37.64 kB / 0.705 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.4425, allocations: 51.41 kB / 0.7051 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/0.4426, allocations: 101.9 kB / 0.7052 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.4426, allocations: 25.83 kB / 0.7052 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.4427, allocations: 96.02 kB / 0.7053 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.4427, allocations: 11.84 kB / 0.7053 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.4427, allocations: 0 / 0.7053 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.308e-05/0.4428, allocations: 314.8 kB / 0.7056 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-06/0.4428, allocations: 0 / 0.7056 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/0.4428, allocations: 25.64 kB / 0.7056 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.792e-05/0.4429, allocations: 8 kB / 0.7056 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4429, allocations: 0 / 0.7056 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.412e-05/0.4429, allocations: 49.69 kB / 0.7057 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.443, allocations: 5.875 kB / 0.7057 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.443, allocations: 0 / 0.7057 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.443, allocations: 0 / 0.7057 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.669e-05/0.443, allocations: 7.938 kB / 0.7057 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.443, allocations: 7.953 kB / 0.7057 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.443, allocations: 0 / 0.7057 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4431, allocations: 0 / 0.7057 GB, free: 2.352 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 6.153e-05/0.4431, allocations: 115.4 kB / 0.7058 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.4431, allocations: 3.984 kB / 0.7058 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/0.4432, allocations: 120.9 kB / 0.7059 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/0.4433, allocations: 180.2 kB / 0.7061 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-05/0.4434, allocations: 180.3 kB / 0.7063 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.874e-05/0.4434, allocations: 192.1 kB / 0.7064 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.4436, allocations: 405.2 kB / 0.7068 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/0.4436, allocations: 105 kB / 0.7069 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.4437, allocations: 108.9 kB / 0.707 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.051e-05/0.4437, allocations: 176.3 kB / 0.7072 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.4438, allocations: 188.2 kB / 0.7074 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.492e-05/0.4438, allocations: 184.2 kB / 0.7076 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.534e-05/0.4439, allocations: 176.3 kB / 0.7077 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.444, allocations: 315.9 kB / 0.708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.4441, allocations: 190 kB / 0.7082 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.4442, allocations: 180.3 kB / 0.7084 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.4443, allocations: 113 kB / 0.7085 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.4444, allocations: 180.2 kB / 0.7087 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.4444, allocations: 101 kB / 0.7088 GB, free: 14.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.4445, allocations: 87.28 kB / 0.7088 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4445, allocations: 0 / 0.7088 GB, free: 14.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002604/0.4447, allocations: 59.92 kB / 0.7089 GB, free: 14.85 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.0002607/0.445, allocations: 242.4 kB / 0.7091 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.304e-05/0.4451, allocations: 19.98 kB / 0.7091 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4451, allocations: 0 / 0.7091 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.4451, allocations: 0 / 0.7091 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.4454, allocations: 0.5185 MB / 0.7096 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.4456, allocations: 192.2 kB / 0.7098 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.4459, allocations: 0.677 MB / 0.7105 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.4459, allocations: 4 kB / 0.7105 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.4459, allocations: 11.38 kB / 0.7105 GB, free: 13.13 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4459, allocations: 0 / 0.7105 GB, free: 13.13 MB / 0.545 GB Notification: Performance of Templates: time 0.002964/0.4489, allocations: 1.209 MB / 0.7117 GB, free: 11.93 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)