Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 112.3 kB / 17.33 MB, free: 5 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.001358/0.001358, allocations: 198.6 kB / 18.33 MB, free: 4.008 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.537/1.537, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8925/0.8925, allocations: 128.4 MB / 426.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 69.05 kB / 0.5911 GB, free: 21.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1841, allocations: 83.26 MB / 0.6724 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006159/0.1903, allocations: 4.038 MB / 0.6764 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002251/0.1905, allocations: 151.5 kB / 0.6765 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.1906, allocations: 0 / 0.6765 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.1907, allocations: 7.922 kB / 0.6765 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.1907, allocations: 15.92 kB / 0.6766 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1911, allocations: 83.75 kB / 0.6766 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.069e-05/0.1912, allocations: 35.84 kB / 0.6767 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.1912, allocations: 7.984 kB / 0.6767 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.01e-05/0.1913, allocations: 11.94 kB / 0.6767 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1914, allocations: 15.97 kB / 0.6767 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1914, allocations: 0 / 0.6767 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.1916, allocations: 55.81 kB / 0.6768 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.1917, allocations: 7.984 kB / 0.6768 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.1917, allocations: 15.92 kB / 0.6768 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1919, allocations: 47.89 kB / 0.6768 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1919, allocations: 3.938 kB / 0.6768 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1919, allocations: 3.938 kB / 0.6768 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.1919, allocations: 0 / 0.6768 GB, free: 15.37 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.0004777/0.1923, allocations: 335.4 kB / 0.6772 GB, free: 15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1924, allocations: 15.97 kB / 0.6772 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1924, allocations: 0.9375 kB / 0.6772 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.1926, allocations: 164.4 kB / 0.6773 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.1926, allocations: 34.27 kB / 0.6774 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.1927, allocations: 384 / 0.6774 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1928, allocations: 49.59 kB / 0.6774 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1928, allocations: 0 / 0.6774 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1928, allocations: 0 / 0.6774 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.1928, allocations: 8 kB / 0.6774 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.426e-05/0.1929, allocations: 11.98 kB / 0.6774 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.1934, allocations: 338 kB / 0.6777 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.987e-05/0.1934, allocations: 18.58 kB / 0.6778 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.1934, allocations: 8.922 kB / 0.6778 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.1935, allocations: 81.11 kB / 0.6779 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1936, allocations: 38.55 kB / 0.6779 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1936, allocations: 0 / 0.6779 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001556/0.1937, allocations: 37.64 kB / 0.6779 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.1938, allocations: 55.53 kB / 0.678 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.1939, allocations: 105.8 kB / 0.6781 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1939, allocations: 29.7 kB / 0.6781 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.194, allocations: 88.03 kB / 0.6782 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-06/0.194, allocations: 0 / 0.6782 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.194, allocations: 17.72 kB / 0.6782 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1941, allocations: 318.8 kB / 0.6785 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.1942, allocations: 4 kB / 0.6785 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.1942, allocations: 21.72 kB / 0.6785 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.1942, allocations: 17.66 kB / 0.6786 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1942, allocations: 7.984 kB / 0.6786 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.381e-05/0.1943, allocations: 41.7 kB / 0.6786 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1943, allocations: 4 kB / 0.6786 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1943, allocations: 3.938 kB / 0.6786 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1943, allocations: 8.062 kB / 0.6786 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.1944, allocations: 11.92 kB / 0.6786 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1944, allocations: 0 / 0.6786 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.1944, allocations: 3.953 kB / 0.6786 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1944, allocations: 4 kB / 0.6786 GB, free: 13.25 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 9.005e-05/0.1945, allocations: 113.8 kB / 0.6787 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.1946, allocations: 4 kB / 0.6787 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.1947, allocations: 116.9 kB / 0.6789 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.835e-05/0.1948, allocations: 192.2 kB / 0.679 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.591e-05/0.1949, allocations: 180.3 kB / 0.6792 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.801e-05/0.1949, allocations: 180.2 kB / 0.6794 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1953, allocations: 405.2 kB / 0.6798 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-05/0.1953, allocations: 109 kB / 0.6799 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.1954, allocations: 112.9 kB / 0.68 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/0.1955, allocations: 180.3 kB / 0.6802 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.1957, allocations: 180.2 kB / 0.6803 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.041e-05/0.1958, allocations: 176.3 kB / 0.6805 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001654/0.1959, allocations: 176.3 kB / 0.6807 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.1962, allocations: 315.7 kB / 0.681 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.993e-05/0.1963, allocations: 186 kB / 0.6811 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1964, allocations: 176.3 kB / 0.6813 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.1966, allocations: 109 kB / 0.6814 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.1967, allocations: 184.2 kB / 0.6816 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.1967, allocations: 105.3 kB / 0.6817 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.589e-05/0.1968, allocations: 87.27 kB / 0.6818 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1968, allocations: 0 / 0.6818 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002817/0.1971, allocations: 19.94 kB / 0.6818 GB, free: 9.793 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.0003468/0.1974, allocations: 198.4 kB / 0.682 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.665e-05/0.1975, allocations: 11.94 kB / 0.682 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1975, allocations: 0 / 0.682 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1975, allocations: 0 / 0.682 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.198, allocations: 460.5 kB / 0.6824 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.1983, allocations: 189.8 kB / 0.6826 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1987, allocations: 0.6807 MB / 0.6833 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.944e-05/0.1987, allocations: 15.78 kB / 0.6833 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.1987, allocations: 7.438 kB / 0.6833 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.1987, allocations: 0 / 0.6833 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of Templates: time 0.003051/0.2018, allocations: 0.643 MB / 0.6839 GB, free: 7.551 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]