Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8248/0.8248, allocations: 130.7 MB / 138.7 MB, free: 3.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009538/0.0009534, allocations: 98.42 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.784e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5477, allocations: 81.56 MB / 0.6281 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8448/1.393, allocations: 350.2 MB / 0.9702 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/1.393, allocations: 75.56 kB / 0.9702 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02853/1.421, allocations: 13.21 MB / 0.9831 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/1.421, allocations: 0 / 0.9831 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.846e-06/1.421, allocations: 7.938 kB / 0.9831 GB, free: 15.21 MB / 0.6198 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.0004308/1.422, allocations: 326.5 kB / 0.9835 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/1.422, allocations: 15.97 kB / 0.9835 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/1.422, allocations: 3.953 kB / 0.9835 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/1.422, allocations: 166.7 kB / 0.9836 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/1.422, allocations: 33.69 kB / 0.9837 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/1.422, allocations: 0 / 0.9837 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.099e-05/1.422, allocations: 12 kB / 0.9837 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.767e-05/1.422, allocations: 40.94 kB / 0.9837 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.423, allocations: 4 kB / 0.9837 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/1.423, allocations: 0 / 0.9837 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/1.423, allocations: 0 / 0.9837 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/1.423, allocations: 321.5 kB / 0.984 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.395e-05/1.423, allocations: 14.58 kB / 0.984 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/1.423, allocations: 4.859 kB / 0.984 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.673e-05/1.423, allocations: 89.17 kB / 0.9841 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/1.423, allocations: 34.55 kB / 0.9842 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/1.423, allocations: 0 / 0.9842 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001848/1.423, allocations: 33.33 kB / 0.9842 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/1.423, allocations: 51.41 kB / 0.9842 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/1.424, allocations: 104.9 kB / 0.9843 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/1.424, allocations: 29.64 kB / 0.9844 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/1.424, allocations: 91.69 kB / 0.9845 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/1.424, allocations: 4 kB / 0.9845 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.424, allocations: 0 / 0.9845 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.424, allocations: 314.8 kB / 0.9848 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/1.424, allocations: 0 / 0.9848 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/1.424, allocations: 17.34 kB / 0.9848 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/1.424, allocations: 7.984 kB / 0.9848 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.424, allocations: 4 kB / 0.9848 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.746e-05/1.424, allocations: 53.09 kB / 0.9848 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.424, allocations: 7.938 kB / 0.9848 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.424, allocations: 0 / 0.9848 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/1.424, allocations: 4 kB / 0.9849 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/1.424, allocations: 4 kB / 0.9849 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.424, allocations: 0 / 0.9849 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/1.424, allocations: 0 / 0.9849 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/1.424, allocations: 7.953 kB / 0.9849 GB, free: 13.23 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/1.424, allocations: 110.7 kB / 0.985 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/1.424, allocations: 0 / 0.985 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.424, allocations: 117.5 kB / 0.9851 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.781e-05/1.425, allocations: 180.2 kB / 0.9853 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.3e-05/1.425, allocations: 187.9 kB / 0.9854 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.424e-05/1.425, allocations: 176.3 kB / 0.9856 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/1.425, allocations: 393.7 kB / 0.986 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-05/1.425, allocations: 101 kB / 0.9861 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/1.425, allocations: 101 kB / 0.9862 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-05/1.425, allocations: 184 kB / 0.9863 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/1.425, allocations: 180.3 kB / 0.9865 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.685e-05/1.425, allocations: 184.2 kB / 0.9867 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.647e-05/1.425, allocations: 180.2 kB / 0.9869 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/1.425, allocations: 307.3 kB / 0.9872 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-05/1.426, allocations: 189.9 kB / 0.9873 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/1.426, allocations: 180.3 kB / 0.9875 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/1.426, allocations: 109 kB / 0.9876 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/1.426, allocations: 184.2 kB / 0.9878 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/1.426, allocations: 104.9 kB / 0.9879 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.283e-05/1.426, allocations: 86.91 kB / 0.988 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/1.426, allocations: 0 / 0.988 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002519/1.426, allocations: 15.94 kB / 0.988 GB, free: 9.844 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002401/1.426, allocations: 212.3 kB / 0.9882 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.03e-05/1.427, allocations: 11.38 kB / 0.9882 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.427, allocations: 128 / 0.9882 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/1.427, allocations: 4 kB / 0.9882 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/1.427, allocations: 0.5301 MB / 0.9887 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/1.427, allocations: 123.3 kB / 0.9888 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/1.427, allocations: 0.6807 MB / 0.9895 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.495e-05/1.427, allocations: 13.69 kB / 0.9895 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/1.428, allocations: 7.438 kB / 0.9895 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/1.428, allocations: 0 / 0.9895 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of Templates: time 0.002874/1.43, allocations: 0.69 MB / 0.9902 GB, free: 7.535 MB / 0.6198 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)