Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001108/0.001108, allocations: 178.2 kB / 371.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 0.6305 GB, free: 9.977 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.0009852/0.0009847, allocations: 91.47 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004164, allocations: 11.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2691, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8904/1.16, allocations: 139 MB / 1.115 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.16, allocations: 79.73 kB / 1.115 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005967/1.166, allocations: 1.765 MB / 1.117 GB, free: 31.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/1.166, allocations: 0 / 1.117 GB, free: 31.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.54e-05/1.166, allocations: 0 / 1.117 GB, free: 31.85 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.0003378/1.166, allocations: 356.3 kB / 1.117 GB, free: 31.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.166, allocations: 7.688 kB / 1.117 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/1.166, allocations: 30.56 kB / 1.117 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/1.167, allocations: 30.55 kB / 1.117 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/1.167, allocations: 170.8 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/1.167, allocations: 0 / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/1.167, allocations: 0 / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/1.167, allocations: 48.2 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.167, allocations: 3.984 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/1.167, allocations: 0 / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.167, allocations: 4 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/1.167, allocations: 23.5 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/1.168, allocations: 174.3 kB / 1.118 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/1.168, allocations: 38.72 kB / 1.118 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/1.168, allocations: 4 kB / 1.118 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/1.168, allocations: 34.41 kB / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.168, allocations: 0 / 1.118 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002896/1.168, allocations: 74.92 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/1.168, allocations: 51.41 kB / 1.118 GB, free: 30.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/1.168, allocations: 92.97 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/1.168, allocations: 25.7 kB / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/1.168, allocations: 80.14 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/1.168, allocations: 6.281 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/1.168, allocations: 1.75 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.168, allocations: 318 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.958e-05/1.168, allocations: 10.36 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/1.169, allocations: 17.91 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/1.169, allocations: 11.03 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.169, allocations: 3.953 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001477/1.169, allocations: 54.27 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.169, allocations: 9.156 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.169, allocations: 0 / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.169, allocations: 4.094 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/1.169, allocations: 14.66 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.169, allocations: 0 / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/1.169, allocations: 7.078 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/1.169, allocations: 0 / 1.119 GB, free: 30.26 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.025e-05/1.169, allocations: 105.8 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/1.169, allocations: 7.828 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/1.169, allocations: 17.88 kB / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.169, allocations: 3.094 kB / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.169, allocations: 0 / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/1.169, allocations: 0 / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/1.169, allocations: 159.8 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.169, allocations: 3.953 kB / 1.119 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.623e-05/1.169, allocations: 7.078 kB / 1.119 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.169, allocations: 0 / 1.119 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/1.169, allocations: 2.625 kB / 1.119 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/1.169, allocations: 0 / 1.119 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.169, allocations: 4 kB / 1.119 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/1.17, allocations: 86.41 kB / 1.119 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/1.17, allocations: 95.55 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/1.17, allocations: 3.141 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.946e-05/1.17, allocations: 32 / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/1.17, allocations: 11.38 kB / 1.119 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/1.17, allocations: 0 / 1.119 GB, free: 29.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.575e-05/1.17, allocations: 82.27 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.17, allocations: 0 / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002052/1.17, allocations: 15.5 kB / 1.119 GB, free: 29.68 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.0005843/1.171, allocations: 0.6388 MB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001674/1.171, allocations: 28.33 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.171, allocations: 0 / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/1.171, allocations: 23.72 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/1.171, allocations: 2.578 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/1.172, allocations: 157.4 kB / 1.12 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/1.172, allocations: 0.6782 MB / 1.121 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.455e-05/1.172, allocations: 12.23 kB / 1.121 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/1.172, allocations: 14.17 kB / 1.121 GB, free: 28.21 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.172, allocations: 3.938 kB / 1.121 GB, free: 28.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/1.184, allocations: 1.351 MB / 1.122 GB, free: 28.07 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/1.184, allocations: 216.2 kB / 1.122 GB, free: 27.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.723, allocations: 0 / 1.122 GB, free: 27.83 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)