Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.001366/0.001366, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.455/1.455, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9238/0.9238, allocations: 128.4 MB / 426.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.62 kB / 0.5912 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1884, allocations: 83.26 MB / 0.6725 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005094/0.1935, allocations: 3.304 MB / 0.6757 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001072/0.1936, allocations: 55.77 kB / 0.6757 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.1936, allocations: 4 kB / 0.6757 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1937, allocations: 0 / 0.6757 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.894e-05/0.1938, allocations: 11.92 kB / 0.6758 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.1943, allocations: 202.3 kB / 0.676 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.13e-05/0.1944, allocations: 27.86 kB / 0.676 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.1945, allocations: 3.984 kB / 0.676 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.1945, allocations: 23.92 kB / 0.676 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.1946, allocations: 4 kB / 0.676 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1946, allocations: 8 kB / 0.676 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.195, allocations: 183.5 kB / 0.6762 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.195, allocations: 11.92 kB / 0.6762 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.195, allocations: 8 kB / 0.6762 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1953, allocations: 135.6 kB / 0.6763 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1953, allocations: 0 / 0.6763 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1953, allocations: 4 kB / 0.6763 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.1953, allocations: 0 / 0.6763 GB, free: 15.88 MB / 0.5137 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.0004643/0.1958, allocations: 347.3 kB / 0.6767 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1958, allocations: 12.03 kB / 0.6767 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.1959, allocations: 0.9375 kB / 0.6767 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.196, allocations: 168.3 kB / 0.6768 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/0.1961, allocations: 26.27 kB / 0.6769 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1961, allocations: 4.375 kB / 0.6769 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1962, allocations: 53.55 kB / 0.6769 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1962, allocations: 0 / 0.6769 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1963, allocations: 0 / 0.6769 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.1963, allocations: 0 / 0.6769 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.1963, allocations: 19.98 kB / 0.6769 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.197, allocations: 0.5871 MB / 0.6775 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.1971, allocations: 14.58 kB / 0.6775 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.1971, allocations: 12.92 kB / 0.6775 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.1974, allocations: 336.4 kB / 0.6779 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.1974, allocations: 38.5 kB / 0.6779 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1974, allocations: 0 / 0.6779 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001633/0.1976, allocations: 41.69 kB / 0.6779 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1976, allocations: 55.34 kB / 0.678 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1977, allocations: 97.81 kB / 0.6781 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1978, allocations: 33.7 kB / 0.6781 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.1978, allocations: 88.08 kB / 0.6782 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.1978, allocations: 0 / 0.6782 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1979, allocations: 17.84 kB / 0.6782 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.198, allocations: 318.8 kB / 0.6785 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.198, allocations: 7.984 kB / 0.6785 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/0.1981, allocations: 17.66 kB / 0.6786 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.1981, allocations: 17.72 kB / 0.6786 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1981, allocations: 4 kB / 0.6786 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.003e-05/0.1982, allocations: 53.62 kB / 0.6786 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1982, allocations: 4 kB / 0.6786 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1982, allocations: 0 / 0.6786 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.1982, allocations: 4 kB / 0.6786 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.1983, allocations: 4 kB / 0.6786 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1983, allocations: 3.984 kB / 0.6786 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.1983, allocations: 11.89 kB / 0.6787 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1983, allocations: 4 kB / 0.6787 GB, free: 13.12 MB / 0.5137 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 0.0001033/0.1984, allocations: 113.8 kB / 0.6788 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1984, allocations: 4 kB / 0.6788 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1986, allocations: 124 kB / 0.6789 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.376e-05/0.1987, allocations: 184.3 kB / 0.6791 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.139e-05/0.1988, allocations: 180.5 kB / 0.6792 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.811e-05/0.1988, allocations: 176.3 kB / 0.6794 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.1991, allocations: 417.1 kB / 0.6798 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.813e-05/0.1992, allocations: 105 kB / 0.6799 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.886e-05/0.1992, allocations: 109 kB / 0.68 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-05/0.1993, allocations: 188.2 kB / 0.6802 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.741e-05/0.1994, allocations: 180.3 kB / 0.6804 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.792e-05/0.1995, allocations: 180.3 kB / 0.6805 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.943e-05/0.1996, allocations: 180.2 kB / 0.6807 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1998, allocations: 311.7 kB / 0.681 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.1999, allocations: 182.1 kB / 0.6812 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.2, allocations: 176.3 kB / 0.6813 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.2002, allocations: 116.9 kB / 0.6814 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/0.2003, allocations: 176.3 kB / 0.6816 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.2003, allocations: 104.9 kB / 0.6817 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.2004, allocations: 87.28 kB / 0.6818 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2004, allocations: 0 / 0.6818 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003203/0.2007, allocations: 39.86 kB / 0.6818 GB, free: 9.645 MB / 0.5137 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.000311/0.201, allocations: 234.3 kB / 0.6821 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.845e-05/0.2011, allocations: 7.938 kB / 0.6821 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2011, allocations: 8.125 kB / 0.6821 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.2011, allocations: 3.938 kB / 0.6821 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.2016, allocations: 466.9 kB / 0.6825 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.2019, allocations: 173.9 kB / 0.6827 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.2022, allocations: 0.6807 MB / 0.6834 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.2023, allocations: 4 kB / 0.6834 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.853e-05/0.2023, allocations: 11.44 kB / 0.6834 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.2023, allocations: 0 / 0.6834 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of Templates: time 0.004219/0.2065, allocations: 1.224 MB / 0.6846 GB, free: 6.832 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]