Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 289.9 MB / 297.4 MB, free: 6.301 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.0009912/0.000991, allocations: 172.8 kB / 366.7 MB, free: 1.641 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.71/1.71, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0009155/0.0009155, allocations: 89.33 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.412e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7887/0.7888, allocations: 116.3 MB / 0.9733 GB, free: 76.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2111/0.9999, allocations: 139.2 MB / 1.109 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1, allocations: 76.45 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005449/1.006, allocations: 1.748 MB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/1.006, allocations: 8.594 kB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.006, allocations: 0.5312 kB / 1.111 GB, free: 9.094 MB / 0.7136 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.0003475/1.006, allocations: 343.8 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/1.006, allocations: 8.031 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004076/1.007, allocations: 25.28 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/1.007, allocations: 163 kB / 1.112 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/1.007, allocations: 6.594 kB / 1.112 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/1.007, allocations: 0 / 1.112 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.822e-05/1.007, allocations: 20.56 kB / 1.112 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.022e-05/1.007, allocations: 42.2 kB / 1.112 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.007, allocations: 6.156 kB / 1.112 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/1.007, allocations: 0 / 1.112 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/1.007, allocations: 0 / 1.112 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/1.007, allocations: 142.1 kB / 1.112 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/1.007, allocations: 41.95 kB / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/1.007, allocations: 8.922 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/1.007, allocations: 3.984 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/1.007, allocations: 34.56 kB / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/1.007, allocations: 0 / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/1.008, allocations: 45.69 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/1.008, allocations: 56.34 kB / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/1.008, allocations: 92.98 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/1.008, allocations: 29.73 kB / 1.112 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/1.008, allocations: 80.14 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/1.008, allocations: 11.84 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/1.008, allocations: 4 kB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.008, allocations: 310.8 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/1.008, allocations: 4 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/1.008, allocations: 14.23 kB / 1.112 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.117e-05/1.008, allocations: 4 kB / 1.112 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.008, allocations: 4.062 kB / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.21e-05/1.008, allocations: 55.5 kB / 1.113 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.008, allocations: 5.094 kB / 1.113 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.008, allocations: 0 / 1.113 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.008, allocations: 4 kB / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/1.008, allocations: 7.984 kB / 1.113 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/1.008, allocations: 0 / 1.113 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/1.008, allocations: 0 / 1.113 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/1.008, allocations: 4 kB / 1.113 GB, free: 7.371 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.174e-05/1.008, allocations: 113 kB / 1.113 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.637e-05/1.008, allocations: 53.62 kB / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/1.008, allocations: 4 kB / 1.113 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/1.009, allocations: 6.703 kB / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/1.009, allocations: 0 / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/1.009, allocations: 0 / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.009, allocations: 0 / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/1.009, allocations: 134.2 kB / 1.113 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.009, allocations: 7.984 kB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/1.009, allocations: 10.11 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/1.009, allocations: 4.938 kB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.009, allocations: 0 / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/1.009, allocations: 0 / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.009, allocations: 0 / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/1.009, allocations: 79.64 kB / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/1.009, allocations: 97.08 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/1.009, allocations: 0 / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/1.009, allocations: 0 / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/1.009, allocations: 4 kB / 1.113 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/1.009, allocations: 3.984 kB / 1.113 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.649e-05/1.009, allocations: 82.38 kB / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.009, allocations: 0 / 1.113 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001904/1.009, allocations: 16 kB / 1.113 GB, free: 6.688 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.0004056/1.01, allocations: 0.628 MB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.959e-05/1.01, allocations: 19.92 kB / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.01, allocations: 0 / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.43e-05/1.01, allocations: 15.98 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/1.01, allocations: 8.156 kB / 1.114 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/1.01, allocations: 93.58 kB / 1.114 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/1.011, allocations: 0.6768 MB / 1.115 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.577e-05/1.011, allocations: 9.406 kB / 1.115 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/1.011, allocations: 11.44 kB / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/1.011, allocations: 0 / 1.115 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/1.03, allocations: 1.047 MB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.03, allocations: 162.6 kB / 1.116 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.667, allocations: 4.219 kB / 1.116 GB, free: 3.941 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)