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.00116/0.00116, allocations: 105.5 kB / 16.41 MB, free: 6.508 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.001242/0.001243, allocations: 187 kB / 17.34 MB, free: 5.742 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.344/1.344, 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.8064/0.8064, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 62.94 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1509, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4825/0.6334, allocations: 135.4 MB / 0.7975 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001602/0.6336, allocations: 54.38 kB / 0.7976 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.6336, allocations: 1.156 kB / 0.7976 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.6337, allocations: 3.938 kB / 0.7976 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.6338, allocations: 10.55 kB / 0.7976 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.6346, allocations: 243.2 kB / 0.7978 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.6347, allocations: 29.91 kB / 0.7979 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.6348, allocations: 6.25 kB / 0.7979 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.6348, allocations: 19.88 kB / 0.7979 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.6349, allocations: 10.52 kB / 0.7979 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.6349, allocations: 1.156 kB / 0.7979 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.6353, allocations: 248.6 kB / 0.7981 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.6354, allocations: 12.55 kB / 0.7981 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.6354, allocations: 8.562 kB / 0.7981 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.6357, allocations: 190.6 kB / 0.7983 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6358, allocations: 0 / 0.7983 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6358, allocations: 0 / 0.7983 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.6358, allocations: 0 / 0.7983 GB, free: 12.78 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.0004256/0.6362, allocations: 364.8 kB / 0.7987 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.6362, allocations: 10.39 kB / 0.7987 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.6363, allocations: 3.25 kB / 0.7987 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.6364, allocations: 165.6 kB / 0.7988 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.6365, allocations: 29.97 kB / 0.7989 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.6365, allocations: 8.469 kB / 0.7989 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.6366, allocations: 44.28 kB / 0.7989 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.6367, allocations: 0 / 0.7989 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.6367, allocations: 0 / 0.7989 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.6367, allocations: 4.844 kB / 0.7989 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.373e-05/0.6367, allocations: 17.48 kB / 0.7989 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.6375, allocations: 0.6079 MB / 0.7995 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.742e-05/0.6376, allocations: 17.11 kB / 0.7996 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.6376, allocations: 5.891 kB / 0.7996 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/0.6378, allocations: 336.2 kB / 0.7999 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.6379, allocations: 34.11 kB / 0.7999 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.6379, allocations: 4 kB / 0.7999 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001342/0.638, allocations: 38.36 kB / 0.8 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.6381, allocations: 51.41 kB / 0.8 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.6381, allocations: 104.3 kB / 0.8001 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.6382, allocations: 25.7 kB / 0.8001 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.6382, allocations: 89.08 kB / 0.8002 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-06/0.6382, allocations: 5.344 kB / 0.8002 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.6383, allocations: 15.33 kB / 0.8002 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6384, allocations: 323.3 kB / 0.8005 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.6384, allocations: 4.547 kB / 0.8005 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.6384, allocations: 17.09 kB / 0.8006 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.6385, allocations: 26.48 kB / 0.8006 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6385, allocations: 0 / 0.8006 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.432e-05/0.6386, allocations: 51.83 kB / 0.8006 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6386, allocations: 8.078 kB / 0.8006 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.6386, allocations: 0 / 0.8006 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.6386, allocations: 1.125 kB / 0.8006 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.6386, allocations: 9.312 kB / 0.8007 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.6387, allocations: 0 / 0.8007 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.6387, allocations: 1.375 kB / 0.8007 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.6387, allocations: 1.438 kB / 0.8007 GB, free: 10.3 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 7.429e-05/0.6388, allocations: 118.3 kB / 0.8008 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.6388, allocations: 5.094 kB / 0.8008 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.6389, allocations: 114.6 kB / 0.8009 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.24e-05/0.639, allocations: 186.5 kB / 0.8011 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-05/0.6391, allocations: 184 kB / 0.8012 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.193e-05/0.6391, allocations: 181.6 kB / 0.8014 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.6393, allocations: 412.7 kB / 0.8018 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.375e-05/0.6394, allocations: 102.1 kB / 0.8019 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.6394, allocations: 104.9 kB / 0.802 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-05/0.6395, allocations: 181.2 kB / 0.8022 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.6396, allocations: 183.7 kB / 0.8024 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-05/0.6396, allocations: 180.6 kB / 0.8025 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.064e-05/0.6397, allocations: 181.4 kB / 0.8027 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.6398, allocations: 309.5 kB / 0.803 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.6399, allocations: 189.7 kB / 0.8032 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.64, allocations: 179.1 kB / 0.8033 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.6401, allocations: 109.8 kB / 0.8034 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.6402, allocations: 183.2 kB / 0.8036 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.6402, allocations: 105.2 kB / 0.8037 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.6403, allocations: 87.41 kB / 0.8038 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6403, allocations: 0 / 0.8038 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003242/0.6406, allocations: 59.89 kB / 0.8039 GB, free: 6.926 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.000303/0.6409, allocations: 260.6 kB / 0.8041 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.963e-05/0.641, allocations: 9.875 kB / 0.8041 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.641, allocations: 0 / 0.8041 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.641, allocations: 5.062 kB / 0.8041 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.6414, allocations: 466.6 kB / 0.8046 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.6417, allocations: 197.2 kB / 0.8048 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.6419, allocations: 0.676 MB / 0.8054 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.642, allocations: 13.31 kB / 0.8054 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.642, allocations: 4 kB / 0.8054 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of Templates: time 0.002613/0.6446, allocations: 1.228 MB / 0.8066 GB, free: 5.227 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)