Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001371/0.001371, allocations: 198.5 kB / 16.26 MB, free: 6.629 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.564/1.564, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.2 MB / 425.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 68.09 kB / 0.5049 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1934, allocations: 80.94 MB / 0.5839 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.0054/0.1988, allocations: 3.331 MB / 0.5872 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001174/0.199, allocations: 55.84 kB / 0.5873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.199, allocations: 4 kB / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.1992, allocations: 0 / 0.5873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.1993, allocations: 7.938 kB / 0.5873 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.1999, allocations: 179.3 kB / 0.5874 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.2, allocations: 27.86 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.2, allocations: 11.98 kB / 0.5875 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.2001, allocations: 19.92 kB / 0.5875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.2002, allocations: 8 kB / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2002, allocations: 0 / 0.5875 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.2005, allocations: 175.5 kB / 0.5877 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.2006, allocations: 7.984 kB / 0.5877 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.2006, allocations: 15.94 kB / 0.5877 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.2009, allocations: 140 kB / 0.5878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2009, allocations: 0 / 0.5878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2009, allocations: 0 / 0.5878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2009, allocations: 4 kB / 0.5878 GB, free: 0.8086 MB / 494.1 MB 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.0004892/0.2014, allocations: 347.4 kB / 0.5882 GB, free: 432 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2015, allocations: 15.97 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.2015, allocations: 0.9375 kB / 0.5882 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2017, allocations: 160.4 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.818e-05/0.2018, allocations: 38.25 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.2018, allocations: 384 / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.2019, allocations: 45.62 kB / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.202, allocations: 0 / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.202, allocations: 4 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.202, allocations: 0 / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.772e-05/0.2021, allocations: 15.98 kB / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.2028, allocations: 0.5872 MB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.564e-05/0.2029, allocations: 18.58 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.2029, allocations: 12.8 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.2032, allocations: 344.5 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.2032, allocations: 30.56 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2032, allocations: 3.938 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001594/0.2034, allocations: 41.64 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.2035, allocations: 51.41 kB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2036, allocations: 109.7 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2036, allocations: 29.83 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.2037, allocations: 84.14 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.2037, allocations: 3.906 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.2037, allocations: 17.72 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2039, allocations: 318.8 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.2039, allocations: 4 kB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.2039, allocations: 13.72 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.204, allocations: 29.64 kB / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.204, allocations: 0 / 0.5901 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.939e-05/0.2041, allocations: 45.7 kB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2041, allocations: 4 kB / 0.5901 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2041, allocations: 3.984 kB / 0.5901 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2041, allocations: 0 / 0.5901 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.814e-05/0.2042, allocations: 11.94 kB / 0.5901 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2042, allocations: 0 / 0.5901 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.2042, allocations: 8 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2042, allocations: 4 kB / 0.5901 GB, free: 14.05 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 8.573e-05/0.2043, allocations: 109.8 kB / 0.5902 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.2043, allocations: 3.906 kB / 0.5902 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.2045, allocations: 125 kB / 0.5904 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.813e-05/0.2046, allocations: 180.2 kB / 0.5905 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.063e-05/0.2046, allocations: 184.3 kB / 0.5907 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.66e-05/0.2047, allocations: 180.2 kB / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.205, allocations: 413.1 kB / 0.5913 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.587e-05/0.2051, allocations: 105 kB / 0.5914 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.2051, allocations: 104.9 kB / 0.5915 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-05/0.2052, allocations: 184.4 kB / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/0.2053, allocations: 188.2 kB / 0.5918 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.122e-05/0.2054, allocations: 176.3 kB / 0.592 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.553e-05/0.2055, allocations: 176.3 kB / 0.5922 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.2056, allocations: 315.7 kB / 0.5925 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.459e-05/0.2057, allocations: 186 kB / 0.5926 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.2058, allocations: 184.2 kB / 0.5928 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.206, allocations: 105 kB / 0.5929 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.2061, allocations: 184.2 kB / 0.5931 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.2062, allocations: 112.9 kB / 0.5932 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.687e-05/0.2062, allocations: 87.27 kB / 0.5933 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2062, allocations: 0 / 0.5933 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002877/0.2065, allocations: 36 kB / 0.5933 GB, free: 10.57 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.0003022/0.2068, allocations: 240.2 kB / 0.5936 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.892e-05/0.2069, allocations: 7.938 kB / 0.5936 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2069, allocations: 4 kB / 0.5936 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.207, allocations: 4 kB / 0.5936 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.2075, allocations: 455.7 kB / 0.594 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.2078, allocations: 194.1 kB / 0.5942 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2081, allocations: 0.6768 MB / 0.5948 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.529e-05/0.2081, allocations: 4 kB / 0.5949 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.2082, allocations: 7.438 kB / 0.5949 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2082, allocations: 0 / 0.5949 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.004193/0.2124, allocations: 1.198 MB / 0.596 GB, free: 7.781 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)