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.001755/0.001755, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002197/0.002197, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.1 MB / 425.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 56.53 kB / 0.5047 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1873, allocations: 80.93 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5433/0.7306, allocations: 133.3 MB / 0.7139 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001646/0.7309, allocations: 57.55 kB / 0.714 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.7309, allocations: 4 kB / 0.714 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.7311, allocations: 6.328 kB / 0.714 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/0.7312, allocations: 13.67 kB / 0.714 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009317/0.7321, allocations: 217.9 kB / 0.7142 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.7322, allocations: 64.55 kB / 0.7142 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.7323, allocations: 7.641 kB / 0.7143 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.7323, allocations: 10.36 kB / 0.7143 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.7324, allocations: 13.25 kB / 0.7143 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.7324, allocations: 1.406 kB / 0.7143 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.7329, allocations: 250.8 kB / 0.7145 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.733, allocations: 9.531 kB / 0.7145 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.733, allocations: 9.453 kB / 0.7145 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.7334, allocations: 198.7 kB / 0.7147 GB, free: 12.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.7335, allocations: 4 kB / 0.7147 GB, free: 12.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7335, allocations: 0 / 0.7147 GB, free: 12.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.7335, allocations: 0 / 0.7147 GB, free: 12.22 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.000512/0.734, allocations: 360.3 kB / 0.7151 GB, free: 11.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.7341, allocations: 9.062 kB / 0.7151 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.7341, allocations: 3.125 kB / 0.7151 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.7342, allocations: 168 kB / 0.7152 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.7343, allocations: 32.55 kB / 0.7153 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.7343, allocations: 9.375 kB / 0.7153 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.7345, allocations: 41.66 kB / 0.7153 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.7345, allocations: 0 / 0.7153 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.7345, allocations: 0 / 0.7153 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.7345, allocations: 3 kB / 0.7153 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.999e-05/0.7346, allocations: 16.41 kB / 0.7153 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.7354, allocations: 0.5963 MB / 0.7159 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.582e-05/0.7354, allocations: 21.39 kB / 0.7159 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.7355, allocations: 5.516 kB / 0.7159 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/0.7357, allocations: 338.4 kB / 0.7163 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.7357, allocations: 39.38 kB / 0.7163 GB, free: 10.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.7357, allocations: 0 / 0.7163 GB, free: 10.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.7359, allocations: 33.91 kB / 0.7163 GB, free: 10.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.7359, allocations: 60.69 kB / 0.7164 GB, free: 10.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.736, allocations: 106.3 kB / 0.7165 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.736, allocations: 27.23 kB / 0.7165 GB, free: 10.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.7361, allocations: 86.02 kB / 0.7166 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-06/0.7361, allocations: 12.55 kB / 0.7166 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.7361, allocations: 18.98 kB / 0.7166 GB, free: 10.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7363, allocations: 316 kB / 0.7169 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.7363, allocations: 7.188 kB / 0.7169 GB, free: 9.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.7363, allocations: 19.02 kB / 0.717 GB, free: 9.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.7364, allocations: 22.73 kB / 0.717 GB, free: 9.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7364, allocations: 0 / 0.717 GB, free: 9.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.544e-05/0.7364, allocations: 45.66 kB / 0.717 GB, free: 9.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.7365, allocations: 5 kB / 0.717 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7365, allocations: 2.047 kB / 0.717 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.7365, allocations: 4.062 kB / 0.717 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.7365, allocations: 10.02 kB / 0.717 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7366, allocations: 1.219 kB / 0.717 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.7366, allocations: 1.828 kB / 0.7171 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.7366, allocations: 1.562 kB / 0.7171 GB, free: 9.699 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 8.233e-05/0.7367, allocations: 116.4 kB / 0.7172 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.7367, allocations: 6.188 kB / 0.7172 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.7368, allocations: 122.4 kB / 0.7173 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.372e-05/0.7369, allocations: 182.8 kB / 0.7175 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-05/0.737, allocations: 176.3 kB / 0.7176 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.475e-05/0.737, allocations: 178.9 kB / 0.7178 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.7373, allocations: 411.7 kB / 0.7182 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.364e-05/0.7373, allocations: 106.9 kB / 0.7183 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.7374, allocations: 110.4 kB / 0.7184 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-05/0.7374, allocations: 178.4 kB / 0.7186 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.7375, allocations: 177.1 kB / 0.7187 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-05/0.7376, allocations: 182 kB / 0.7189 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.864e-05/0.7377, allocations: 187 kB / 0.7191 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.7378, allocations: 313.2 kB / 0.7194 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.7379, allocations: 184 kB / 0.7196 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.738, allocations: 185.9 kB / 0.7197 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.7382, allocations: 106.8 kB / 0.7198 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.7382, allocations: 186 kB / 0.72 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.7383, allocations: 102.6 kB / 0.7201 GB, free: 6.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.7383, allocations: 85.95 kB / 0.7202 GB, free: 6.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7383, allocations: 0 / 0.7202 GB, free: 6.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003715/0.7387, allocations: 57.08 kB / 0.7203 GB, free: 6.301 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.00035/0.7391, allocations: 253.6 kB / 0.7205 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.485e-05/0.7391, allocations: 15.17 kB / 0.7205 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7392, allocations: 1.531 kB / 0.7205 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.7392, allocations: 0 / 0.7205 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.7396, allocations: 0.5274 MB / 0.721 GB, free: 5.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.7399, allocations: 178.6 kB / 0.7212 GB, free: 5.402 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.7402, allocations: 0.6749 MB / 0.7219 GB, free: 4.707 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.7402, allocations: 12.52 kB / 0.7219 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.7402, allocations: 13.38 kB / 0.7219 GB, free: 4.691 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.7402, allocations: 0 / 0.7219 GB, free: 4.691 MB / 0.545 GB Notification: Performance of Templates: time 0.004166/0.7444, allocations: 1.267 MB / 0.7231 GB, free: 4.52 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)