Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009302/0.0009303, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.298/1.298, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9399/0.9399, allocations: 135.3 MB / 427.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 8.234 kB / 0.5082 GB, free: 4.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 82.31 MB / 0.5886 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004426/0.1684, allocations: 3.684 MB / 0.5922 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001924/0.1686, allocations: 167.5 kB / 0.5924 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.1687, allocations: 0 / 0.5924 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.894e-05/0.1688, allocations: 0 / 0.5924 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/0.1689, allocations: 11.94 kB / 0.5924 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1692, allocations: 83.58 kB / 0.5924 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1693, allocations: 59.81 kB / 0.5925 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.1694, allocations: 0 / 0.5925 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.1694, allocations: 11.98 kB / 0.5925 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.1695, allocations: 19.92 kB / 0.5925 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1695, allocations: 0 / 0.5925 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.1697, allocations: 71.78 kB / 0.5926 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.1698, allocations: 11.98 kB / 0.5926 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.1698, allocations: 37.62 kB / 0.5927 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.954e-05/0.1699, allocations: 27.98 kB / 0.5927 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.17, allocations: 4 kB / 0.5927 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.17, allocations: 0 / 0.5927 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.17, allocations: 0 / 0.5927 GB, free: 14.46 MB / 0.4981 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.0004261/0.1704, allocations: 331.7 kB / 0.593 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1705, allocations: 8.031 kB / 0.593 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1705, allocations: 8.922 kB / 0.593 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1706, allocations: 164.3 kB / 0.5932 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.1707, allocations: 26.27 kB / 0.5932 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1707, allocations: 12.31 kB / 0.5932 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1709, allocations: 45.62 kB / 0.5933 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1709, allocations: 0 / 0.5933 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1709, allocations: 0 / 0.5933 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.1709, allocations: 7.984 kB / 0.5933 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.171, allocations: 12 kB / 0.5933 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.1714, allocations: 338 kB / 0.5936 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.1715, allocations: 22.52 kB / 0.5936 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.1715, allocations: 16.91 kB / 0.5936 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.1716, allocations: 81.11 kB / 0.5937 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1716, allocations: 30.56 kB / 0.5937 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1716, allocations: 0 / 0.5937 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/0.1718, allocations: 41.69 kB / 0.5938 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1718, allocations: 55.34 kB / 0.5938 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.1719, allocations: 101.9 kB / 0.5939 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1719, allocations: 37.64 kB / 0.594 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.172, allocations: 88.06 kB / 0.594 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.172, allocations: 3.906 kB / 0.594 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.172, allocations: 9.719 kB / 0.5941 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.1721, allocations: 318.8 kB / 0.5944 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.1721, allocations: 4 kB / 0.5944 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.1722, allocations: 21.7 kB / 0.5944 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.1722, allocations: 21.72 kB / 0.5944 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1722, allocations: 0 / 0.5944 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.299e-05/0.1723, allocations: 49.62 kB / 0.5945 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1723, allocations: 4 kB / 0.5945 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1723, allocations: 4 kB / 0.5945 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1723, allocations: 0 / 0.5945 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.208e-05/0.1724, allocations: 4.062 kB / 0.5945 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1724, allocations: 4 kB / 0.5945 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.1724, allocations: 4 kB / 0.5945 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1724, allocations: 0 / 0.5945 GB, free: 12.35 MB / 0.4981 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.586e-05/0.1725, allocations: 113.7 kB / 0.5946 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.1725, allocations: 7.984 kB / 0.5946 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.1727, allocations: 121.2 kB / 0.5947 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/0.1727, allocations: 184.2 kB / 0.5949 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.474e-05/0.1728, allocations: 180.2 kB / 0.5951 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.704e-05/0.1728, allocations: 184.2 kB / 0.5952 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1731, allocations: 413.1 kB / 0.5956 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/0.1731, allocations: 101 kB / 0.5957 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.992e-05/0.1732, allocations: 108.9 kB / 0.5958 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.403e-05/0.1732, allocations: 180.3 kB / 0.596 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.1733, allocations: 176.3 kB / 0.5962 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.508e-05/0.1733, allocations: 188.2 kB / 0.5963 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.99e-05/0.1734, allocations: 180.3 kB / 0.5965 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.1736, allocations: 307.7 kB / 0.5968 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.1736, allocations: 186.1 kB / 0.597 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.1737, allocations: 188.2 kB / 0.5972 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1739, allocations: 109 kB / 0.5973 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.174, allocations: 184.5 kB / 0.5974 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.174, allocations: 105 kB / 0.5975 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.1741, allocations: 87.22 kB / 0.5976 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1741, allocations: 0 / 0.5976 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000233/0.1743, allocations: 12 kB / 0.5976 GB, free: 8.879 MB / 0.4981 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.0002727/0.1746, allocations: 202.4 kB / 0.5978 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.078e-05/0.1747, allocations: 19.92 kB / 0.5979 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1747, allocations: 4.125 kB / 0.5979 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.1747, allocations: 4.031 kB / 0.5979 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.1751, allocations: 0.5185 MB / 0.5984 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.1754, allocations: 217.6 kB / 0.5986 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1757, allocations: 0.6692 MB / 0.5992 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.1757, allocations: 15.42 kB / 0.5992 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1757, allocations: 3.938 kB / 0.5992 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.002044/0.1778, allocations: 0.7294 MB / 0.6 GB, free: 6.438 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)