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.009594/0.009594, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.002345/0.002345, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.316/1.316, allocations: 222.9 MB / 240.4 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.785/0.785, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.06 kB / 0.5856 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1942, allocations: 80.92 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5223/0.7166, allocations: 135.4 MB / 0.7969 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001603/0.7168, allocations: 50.16 kB / 0.7969 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.7168, allocations: 0 / 0.7969 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.7169, allocations: 9 kB / 0.7969 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.717, allocations: 9.969 kB / 0.7969 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.7178, allocations: 250.4 kB / 0.7972 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.7179, allocations: 32.06 kB / 0.7972 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.7179, allocations: 2.125 kB / 0.7972 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.718, allocations: 17.56 kB / 0.7972 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.7181, allocations: 14.98 kB / 0.7972 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.7181, allocations: 1.125 kB / 0.7972 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004252/0.7185, allocations: 247.3 kB / 0.7975 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.7186, allocations: 10 kB / 0.7975 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.7186, allocations: 11.12 kB / 0.7975 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.7189, allocations: 190.5 kB / 0.7977 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.7189, allocations: 1.094 kB / 0.7977 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.163e-06/0.719, allocations: 0 / 0.7977 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.719, allocations: 0 / 0.7977 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.0004597/0.7194, allocations: 360.7 kB / 0.798 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7195, allocations: 10.89 kB / 0.798 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.7195, allocations: 6 kB / 0.798 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.7196, allocations: 161.9 kB / 0.7982 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.7197, allocations: 29.67 kB / 0.7982 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.7197, allocations: 9.406 kB / 0.7982 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.7199, allocations: 47.39 kB / 0.7983 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7199, allocations: 1.125 kB / 0.7983 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7199, allocations: 1.594 kB / 0.7983 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.7199, allocations: 1.156 kB / 0.7983 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.342e-05/0.72, allocations: 17.45 kB / 0.7983 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.7207, allocations: 0.6123 MB / 0.7989 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.418e-05/0.7208, allocations: 16.2 kB / 0.7989 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.7208, allocations: 6.359 kB / 0.7989 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.721, allocations: 336 kB / 0.7992 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.721, allocations: 33.89 kB / 0.7993 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.721, allocations: 0 / 0.7993 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001364/0.7212, allocations: 35.14 kB / 0.7993 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.7212, allocations: 58.97 kB / 0.7994 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.7213, allocations: 100.5 kB / 0.7995 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.7213, allocations: 26.55 kB / 0.7995 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.7214, allocations: 89.08 kB / 0.7996 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-06/0.7214, allocations: 5.156 kB / 0.7996 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.7214, allocations: 16.02 kB / 0.7996 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7215, allocations: 317.9 kB / 0.7999 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.7216, allocations: 11.27 kB / 0.7999 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.7216, allocations: 14.06 kB / 0.7999 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.7216, allocations: 24.72 kB / 0.7999 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.7216, allocations: 0 / 0.7999 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.289e-05/0.7217, allocations: 49.02 kB / 0.8 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7217, allocations: 9.562 kB / 0.8 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7218, allocations: 10.3 kB / 0.8 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.7218, allocations: 1.156 kB / 0.8 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.301e-05/0.7218, allocations: 8.656 kB / 0.8 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7218, allocations: 1.156 kB / 0.8 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.7219, allocations: 1.562 kB / 0.8 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.7219, allocations: 1.594 kB / 0.8 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 6.668e-05/0.7219, allocations: 117 kB / 0.8001 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.722, allocations: 1 kB / 0.8001 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.7221, allocations: 120.8 kB / 0.8002 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.008e-05/0.7221, allocations: 184.6 kB / 0.8004 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.583e-05/0.7222, allocations: 183.2 kB / 0.8006 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-05/0.7223, allocations: 181.3 kB / 0.8008 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.7225, allocations: 408 kB / 0.8012 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/0.7225, allocations: 106.1 kB / 0.8013 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.7226, allocations: 106 kB / 0.8014 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.808e-05/0.7226, allocations: 177.2 kB / 0.8015 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.7227, allocations: 183.1 kB / 0.8017 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-05/0.7228, allocations: 184.4 kB / 0.8019 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-05/0.7228, allocations: 180 kB / 0.802 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.723, allocations: 311.6 kB / 0.8023 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.723, allocations: 189.3 kB / 0.8025 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.7231, allocations: 177.3 kB / 0.8027 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.7233, allocations: 107.4 kB / 0.8028 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.7233, allocations: 187.8 kB / 0.803 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.7234, allocations: 105.3 kB / 0.8031 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.7234, allocations: 82.84 kB / 0.8032 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7234, allocations: 0 / 0.8032 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003086/0.7237, allocations: 60.39 kB / 0.8032 GB, free: 6.922 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.0003088/0.7241, allocations: 256.7 kB / 0.8035 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.281e-05/0.7241, allocations: 16.47 kB / 0.8035 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7242, allocations: 0 / 0.8035 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.7242, allocations: 1.125 kB / 0.8035 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.0003665/0.7245, allocations: 466.7 kB / 0.8039 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.7248, allocations: 171.7 kB / 0.8041 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.725, allocations: 0.6771 MB / 0.8047 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.7251, allocations: 4.562 kB / 0.8047 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.7251, allocations: 12.66 kB / 0.8048 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7251, allocations: 0 / 0.8048 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of Templates: time 0.003708/0.7288, allocations: 1.302 MB / 0.806 GB, free: 5.219 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)