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.574/1.574, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 170.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.000885/0.0008846, allocations: 78.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.073e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2404, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8755/1.116, allocations: 133 MB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/1.116, allocations: 71.91 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006336/1.123, allocations: 1.942 MB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.522e-06/1.123, allocations: 0 / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.123, allocations: 4 kB / 1.024 GB, free: 15.97 MB / 0.6511 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.0003935/1.123, allocations: 362 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.123, allocations: 8.031 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/1.123, allocations: 34.12 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/1.123, allocations: 23.97 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/1.124, allocations: 171 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.124, allocations: 8 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/1.124, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/1.124, allocations: 56.09 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.124, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/1.124, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.124, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/1.124, allocations: 23.61 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/1.124, allocations: 286.8 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/1.125, allocations: 33.64 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/1.125, allocations: 16.48 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/1.125, allocations: 6.719 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/1.125, allocations: 38 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/1.125, allocations: 0 / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/1.125, allocations: 52.56 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/1.125, allocations: 59.36 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/1.125, allocations: 92.44 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/1.125, allocations: 25.7 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/1.125, allocations: 84.12 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/1.125, allocations: 3.906 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/1.125, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.125, allocations: 318.6 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/1.125, allocations: 11.72 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/1.125, allocations: 15.23 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/1.125, allocations: 11.81 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.125, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001002/1.125, allocations: 52.44 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.125, allocations: 9.656 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.125, allocations: 3.984 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/1.125, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/1.126, allocations: 20.08 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.126, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.367e-05/1.126, allocations: 15.94 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/1.126, allocations: 0 / 1.026 GB, free: 14.03 MB / 0.6511 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 () * 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 7.454e-05/1.126, allocations: 104.3 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/1.126, allocations: 4 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/1.126, allocations: 15.02 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.126, allocations: 3.984 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.126, allocations: 0 / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.126, allocations: 0 / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/1.126, allocations: 181.5 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/1.126, allocations: 0 / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/1.126, allocations: 15.98 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.126, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/1.126, allocations: 7.984 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.126, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.126, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/1.126, allocations: 150.1 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/1.127, allocations: 81.11 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/1.127, allocations: 3.984 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/1.127, allocations: 12.03 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/1.127, allocations: 3.984 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/1.127, allocations: 4 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.831e-05/1.127, allocations: 86.89 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.127, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002277/1.127, allocations: 16 kB / 1.026 GB, free: 13.29 MB / 0.6511 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 () * 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.0004917/1.127, allocations: 0.7067 MB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001123/1.128, allocations: 22.86 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.128, allocations: 3.5 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/1.128, allocations: 15.19 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/1.128, allocations: 4 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/1.128, allocations: 117.5 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/1.129, allocations: 0.6809 MB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.939e-05/1.129, allocations: 7.938 kB / 1.028 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/1.129, allocations: 11.44 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/1.129, allocations: 0 / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/1.141, allocations: 1.385 MB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/1.141, allocations: 189.6 kB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.719, allocations: 4 kB / 1.029 GB, free: 10.15 MB / 0.6511 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)