Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.005262/0.005262, allocations: 104 kB / 15.73 MB, free: 6.051 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.00121/0.00121, allocations: 196.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6688/0.6688, allocations: 95.48 MB / 365.4 MB, free: 9.773 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 74.08 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1892, allocations: 69.08 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00224/0.1914, allocations: 1.284 MB / 0.5723 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1927, allocations: 0.7304 MB / 0.573 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.1927, allocations: 0 / 0.573 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.1928, allocations: 7.922 kB / 0.5731 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-05/0.1928, allocations: 3.938 kB / 0.5731 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.1933, allocations: 139.4 kB / 0.5732 GB, free: 6.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.1934, allocations: 23.8 kB / 0.5732 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.542e-05/0.1934, allocations: 0 / 0.5732 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.1935, allocations: 7.984 kB / 0.5732 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.1936, allocations: 8 kB / 0.5732 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1936, allocations: 0 / 0.5732 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.1939, allocations: 215.7 kB / 0.5734 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.194, allocations: 7.938 kB / 0.5734 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.194, allocations: 7.984 kB / 0.5735 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1942, allocations: 127.6 kB / 0.5736 GB, free: 5.746 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1943, allocations: 0 / 0.5736 GB, free: 5.746 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1943, allocations: 0 / 0.5736 GB, free: 5.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1943, allocations: 0 / 0.5736 GB, free: 5.746 MB / 446.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.0004369/0.1947, allocations: 347.5 kB / 0.5739 GB, free: 5.359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1948, allocations: 15.98 kB / 0.5739 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1948, allocations: 4.938 kB / 0.5739 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1949, allocations: 176.3 kB / 0.5741 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.195, allocations: 384 / 0.5741 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.195, allocations: 3.938 kB / 0.5741 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1951, allocations: 29.7 kB / 0.5741 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1951, allocations: 0 / 0.5741 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1951, allocations: 0 / 0.5741 GB, free: 5.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1951, allocations: 7.984 kB / 0.5741 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.285e-05/0.1952, allocations: 7.938 kB / 0.5741 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.1953, allocations: 153.7 kB / 0.5743 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.1954, allocations: 26.55 kB / 0.5743 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.1954, allocations: 8.922 kB / 0.5743 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1955, allocations: 7.922 kB / 0.5743 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1955, allocations: 34.56 kB / 0.5744 GB, free: 4.777 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1955, allocations: 4 kB / 0.5744 GB, free: 4.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001419/0.1957, allocations: 45.64 kB / 0.5744 GB, free: 4.723 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1957, allocations: 51.41 kB / 0.5745 GB, free: 4.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.1958, allocations: 97.84 kB / 0.5746 GB, free: 4.555 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.1958, allocations: 25.7 kB / 0.5746 GB, free: 4.523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1958, allocations: 84.14 kB / 0.5747 GB, free: 4.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.1959, allocations: 7.844 kB / 0.5747 GB, free: 4.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.1959, allocations: 13.72 kB / 0.5747 GB, free: 4.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.196, allocations: 315 kB / 0.575 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.196, allocations: 8 kB / 0.575 GB, free: 4.086 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.1961, allocations: 3.984 kB / 0.575 GB, free: 4.082 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.1961, allocations: 12.86 kB / 0.575 GB, free: 4.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1961, allocations: 3.938 kB / 0.575 GB, free: 4.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.961e-05/0.1962, allocations: 41.64 kB / 0.575 GB, free: 4.016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1962, allocations: 4 kB / 0.575 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1962, allocations: 0 / 0.575 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1962, allocations: 4.094 kB / 0.5751 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.1963, allocations: 4 kB / 0.5751 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1963, allocations: 0 / 0.5751 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.1963, allocations: 3.984 kB / 0.5751 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.1963, allocations: 0 / 0.5751 GB, free: 4 MB / 446.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 6.703e-05/0.1964, allocations: 113.8 kB / 0.5752 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.1964, allocations: 3.938 kB / 0.5752 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.1965, allocations: 52.7 kB / 0.5752 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1965, allocations: 4.031 kB / 0.5752 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1965, allocations: 0 / 0.5752 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1966, allocations: 0 / 0.5752 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.1967, allocations: 153.6 kB / 0.5754 GB, free: 3.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1967, allocations: 3.984 kB / 0.5754 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.1967, allocations: 4 kB / 0.5754 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1967, allocations: 0 / 0.5754 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.1967, allocations: 0 / 0.5754 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1967, allocations: 0 / 0.5754 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1967, allocations: 0 / 0.5754 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.527e-05/0.1968, allocations: 84.84 kB / 0.5755 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.1969, allocations: 77.11 kB / 0.5755 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.1969, allocations: 0 / 0.5755 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.1969, allocations: 0 / 0.5755 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.1969, allocations: 4 kB / 0.5755 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1969, allocations: 0 / 0.5755 GB, free: 3.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.664e-05/0.197, allocations: 83.27 kB / 0.5756 GB, free: 3.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.197, allocations: 4 kB / 0.5756 GB, free: 3.316 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.1972, allocations: 24.03 kB / 0.5756 GB, free: 3.293 MB / 446.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 (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.0002041/0.1974, allocations: 123.2 kB / 0.5758 GB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.764e-05/0.1975, allocations: 12 kB / 0.5758 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1975, allocations: 0 / 0.5758 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.1975, allocations: 7.984 kB / 0.5758 GB, free: 3.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.1978, allocations: 16.81 kB / 0.5758 GB, free: 3.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.198, allocations: 110.9 kB / 0.5759 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1983, allocations: 0.6729 MB / 0.5766 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.911e-05/0.1983, allocations: 336 / 0.5766 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.1983, allocations: 11.44 kB / 0.5766 GB, free: 2.281 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1983, allocations: 0 / 0.5766 GB, free: 2.281 MB / 446.1 MB Notification: Performance of Templates: time 0.003377/0.2017, allocations: 0.8061 MB / 0.5774 GB, free: 1.484 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)