Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.283/1.283, allocations: 251.5 MB / 266.7 MB, free: 10.99 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.0008274/0.0008274, allocations: 169.9 kB / 325.8 MB, free: 2.699 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.414/1.414, allocations: 205 MB / 0.576 GB, free: 21.01 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.0006904/0.0006904, allocations: 89.22 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 11.53 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1945, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001629/0.1962, allocations: 1.148 MB / 0.8973 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1973, allocations: 0.611 MB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.1974, allocations: 0 / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.1974, allocations: 0 / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.1975, allocations: 3.938 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.1979, allocations: 83.69 kB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.223e-05/0.198, allocations: 19.94 kB / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1981, allocations: 15.98 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.1981, allocations: 7.938 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.1982, allocations: 3.984 kB / 0.898 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1982, allocations: 7.938 kB / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.1985, allocations: 151.7 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.1985, allocations: 4 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.1985, allocations: 7.938 kB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1988, allocations: 95.81 kB / 0.8983 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1988, allocations: 0 / 0.8983 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.248e-06/0.1988, allocations: 4 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.1988, allocations: 0 / 0.8983 GB, free: 65.93 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.000599/0.1994, allocations: 363.4 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.1995, allocations: 8.031 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.1995, allocations: 30.75 kB / 0.8987 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/0.2, allocations: 36.8 kB / 0.8987 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2001, allocations: 176.3 kB / 0.8989 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2001, allocations: 4.375 kB / 0.8989 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.2001, allocations: 384 / 0.8989 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.2004, allocations: 66.2 kB / 0.899 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2004, allocations: 7.938 kB / 0.899 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2004, allocations: 4 kB / 0.899 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2004, allocations: 3.938 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.2007, allocations: 59.94 kB / 0.899 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.2011, allocations: 280.7 kB / 0.8993 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.2013, allocations: 70.53 kB / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2014, allocations: 32.83 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.2015, allocations: 4 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2015, allocations: 34.5 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2015, allocations: 0 / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004462/0.2019, allocations: 133.7 kB / 0.8996 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.202, allocations: 55.39 kB / 0.8996 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.036e-05/0.202, allocations: 93.86 kB / 0.8997 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.202, allocations: 25.7 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.2021, allocations: 92.05 kB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.2021, allocations: 0 / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.2021, allocations: 13.7 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.2022, allocations: 310.8 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2023, allocations: 40 kB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.2024, allocations: 31.97 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.2026, allocations: 68.81 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2026, allocations: 3.938 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002542/0.2029, allocations: 109.5 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2029, allocations: 4 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2029, allocations: 0 / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.203, allocations: 0 / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2031, allocations: 20.02 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2031, allocations: 0 / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.298e-05/0.2032, allocations: 11.98 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2032, allocations: 0 / 0.9004 GB, free: 63.55 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.264e-05/0.2033, allocations: 113.8 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.2033, allocations: 7.984 kB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.2033, allocations: 11.06 kB / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2033, allocations: 0 / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2033, allocations: 0 / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2033, allocations: 3.938 kB / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.2035, allocations: 169.6 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2035, allocations: 4 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.2036, allocations: 15.98 kB / 0.9007 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2036, allocations: 3.984 kB / 0.9007 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2036, allocations: 4 kB / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2036, allocations: 0 / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2036, allocations: 0 / 0.9007 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.2039, allocations: 199.4 kB / 0.9009 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.2039, allocations: 81.02 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.204, allocations: 0 / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2041, allocations: 12.17 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.2041, allocations: 4 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2041, allocations: 3.984 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.03e-05/0.2041, allocations: 91.23 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2041, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002279/0.2044, allocations: 19.94 kB / 0.9011 GB, free: 62.73 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 (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.0004935/0.2049, allocations: 0.7319 MB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.2052, allocations: 67.97 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2052, allocations: 0 / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.2053, allocations: 43.95 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.2056, allocations: 8 kB / 0.9019 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.2061, allocations: 162.1 kB / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.507e-05/0.2062, allocations: 0.6731 MB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.445e-05/0.2063, allocations: 15.94 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.2063, allocations: 19.42 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2063, allocations: 0 / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08294/0.2893, allocations: 1.406 MB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.2895, allocations: 226.8 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.887, allocations: 1.406 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)