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.438/2.438, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001482/0.001482, allocations: 176 kB / 360.6 MB, free: 7.285 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.017/2.017, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001018, allocations: 87.22 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.422e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.811, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2743/1.085, allocations: 138 MB / 1.098 GB, free: 2.391 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.086, allocations: 77.22 kB / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008697/1.094, allocations: 1.773 MB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.734e-06/1.095, allocations: 0 / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.095, allocations: 0 / 1.1 GB, free: 0.5977 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.0004014/1.095, allocations: 337.3 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/1.095, allocations: 12.03 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/1.096, allocations: 29.16 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/1.096, allocations: 167.1 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/1.096, allocations: 3.547 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/1.096, allocations: 0 / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001024/1.096, allocations: 15.92 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/1.096, allocations: 41.67 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.096, allocations: 4 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.096, allocations: 2.734 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.096, allocations: 3.969 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/1.096, allocations: 142.1 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/1.096, allocations: 27.52 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/1.097, allocations: 16.91 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/1.097, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.097, allocations: 38.5 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/1.097, allocations: 4 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001957/1.097, allocations: 41.69 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.097, allocations: 55.41 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.259e-05/1.097, allocations: 90.88 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/1.097, allocations: 29.69 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/1.097, allocations: 84.14 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/1.097, allocations: 7.844 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-06/1.097, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.097, allocations: 314.9 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/1.097, allocations: 8 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/1.097, allocations: 4 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/1.097, allocations: 11.98 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.097, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001327/1.097, allocations: 53.58 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.098, allocations: 8 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.098, allocations: 0 / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.098, allocations: 0 / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/1.098, allocations: 16.67 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/1.098, allocations: 0 / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/1.098, allocations: 10.67 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/1.098, allocations: 0 / 1.102 GB, free: 14.87 MB / 0.7136 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 8.249e-05/1.098, allocations: 104.8 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001224/1.098, allocations: 53.64 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/1.098, allocations: 0 / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/1.098, allocations: 13.17 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.098, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.098, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.098, allocations: 4 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/1.098, allocations: 134.2 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.098, allocations: 4 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/1.099, allocations: 11.92 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/1.099, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.099, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.099, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.099, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/1.099, allocations: 83.7 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/1.099, allocations: 87.86 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/1.099, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/1.099, allocations: 4 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/1.099, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/1.099, allocations: 7.391 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.387e-05/1.099, allocations: 79.28 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.099, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003049/1.099, allocations: 19.98 kB / 1.102 GB, free: 14.19 MB / 0.7136 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.0005399/1.1, allocations: 0.6319 MB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001125/1.1, allocations: 15.98 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.1, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.009e-05/1.1, allocations: 15.98 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/1.1, allocations: 6.062 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/1.101, allocations: 94.38 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/1.101, allocations: 0.6768 MB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001434/1.101, allocations: 13.44 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/1.101, allocations: 11.42 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/1.101, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/1.135, allocations: 1.036 MB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/1.135, allocations: 167.5 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.541, allocations: 2.188 kB / 1.105 GB, free: 11.46 MB / 0.7136 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)