Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002523/0.002523, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002438/0.002438, allocations: 282.5 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.085/1.085, allocations: 178.6 MB / 0.507 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 105.8 kB / 0.6059 GB, free: 24.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1868, allocations: 89.14 MB / 0.693 GB, free: 4.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002733/0.1896, allocations: 1.347 MB / 0.6943 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009656/0.1906, allocations: 0.5698 MB / 0.6949 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.1906, allocations: 0 / 0.6949 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.1906, allocations: 5.656 kB / 0.6949 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/0.1907, allocations: 4 kB / 0.6949 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.191, allocations: 87.64 kB / 0.6949 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.1911, allocations: 24.42 kB / 0.695 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.1912, allocations: 4 kB / 0.695 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.1912, allocations: 7.984 kB / 0.695 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.598e-05/0.1912, allocations: 4 kB / 0.695 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.1913, allocations: 0 / 0.695 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.1915, allocations: 147.7 kB / 0.6951 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1916, allocations: 7.922 kB / 0.6951 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.1916, allocations: 8 kB / 0.6951 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.1918, allocations: 92.06 kB / 0.6952 GB, free: 2.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1918, allocations: 0 / 0.6952 GB, free: 2.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1918, allocations: 3.984 kB / 0.6952 GB, free: 2.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1918, allocations: 0 / 0.6952 GB, free: 2.395 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004082/0.1922, allocations: 343.5 kB / 0.6956 GB, free: 2.008 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1923, allocations: 12.03 kB / 0.6956 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/0.1927, allocations: 32.81 kB / 0.6956 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1928, allocations: 168.3 kB / 0.6958 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.1929, allocations: 384 / 0.6958 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1929, allocations: 4.359 kB / 0.6958 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.193, allocations: 50.23 kB / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1931, allocations: 192 / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1931, allocations: 7.938 kB / 0.6958 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1931, allocations: 0 / 0.6958 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.1932, allocations: 23.97 kB / 0.6958 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.1934, allocations: 161.6 kB / 0.696 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1936, allocations: 50.48 kB / 0.6961 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/0.1937, allocations: 16.91 kB / 0.6961 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1937, allocations: 0 / 0.6961 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1937, allocations: 30.56 kB / 0.6961 GB, free: 1.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1937, allocations: 4 kB / 0.6961 GB, free: 1.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000307/0.194, allocations: 73.59 kB / 0.6962 GB, free: 1.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1941, allocations: 55.34 kB / 0.6962 GB, free: 1.199 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.1942, allocations: 101.8 kB / 0.6963 GB, free: 1.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1942, allocations: 25.7 kB / 0.6963 GB, free: 1.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.1942, allocations: 80.14 kB / 0.6964 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1943, allocations: 15.97 kB / 0.6964 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.1943, allocations: 21.64 kB / 0.6965 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1945, allocations: 314.8 kB / 0.6968 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.1945, allocations: 11.98 kB / 0.6968 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.1946, allocations: 11.98 kB / 0.6968 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1947, allocations: 32.91 kB / 0.6968 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1947, allocations: 0 / 0.6968 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.1949, allocations: 57.67 kB / 0.6969 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1949, allocations: 4 kB / 0.6969 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.195, allocations: 3.938 kB / 0.6969 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.195, allocations: 7.922 kB / 0.6969 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1951, allocations: 8.031 kB / 0.6969 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.1951, allocations: 4 kB / 0.6969 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.1952, allocations: 3.984 kB / 0.6969 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1952, allocations: 0 / 0.6969 GB, free: 476 kB / 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.401e-05/0.1953, allocations: 109.8 kB / 0.697 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.1953, allocations: 7.906 kB / 0.697 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.1953, allocations: 7.062 kB / 0.697 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1954, allocations: 4 kB / 0.697 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1954, allocations: 4 kB / 0.697 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1954, allocations: 0 / 0.697 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1955, allocations: 161.6 kB / 0.6972 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1955, allocations: 0 / 0.6972 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.1956, allocations: 4 kB / 0.6972 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1956, allocations: 3.984 kB / 0.6972 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1956, allocations: 3.938 kB / 0.6972 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1956, allocations: 0 / 0.6972 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1956, allocations: 8 kB / 0.6972 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1959, allocations: 85.05 kB / 0.6973 GB, free: 0 / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.1959, allocations: 85.09 kB / 0.6974 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.196, allocations: 3.938 kB / 0.6974 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.196, allocations: 3.938 kB / 0.6974 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.1961, allocations: 7.984 kB / 0.6974 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1961, allocations: 4.031 kB / 0.6974 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.1961, allocations: 83.45 kB / 0.6975 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1961, allocations: 4 kB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002002/0.1963, allocations: 8 kB / 0.6975 GB, free: 15.79 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 (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 Backend phase and start with SimCode phase: time 0.0001825/0.1965, allocations: 115.2 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1967, allocations: 27.97 kB / 0.6976 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1967, allocations: 4 kB / 0.6976 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.1968, allocations: 23.86 kB / 0.6976 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.197, allocations: 4.938 kB / 0.6976 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.1974, allocations: 114.9 kB / 0.6977 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1977, allocations: 0.6729 MB / 0.6984 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.712e-05/0.1978, allocations: 8 kB / 0.6984 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.1979, allocations: 11.44 kB / 0.6984 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1979, allocations: 0 / 0.6984 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.003268/0.2011, allocations: 0.7279 MB / 0.6991 GB, free: 14.03 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)