Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.704/2.704, allocations: 287.3 MB / 302.3 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 181 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 93.81 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005144, allocations: 12.94 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.241, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9709/1.212, allocations: 138.8 MB / 1.114 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/1.212, allocations: 82.36 kB / 1.114 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009518/1.222, allocations: 1.772 MB / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.746e-06/1.222, allocations: 0 / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.222, allocations: 0 / 1.116 GB, free: 31.25 MB / 0.698 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.0004531/1.223, allocations: 348.3 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.223, allocations: 7.375 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/1.223, allocations: 35.38 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005602/1.223, allocations: 23.91 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.223, allocations: 175.8 kB / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/1.223, allocations: 0 / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/1.223, allocations: 0 / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/1.224, allocations: 49.98 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.224, allocations: 0 / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/1.224, allocations: 0 / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.224, allocations: 3.875 kB / 1.116 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/1.224, allocations: 27.45 kB / 1.116 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/1.224, allocations: 159.8 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/1.224, allocations: 45.14 kB / 1.116 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/1.224, allocations: 0 / 1.116 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/1.224, allocations: 34.44 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/1.224, allocations: 0 / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0004438/1.225, allocations: 78.34 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.225, allocations: 51.41 kB / 1.117 GB, free: 30.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/1.225, allocations: 95.59 kB / 1.117 GB, free: 30.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/1.225, allocations: 25.7 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/1.225, allocations: 84.08 kB / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/1.225, allocations: 7.219 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/1.225, allocations: 2.188 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.225, allocations: 314.9 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/1.225, allocations: 18.64 kB / 1.117 GB, free: 29.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.67e-05/1.226, allocations: 13.88 kB / 1.117 GB, free: 29.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/1.226, allocations: 7.812 kB / 1.117 GB, free: 29.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.226, allocations: 0 / 1.117 GB, free: 29.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002786/1.226, allocations: 68.81 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.226, allocations: 3.812 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.226, allocations: 0 / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/1.226, allocations: 3.094 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/1.226, allocations: 10.28 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.226, allocations: 0 / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.91e-05/1.226, allocations: 7.281 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/1.226, allocations: 2.672 kB / 1.117 GB, free: 29.66 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.409e-05/1.226, allocations: 113.8 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/1.226, allocations: 3.844 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/1.227, allocations: 3.125 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.227, allocations: 0 / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.227, allocations: 0 / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.227, allocations: 3.094 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/1.227, allocations: 162.5 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.227, allocations: 3.844 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/1.227, allocations: 10.92 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.227, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.227, allocations: 2.625 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.227, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.227, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/1.227, allocations: 86.05 kB / 1.118 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/1.227, allocations: 95.89 kB / 1.118 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/1.227, allocations: 3.5 kB / 1.118 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/1.227, allocations: 3 kB / 1.118 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/1.227, allocations: 3.844 kB / 1.118 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/1.228, allocations: 0 / 1.118 GB, free: 29.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.636e-05/1.228, allocations: 82 kB / 1.118 GB, free: 29.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.228, allocations: 0 / 1.118 GB, free: 29.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002837/1.228, allocations: 15.53 kB / 1.118 GB, free: 29.09 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006717/1.229, allocations: 0.646 MB / 1.118 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002557/1.229, allocations: 28.95 kB / 1.118 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.229, allocations: 0 / 1.118 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/1.229, allocations: 17.73 kB / 1.119 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/1.229, allocations: 7.188 kB / 1.119 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/1.23, allocations: 160.6 kB / 1.119 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/1.23, allocations: 0.6801 MB / 1.119 GB, free: 27.63 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001403/1.23, allocations: 7.812 kB / 1.119 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/1.23, allocations: 15.09 kB / 1.119 GB, free: 27.62 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.23, allocations: 0 / 1.119 GB, free: 27.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/1.251, allocations: 1.348 MB / 1.121 GB, free: 27.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/1.251, allocations: 202.5 kB / 1.121 GB, free: 27.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.542, allocations: 2.672 kB / 1.121 GB, free: 27.25 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)