Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_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.429/1.429, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.000984/0.0009839, allocations: 171.5 kB / 325.8 MB, free: 2.723 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.604/1.604, allocations: 205 MB / 0.576 GB, free: 21.02 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.0008195/0.0008193, allocations: 92.7 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 10.41 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2062, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001368/0.2076, allocations: 1.021 MB / 0.8972 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008066/0.2084, allocations: 0.5905 MB / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.2084, allocations: 0 / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.2085, allocations: 0 / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.2085, allocations: 15.91 kB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.2088, allocations: 75.72 kB / 0.8979 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.477e-05/0.2088, allocations: 23.86 kB / 0.8979 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.2089, allocations: 0 / 0.8979 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.2089, allocations: 7.938 kB / 0.8979 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.209, allocations: 4 kB / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.209, allocations: 0 / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.2093, allocations: 151.7 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.2093, allocations: 4 kB / 0.8981 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.2093, allocations: 15.92 kB / 0.8981 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.2095, allocations: 83.84 kB / 0.8981 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.2095, allocations: 3.938 kB / 0.8981 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2095, allocations: 4 kB / 0.8982 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2095, allocations: 0 / 0.8982 GB, free: 66.11 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003143/0.2098, allocations: 339.5 kB / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2099, allocations: 8.031 kB / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.2099, allocations: 34.73 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/0.2103, allocations: 28.89 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.2104, allocations: 180.2 kB / 0.8987 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2104, allocations: 384 / 0.8987 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.2105, allocations: 384 / 0.8987 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.2106, allocations: 51.09 kB / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2106, allocations: 7.875 kB / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2106, allocations: 0 / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2107, allocations: 0 / 0.8988 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.2108, allocations: 23.98 kB / 0.8988 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.2109, allocations: 161.5 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.211, allocations: 46.58 kB / 0.899 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.2111, allocations: 16.91 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2111, allocations: 4 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.2112, allocations: 30.56 kB / 0.899 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2112, allocations: 0 / 0.899 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002541/0.2114, allocations: 77.53 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.2115, allocations: 55.41 kB / 0.8992 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.563e-05/0.2115, allocations: 102 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.2115, allocations: 25.7 kB / 0.8993 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.545e-05/0.2115, allocations: 80.14 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.2116, allocations: 3.906 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.2116, allocations: 21.66 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.2116, allocations: 310.8 kB / 0.8997 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.2117, allocations: 11.92 kB / 0.8997 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.2118, allocations: 19.98 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.2119, allocations: 28.78 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2119, allocations: 0 / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001372/0.212, allocations: 61.67 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.212, allocations: 8.031 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.212, allocations: 4 kB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2121, allocations: 0 / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.2122, allocations: 11.98 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2122, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.2122, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2122, allocations: 3.984 kB / 0.8998 GB, free: 64.16 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.602e-05/0.2123, allocations: 109.8 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.2123, allocations: 3.938 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.2124, allocations: 11.12 kB / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2124, allocations: 4 kB / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2124, allocations: 0 / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2124, allocations: 0 / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.627e-05/0.2125, allocations: 157.7 kB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2125, allocations: 0 / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.2125, allocations: 7.938 kB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2126, allocations: 3.938 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2126, allocations: 7.984 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2126, allocations: 4 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2126, allocations: 4 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.2127, allocations: 77.11 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.2128, allocations: 89.19 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.2128, allocations: 3.969 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.2129, allocations: 4 kB / 0.9003 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.2129, allocations: 7.984 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.2129, allocations: 3.984 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.821e-05/0.2129, allocations: 79.28 kB / 0.9004 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2129, allocations: 0 / 0.9004 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001788/0.2131, allocations: 12 kB / 0.9004 GB, free: 63.48 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.0003619/0.2135, allocations: 0.6396 MB / 0.901 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.2136, allocations: 31.91 kB / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2137, allocations: 4.094 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.2137, allocations: 19.92 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.2139, allocations: 7.984 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.2143, allocations: 146 kB / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.266e-05/0.2144, allocations: 0.6771 MB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.983e-05/0.2145, allocations: 4 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.2145, allocations: 15.42 kB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2145, allocations: 0 / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.232, allocations: 1.38 MB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/0.2323, allocations: 234 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.744, allocations: 0 / 0.9035 GB, free: 60.4 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)