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.403/1.403, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009561/0.0009561, allocations: 177 kB / 327 MB, free: 2.094 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.641/1.641, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.0007768/0.0007768, allocations: 89.73 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003373, allocations: 10.28 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2048, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001471/0.2063, allocations: 1.141 MB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008569/0.2072, allocations: 0.5977 MB / 0.9026 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.2072, allocations: 0 / 0.9026 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.2073, allocations: 3.938 kB / 0.9026 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.2073, allocations: 0 / 0.9026 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.2077, allocations: 87.64 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.38e-05/0.2078, allocations: 35.84 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.2079, allocations: 4 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.2079, allocations: 4 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.208, allocations: 15.92 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.208, allocations: 0 / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.2082, allocations: 151.7 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.2083, allocations: 0 / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.2083, allocations: 41.62 kB / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.2085, allocations: 100 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2085, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2085, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.2085, allocations: 0 / 0.903 GB, free: 61.05 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.0003647/0.2089, allocations: 355.5 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2089, allocations: 8.031 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.209, allocations: 38.75 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/0.2094, allocations: 32.75 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.939e-05/0.2095, allocations: 168.4 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2095, allocations: 384 / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2095, allocations: 384 / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.2097, allocations: 70.2 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2098, allocations: 7.938 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2098, allocations: 4 kB / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2098, allocations: 0 / 0.9037 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.21, allocations: 63.94 kB / 0.9037 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.2104, allocations: 284.6 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.2107, allocations: 66.48 kB / 0.9041 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.2108, allocations: 32.89 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.2108, allocations: 4 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2109, allocations: 42.55 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.2109, allocations: 0 / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004732/0.2113, allocations: 129.6 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.2114, allocations: 51.41 kB / 0.9043 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.2114, allocations: 97.86 kB / 0.9044 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.2114, allocations: 25.7 kB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.2115, allocations: 95.97 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.2115, allocations: 3.984 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.2115, allocations: 4.031 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.2116, allocations: 314.8 kB / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.2117, allocations: 31.97 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.2118, allocations: 35.97 kB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.212, allocations: 60.81 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2121, allocations: 11.98 kB / 0.905 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000276/0.2123, allocations: 101.5 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2124, allocations: 4 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2124, allocations: 8.031 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2124, allocations: 0 / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.2125, allocations: 16.17 kB / 0.9051 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2125, allocations: 3.984 kB / 0.9051 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.803e-05/0.2126, allocations: 15.94 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.2126, allocations: 3.984 kB / 0.9051 GB, free: 58.67 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.157e-05/0.2127, allocations: 113.8 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.2127, allocations: 7.984 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.2128, allocations: 3.125 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2128, allocations: 0 / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2128, allocations: 0 / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2128, allocations: 0 / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.2129, allocations: 169.6 kB / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2129, allocations: 0 / 0.9054 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.213, allocations: 23.97 kB / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2131, allocations: 0 / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-06/0.2131, allocations: 0 / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2131, allocations: 0 / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2131, allocations: 0 / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.2134, allocations: 207.3 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.2134, allocations: 81.02 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.2134, allocations: 0 / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.2136, allocations: 11.98 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.2136, allocations: 8.031 kB / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2136, allocations: 0 / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.37e-05/0.2136, allocations: 91.2 kB / 0.9058 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2136, allocations: 0 / 0.9058 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002182/0.2139, allocations: 8 kB / 0.9058 GB, free: 57.87 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.0004941/0.2144, allocations: 0.7397 MB / 0.9065 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.2147, allocations: 71.95 kB / 0.9066 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2147, allocations: 0 / 0.9066 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.2148, allocations: 40.03 kB / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.2151, allocations: 4 kB / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.2156, allocations: 174.2 kB / 0.9068 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.2157, allocations: 0.681 MB / 0.9075 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.919e-05/0.2158, allocations: 8 kB / 0.9075 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.2158, allocations: 19.38 kB / 0.9075 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2158, allocations: 0 / 0.9075 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.2269, allocations: 1.408 MB / 0.9089 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.227, allocations: 224.4 kB / 0.9091 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.804, allocations: 0 / 0.9091 GB, free: 54.55 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)