Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001415/0.001415, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002575/0.002575, allocations: 286.6 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.071/1.071, allocations: 178.6 MB / 0.5068 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 96.5 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1874, allocations: 89.15 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002794/0.1903, allocations: 1.48 MB / 0.6942 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005374/0.1908, allocations: 193.4 kB / 0.6944 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.1909, allocations: 0 / 0.6944 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.1909, allocations: 3.938 kB / 0.6944 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.1909, allocations: 3.984 kB / 0.6944 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1911, allocations: 25.64 kB / 0.6944 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.34e-05/0.1912, allocations: 23.92 kB / 0.6945 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.1913, allocations: 7.984 kB / 0.6945 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.1913, allocations: 8.594 kB / 0.6945 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.1914, allocations: 11.98 kB / 0.6945 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1914, allocations: 4 kB / 0.6945 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.1915, allocations: 23.98 kB / 0.6945 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.1915, allocations: 7.922 kB / 0.6945 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.1915, allocations: 11.94 kB / 0.6945 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.1917, allocations: 32.17 kB / 0.6946 GB, free: 3.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1917, allocations: 0 / 0.6946 GB, free: 3.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1917, allocations: 0 / 0.6946 GB, free: 3.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.1917, allocations: 0 / 0.6946 GB, free: 3.023 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.0004669/0.1922, allocations: 339.5 kB / 0.6949 GB, free: 2.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1922, allocations: 12.03 kB / 0.6949 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1923, allocations: 4.938 kB / 0.6949 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1925, allocations: 184.2 kB / 0.6951 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1925, allocations: 384 / 0.6951 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1925, allocations: 4.375 kB / 0.6951 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1927, allocations: 54.17 kB / 0.6951 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1927, allocations: 192 / 0.6951 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1927, allocations: 3.938 kB / 0.6951 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1927, allocations: 0 / 0.6951 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.1929, allocations: 35.95 kB / 0.6952 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1933, allocations: 248.9 kB / 0.6954 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1934, allocations: 42.44 kB / 0.6955 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.1935, allocations: 24.89 kB / 0.6955 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1935, allocations: 0 / 0.6955 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.1936, allocations: 38.56 kB / 0.6955 GB, free: 1.887 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.1936, allocations: 0 / 0.6955 GB, free: 1.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003463/0.1939, allocations: 77.58 kB / 0.6956 GB, free: 1.805 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.194, allocations: 55.53 kB / 0.6956 GB, free: 1.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/0.1941, allocations: 101.9 kB / 0.6957 GB, free: 1.629 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1941, allocations: 25.7 kB / 0.6958 GB, free: 1.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.1942, allocations: 84.12 kB / 0.6958 GB, free: 1.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1942, allocations: 7.906 kB / 0.6959 GB, free: 1.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.1942, allocations: 13.72 kB / 0.6959 GB, free: 1.484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1944, allocations: 310.8 kB / 0.6962 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.1945, allocations: 19.98 kB / 0.6962 GB, free: 1.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.1945, allocations: 19.97 kB / 0.6962 GB, free: 1.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1947, allocations: 36.83 kB / 0.6962 GB, free: 1.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1947, allocations: 0 / 0.6962 GB, free: 1.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001971/0.1949, allocations: 73.53 kB / 0.6963 GB, free: 1.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1949, allocations: 13.34 kB / 0.6963 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1949, allocations: 0 / 0.6963 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.195, allocations: 0 / 0.6963 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.1951, allocations: 7.984 kB / 0.6963 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1951, allocations: 4 kB / 0.6963 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.1951, allocations: 4 kB / 0.6963 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1951, allocations: 4 kB / 0.6963 GB, free: 0.9844 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.525e-05/0.1952, allocations: 113.8 kB / 0.6964 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.1953, allocations: 0 / 0.6964 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.1955, allocations: 76.78 kB / 0.6965 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1955, allocations: 4 kB / 0.6965 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1955, allocations: 0 / 0.6965 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1955, allocations: 11.86 kB / 0.6965 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.1957, allocations: 161.6 kB / 0.6967 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1957, allocations: 0 / 0.6967 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.1958, allocations: 15.92 kB / 0.6967 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1958, allocations: 4.234 kB / 0.6967 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1958, allocations: 0 / 0.6967 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1958, allocations: 0 / 0.6967 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1958, allocations: 4 kB / 0.6967 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1961, allocations: 171.3 kB / 0.6969 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1961, allocations: 77.11 kB / 0.6969 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1962, allocations: 7.984 kB / 0.697 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.803e-05/0.1963, allocations: 4 kB / 0.697 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1963, allocations: 7.984 kB / 0.697 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1963, allocations: 0 / 0.697 GB, free: 248 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.458e-05/0.1964, allocations: 83.28 kB / 0.697 GB, free: 164 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.913e-06/0.1964, allocations: 0 / 0.697 GB, free: 164 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.1966, allocations: 7.938 kB / 0.6971 GB, free: 156 kB / 494.1 MB 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 (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 Backend phase and start with SimCode phase: time 0.000109/0.1967, allocations: 95.25 kB / 0.6971 GB, free: 48 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1969, allocations: 43.95 kB / 0.6972 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1969, allocations: 0 / 0.6972 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.197, allocations: 19.98 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.1973, allocations: 7.938 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.1977, allocations: 147.2 kB / 0.6974 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.198, allocations: 0.6731 MB / 0.698 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.198, allocations: 3.984 kB / 0.698 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.1981, allocations: 11.44 kB / 0.698 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1981, allocations: 0 / 0.698 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.002738/0.2008, allocations: 429.2 kB / 0.6984 GB, free: 14.68 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)