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.001284/0.001284, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.00129/0.00129, allocations: 181.8 kB / 17.34 MB, free: 5.727 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8561/0.8561, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 70.47 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1733, allocations: 80.94 MB / 0.6654 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4775/0.6509, allocations: 135.8 MB / 0.798 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001666/0.651, allocations: 50.48 kB / 0.798 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.6511, allocations: 5.188 kB / 0.798 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.6512, allocations: 6.422 kB / 0.798 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.6513, allocations: 15.25 kB / 0.798 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.652, allocations: 245.4 kB / 0.7983 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.6521, allocations: 39.59 kB / 0.7983 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.6522, allocations: 1.094 kB / 0.7983 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.6522, allocations: 15.61 kB / 0.7983 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.6523, allocations: 10.78 kB / 0.7983 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.6523, allocations: 1.156 kB / 0.7983 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.6527, allocations: 252.1 kB / 0.7986 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.6527, allocations: 6.266 kB / 0.7986 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.6528, allocations: 7.672 kB / 0.7986 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.6531, allocations: 191.6 kB / 0.7988 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6531, allocations: 5.594 kB / 0.7988 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6531, allocations: 0 / 0.7988 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6531, allocations: 0 / 0.7988 GB, free: 12.74 MB / 0.5919 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.0004904/0.6536, allocations: 365.5 kB / 0.7991 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.6536, allocations: 10.42 kB / 0.7991 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.6537, allocations: 6.016 kB / 0.7991 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.6538, allocations: 163.9 kB / 0.7993 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.6539, allocations: 27.61 kB / 0.7993 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.6539, allocations: 9.062 kB / 0.7993 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.654, allocations: 45.95 kB / 0.7994 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.654, allocations: 4.5 kB / 0.7994 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.6541, allocations: 5.016 kB / 0.7994 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.6541, allocations: 2.719 kB / 0.7994 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.6541, allocations: 17.98 kB / 0.7994 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.655, allocations: 0.6018 MB / 0.8 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.631e-05/0.6551, allocations: 16.92 kB / 0.8 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.6551, allocations: 12.41 kB / 0.8 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.6553, allocations: 332.2 kB / 0.8003 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.6554, allocations: 39.78 kB / 0.8004 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.6554, allocations: 0 / 0.8004 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001526/0.6555, allocations: 36.55 kB / 0.8004 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.6556, allocations: 56.91 kB / 0.8005 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.6557, allocations: 101.3 kB / 0.8006 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.6557, allocations: 26.8 kB / 0.8006 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.6557, allocations: 87.16 kB / 0.8007 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.6557, allocations: 5.172 kB / 0.8007 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.6558, allocations: 16.5 kB / 0.8007 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6559, allocations: 318.4 kB / 0.801 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.656, allocations: 2.25 kB / 0.801 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.656, allocations: 26.98 kB / 0.801 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.656, allocations: 21.84 kB / 0.8011 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.656, allocations: 0 / 0.8011 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.255e-05/0.6561, allocations: 49.67 kB / 0.8011 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6561, allocations: 5.531 kB / 0.8011 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6561, allocations: 1.031 kB / 0.8011 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.6561, allocations: 5.219 kB / 0.8011 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.6562, allocations: 6.5 kB / 0.8011 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.6562, allocations: 1.062 kB / 0.8011 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.6562, allocations: 1.031 kB / 0.8011 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.6562, allocations: 4.516 kB / 0.8011 GB, free: 10.26 MB / 0.5919 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 9.429e-05/0.6563, allocations: 111.9 kB / 0.8012 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.6563, allocations: 5.078 kB / 0.8012 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.6565, allocations: 129.7 kB / 0.8014 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.488e-05/0.6566, allocations: 176.3 kB / 0.8015 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.461e-05/0.6567, allocations: 185.3 kB / 0.8017 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.521e-05/0.6567, allocations: 177.4 kB / 0.8019 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.657, allocations: 412.2 kB / 0.8023 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.646e-05/0.6571, allocations: 106 kB / 0.8024 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.6571, allocations: 108.4 kB / 0.8025 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.653e-05/0.6572, allocations: 185 kB / 0.8026 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.748e-05/0.6573, allocations: 177.4 kB / 0.8028 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.515e-05/0.6574, allocations: 179 kB / 0.803 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.653e-05/0.6575, allocations: 181.3 kB / 0.8032 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.6577, allocations: 321.9 kB / 0.8035 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.6578, allocations: 179.3 kB / 0.8036 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/0.6579, allocations: 179.7 kB / 0.8038 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.658, allocations: 113.8 kB / 0.8039 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.6581, allocations: 180.3 kB / 0.8041 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/0.6582, allocations: 108.7 kB / 0.8042 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.702e-05/0.6582, allocations: 88.69 kB / 0.8043 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6582, allocations: 0 / 0.8043 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003964/0.6586, allocations: 58.97 kB / 0.8043 GB, free: 6.871 MB / 0.5919 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.0003927/0.659, allocations: 260.5 kB / 0.8046 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.577e-05/0.6591, allocations: 7.594 kB / 0.8046 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6591, allocations: 0 / 0.8046 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.6591, allocations: 0 / 0.8046 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.6596, allocations: 468.9 kB / 0.805 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.6599, allocations: 201.3 kB / 0.8052 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.6602, allocations: 0.6749 MB / 0.8059 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.6602, allocations: 9.812 kB / 0.8059 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.6602, allocations: 0 / 0.8059 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of Templates: time 0.003024/0.6633, allocations: 1.234 MB / 0.8071 GB, free: 5.176 MB / 0.5919 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)