Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 267.3 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009698/0.0009696, allocations: 173.3 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 82.38 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 13.22 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1941, allocations: 106.3 MB / 0.9009 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001453/0.1956, allocations: 1.137 MB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004365/0.196, allocations: 200.3 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.1961, allocations: 0 / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.1961, allocations: 4 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.1962, allocations: 3.938 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1963, allocations: 31.91 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.477e-05/0.1964, allocations: 23.86 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.1965, allocations: 4 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.1965, allocations: 8 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.681e-05/0.1966, allocations: 11.92 kB / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1966, allocations: 0 / 0.9023 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.1967, allocations: 23.98 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.1967, allocations: 7.984 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.1968, allocations: 37.62 kB / 0.9024 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.1969, allocations: 31.91 kB / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1969, allocations: 0 / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1969, allocations: 0 / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.1969, allocations: 0 / 0.9024 GB, free: 61.72 MB / 0.6042 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.0003617/0.1973, allocations: 347.8 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1973, allocations: 11.97 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.567e-05/0.1973, allocations: 30.75 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.1975, allocations: 16.83 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.469e-05/0.1976, allocations: 160.4 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1976, allocations: 4.312 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.1976, allocations: 4.375 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1978, allocations: 54.23 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1978, allocations: 3.938 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1978, allocations: 0 / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1978, allocations: 0 / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.198, allocations: 47.95 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.1983, allocations: 241 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.1984, allocations: 58.42 kB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.1985, allocations: 24.91 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1985, allocations: 0 / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.1986, allocations: 38.56 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.1986, allocations: 0 / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.1989, allocations: 93.77 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.1989, allocations: 59.34 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.558e-05/0.199, allocations: 101.9 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.199, allocations: 29.69 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.199, allocations: 80.14 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.1991, allocations: 7.844 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.1991, allocations: 0 / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.1991, allocations: 314.8 kB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.1992, allocations: 23.98 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.1993, allocations: 27.97 kB / 0.9041 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1994, allocations: 48.89 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1995, allocations: 3.938 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.1996, allocations: 81.5 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1997, allocations: 8.031 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1997, allocations: 0 / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1997, allocations: 0 / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.1998, allocations: 15.98 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1998, allocations: 0 / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.1998, allocations: 4 kB / 0.9042 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.1999, allocations: 3.938 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB 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 5.59e-05/0.1999, allocations: 129.7 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1999, allocations: 0 / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.2002, allocations: 84.78 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2002, allocations: 240 / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2002, allocations: 4 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2002, allocations: 3.984 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.2003, allocations: 169.6 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2003, allocations: 0 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.2004, allocations: 19.92 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2004, allocations: 0 / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2004, allocations: 0 / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2004, allocations: 0 / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2004, allocations: 0 / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.2007, allocations: 179.5 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.2007, allocations: 81.02 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2007, allocations: 4 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.2008, allocations: 11.98 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.2008, allocations: 7.984 kB / 0.9049 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.2008, allocations: 4 kB / 0.9049 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.2009, allocations: 79.28 kB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2009, allocations: 0 / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001938/0.2011, allocations: 4 kB / 0.905 GB, free: 58.72 MB / 0.6042 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 (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.0003521/0.2014, allocations: 0.7085 MB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.2016, allocations: 55.95 kB / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2016, allocations: 0 / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.249e-05/0.2017, allocations: 31.91 kB / 0.9058 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.202, allocations: 4.984 kB / 0.9058 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.2024, allocations: 162.3 kB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.818e-05/0.2025, allocations: 0.6809 MB / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.2025, allocations: 0 / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.2026, allocations: 11.44 kB / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2026, allocations: 0 / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.2132, allocations: 1.123 MB / 0.9077 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.2134, allocations: 236.4 kB / 0.9079 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.759, allocations: 4.062 kB / 0.9079 GB, free: 55.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)