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.001506/0.001506, allocations: 106.3 kB / 16.41 MB, free: 6.496 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.001751/0.001751, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7909/0.7909, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 71.02 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1391, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4749/0.6141, allocations: 135.4 MB / 0.7926 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001884/0.6143, allocations: 49.58 kB / 0.7926 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.647e-05/0.6144, allocations: 1.375 kB / 0.7926 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.6145, allocations: 7.938 kB / 0.7926 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.524e-05/0.6146, allocations: 13.92 kB / 0.7926 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.6154, allocations: 236.5 kB / 0.7929 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.173e-05/0.6155, allocations: 41.84 kB / 0.7929 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.6156, allocations: 1.344 kB / 0.7929 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.905e-05/0.6156, allocations: 16.88 kB / 0.7929 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/0.6157, allocations: 9.672 kB / 0.7929 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.6157, allocations: 1.438 kB / 0.7929 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.6162, allocations: 249.2 kB / 0.7932 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.6162, allocations: 7.75 kB / 0.7932 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.6162, allocations: 13.31 kB / 0.7932 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.6166, allocations: 189.6 kB / 0.7934 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6166, allocations: 0 / 0.7934 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6166, allocations: 4 kB / 0.7934 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.6166, allocations: 1.062 kB / 0.7934 GB, free: 13.66 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.0004483/0.6171, allocations: 359.6 kB / 0.7937 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.6171, allocations: 9.969 kB / 0.7937 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.6172, allocations: 2.062 kB / 0.7937 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.6173, allocations: 167.8 kB / 0.7939 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.6173, allocations: 32.27 kB / 0.7939 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.6174, allocations: 5 kB / 0.7939 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.6175, allocations: 47.34 kB / 0.794 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.6175, allocations: 1.219 kB / 0.794 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.6175, allocations: 0 / 0.794 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.6176, allocations: 3.594 kB / 0.794 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.6176, allocations: 14.31 kB / 0.794 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.6183, allocations: 0.5965 MB / 0.7946 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.747e-05/0.6184, allocations: 24.05 kB / 0.7946 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.6184, allocations: 6.234 kB / 0.7946 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.6186, allocations: 343.7 kB / 0.7949 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.6187, allocations: 31.41 kB / 0.7949 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.6187, allocations: 1.25 kB / 0.7949 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.6188, allocations: 30.61 kB / 0.795 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.6189, allocations: 58.16 kB / 0.795 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.6189, allocations: 102.2 kB / 0.7951 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.619, allocations: 26.86 kB / 0.7952 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.619, allocations: 92.2 kB / 0.7952 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.619, allocations: 3.938 kB / 0.7952 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.6191, allocations: 24.28 kB / 0.7953 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6192, allocations: 317.2 kB / 0.7956 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.6192, allocations: 8.156 kB / 0.7956 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.718e-05/0.6193, allocations: 22.89 kB / 0.7956 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.6193, allocations: 16.34 kB / 0.7956 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6193, allocations: 0 / 0.7956 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001182/0.6194, allocations: 51.22 kB / 0.7957 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6195, allocations: 5.219 kB / 0.7957 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6195, allocations: 5 kB / 0.7957 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6195, allocations: 5.609 kB / 0.7957 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.6195, allocations: 7.562 kB / 0.7957 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.6196, allocations: 0.9688 kB / 0.7957 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.6196, allocations: 1.188 kB / 0.7957 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.6196, allocations: 8.031 kB / 0.7957 GB, free: 11.18 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.528e-05/0.6197, allocations: 112.4 kB / 0.7958 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.6197, allocations: 2.031 kB / 0.7958 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.6198, allocations: 121.7 kB / 0.7959 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/0.6199, allocations: 184.7 kB / 0.7961 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.289e-05/0.6199, allocations: 185.4 kB / 0.7963 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-05/0.62, allocations: 177.4 kB / 0.7964 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.6202, allocations: 408.3 kB / 0.7968 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/0.6203, allocations: 104.9 kB / 0.7969 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.6203, allocations: 105.9 kB / 0.797 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.308e-05/0.6204, allocations: 183.9 kB / 0.7972 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.6204, allocations: 180.9 kB / 0.7974 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.647e-05/0.6205, allocations: 177.3 kB / 0.7976 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.587e-05/0.6206, allocations: 183.3 kB / 0.7977 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.6207, allocations: 317.9 kB / 0.798 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.6208, allocations: 183.3 kB / 0.7982 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.6209, allocations: 181.6 kB / 0.7984 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.621, allocations: 106.5 kB / 0.7985 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.6211, allocations: 182.7 kB / 0.7987 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.6211, allocations: 110 kB / 0.7988 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.6212, allocations: 82.64 kB / 0.7988 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6212, allocations: 3.938 kB / 0.7988 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003101/0.6215, allocations: 59.97 kB / 0.7989 GB, free: 7.801 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.0003193/0.6218, allocations: 255.8 kB / 0.7991 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.06e-05/0.6219, allocations: 11.16 kB / 0.7992 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6219, allocations: 1.156 kB / 0.7992 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.6219, allocations: 3.938 kB / 0.7992 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.6223, allocations: 465.6 kB / 0.7996 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.6226, allocations: 203.7 kB / 0.7998 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.6228, allocations: 0.6733 MB / 0.8005 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.6229, allocations: 9.781 kB / 0.8005 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6229, allocations: 0 / 0.8005 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of Templates: time 0.002651/0.6255, allocations: 1.243 MB / 0.8017 GB, free: 6.105 MB / 0.5919 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)