Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) 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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001081/0.001081, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 180.2 kB / 16.92 MB, free: 6.672 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.488/1.488, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7316/0.7316, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 12 kB / 495.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1881, allocations: 77.53 MB / 0.5599 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001788/0.19, allocations: 1.13 MB / 0.5611 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005564/0.1905, allocations: 203.5 kB / 0.5612 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.1906, allocations: 3.938 kB / 0.5613 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.1906, allocations: 0 / 0.5613 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.098e-05/0.1907, allocations: 0 / 0.5613 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1909, allocations: 23.91 kB / 0.5613 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.191, allocations: 19.92 kB / 0.5613 GB, free: 7.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.1911, allocations: 8 kB / 0.5613 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.1912, allocations: 8 kB / 0.5613 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.1912, allocations: 19.91 kB / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1912, allocations: 0 / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.1913, allocations: 23.98 kB / 0.5613 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.1914, allocations: 7.984 kB / 0.5614 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.1914, allocations: 29.64 kB / 0.5614 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.1915, allocations: 36.17 kB / 0.5614 GB, free: 7.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1915, allocations: 0 / 0.5614 GB, free: 7.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1915, allocations: 3.938 kB / 0.5614 GB, free: 7.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1915, allocations: 0 / 0.5614 GB, free: 7.512 MB / 430.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.0004606/0.192, allocations: 343.5 kB / 0.5618 GB, free: 7.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1921, allocations: 12.03 kB / 0.5618 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1922, allocations: 8.828 kB / 0.5618 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1923, allocations: 164.4 kB / 0.5619 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1923, allocations: 4.359 kB / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1923, allocations: 384 / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.1925, allocations: 58.23 kB / 0.562 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1925, allocations: 192 / 0.562 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1926, allocations: 3.938 kB / 0.562 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1926, allocations: 0 / 0.562 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.1928, allocations: 47.95 kB / 0.562 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.1932, allocations: 256.9 kB / 0.5623 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1934, allocations: 38.5 kB / 0.5623 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1935, allocations: 36.89 kB / 0.5624 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1935, allocations: 0 / 0.5624 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1935, allocations: 34.5 kB / 0.5624 GB, free: 6.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1935, allocations: 0 / 0.5624 GB, free: 6.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003947/0.1939, allocations: 109.5 kB / 0.5625 GB, free: 6.246 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.194, allocations: 51.41 kB / 0.5625 GB, free: 6.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.176e-05/0.1941, allocations: 97.86 kB / 0.5626 GB, free: 6.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1941, allocations: 25.7 kB / 0.5627 GB, free: 6.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.1941, allocations: 84.12 kB / 0.5627 GB, free: 5.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1942, allocations: 12.03 kB / 0.5628 GB, free: 5.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.1942, allocations: 9.719 kB / 0.5628 GB, free: 5.934 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1943, allocations: 314.8 kB / 0.5631 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.833e-05/0.1944, allocations: 23.92 kB / 0.5631 GB, free: 5.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.631e-05/0.1945, allocations: 27.97 kB / 0.5631 GB, free: 5.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.1947, allocations: 44.83 kB / 0.5632 GB, free: 5.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1947, allocations: 0 / 0.5632 GB, free: 5.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002284/0.1949, allocations: 85.59 kB / 0.5632 GB, free: 5.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.195, allocations: 8 kB / 0.5632 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.195, allocations: 0 / 0.5632 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.195, allocations: 0 / 0.5632 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.1951, allocations: 11.98 kB / 0.5633 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1951, allocations: 0 / 0.5633 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.444e-05/0.1952, allocations: 12.03 kB / 0.5633 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1952, allocations: 0 / 0.5633 GB, free: 5.398 MB / 430.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.287e-05/0.1953, allocations: 117.8 kB / 0.5634 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1953, allocations: 4 kB / 0.5634 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.1956, allocations: 88.72 kB / 0.5635 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1956, allocations: 0 / 0.5635 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1956, allocations: 0 / 0.5635 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1956, allocations: 4 kB / 0.5635 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.1959, allocations: 165.6 kB / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1959, allocations: 0 / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.1959, allocations: 11.98 kB / 0.5636 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.196, allocations: 4 kB / 0.5636 GB, free: 4.949 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.196, allocations: 4 kB / 0.5636 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.196, allocations: 0 / 0.5636 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.196, allocations: 0 / 0.5636 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1963, allocations: 187.6 kB / 0.5638 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1964, allocations: 81.05 kB / 0.5639 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1964, allocations: 3.984 kB / 0.5639 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.1965, allocations: 12 kB / 0.5639 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.1965, allocations: 3.984 kB / 0.5639 GB, free: 4.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1965, allocations: 0 / 0.5639 GB, free: 4.629 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.259e-05/0.1966, allocations: 79.28 kB / 0.564 GB, free: 4.551 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1966, allocations: 7.938 kB / 0.564 GB, free: 4.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1968, allocations: 4 kB / 0.564 GB, free: 4.539 MB / 430.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.000124/0.1969, allocations: 95.25 kB / 0.5641 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1972, allocations: 51.95 kB / 0.5641 GB, free: 4.383 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1972, allocations: 8 kB / 0.5642 GB, free: 4.375 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/0.1973, allocations: 27.92 kB / 0.5642 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1976, allocations: 10 kB / 0.5642 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.1979, allocations: 132.6 kB / 0.5643 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1982, allocations: 0.6809 MB / 0.565 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.223e-05/0.1983, allocations: 4 kB / 0.565 GB, free: 3.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.1983, allocations: 7.438 kB / 0.565 GB, free: 3.461 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1983, allocations: 0 / 0.565 GB, free: 3.461 MB / 430.1 MB Notification: Performance of Templates: time 0.002688/0.201, allocations: 424.2 kB / 0.5654 GB, free: 3.059 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)