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.831/1.831, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001274/0.001274, allocations: 188.8 kB / 377.1 MB, free: 1.543 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.774/1.774, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.001022/0.001022, allocations: 96.12 kB / 0.7509 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.000429, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3661, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9167/1.283, allocations: 139.9 MB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/1.283, allocations: 82.53 kB / 1.125 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0054/1.289, allocations: 1.77 MB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.864e-06/1.289, allocations: 0 / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.289, allocations: 0 / 1.127 GB, free: 33.45 MB / 0.7292 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.289, allocations: 351.6 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.289, allocations: 8.031 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/1.289, allocations: 30.56 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003858/1.29, allocations: 35 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/1.29, allocations: 163.6 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/1.29, allocations: 3.938 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/1.29, allocations: 7.438 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/1.29, allocations: 51.92 kB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.29, allocations: 0.5156 kB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.29, allocations: 0 / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/1.29, allocations: 3.562 kB / 1.128 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/1.29, allocations: 20.03 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/1.29, allocations: 162 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/1.29, allocations: 45.78 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/1.29, allocations: 0 / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/1.291, allocations: 34.62 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/1.291, allocations: 0 / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003098/1.291, allocations: 71.64 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.291, allocations: 58.22 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/1.291, allocations: 92.33 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/1.291, allocations: 25.7 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.095e-05/1.291, allocations: 84.14 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/1.291, allocations: 3.906 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/1.291, allocations: 0 / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/1.291, allocations: 315 kB / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/1.291, allocations: 19.45 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/1.291, allocations: 7.375 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.146e-05/1.291, allocations: 15.98 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.291, allocations: 3.953 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001667/1.291, allocations: 64.73 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.292, allocations: 8 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.292, allocations: 0 / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.292, allocations: 0 / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/1.292, allocations: 8.641 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.292, allocations: 0 / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/1.292, allocations: 4.812 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/1.292, allocations: 0.5469 kB / 1.129 GB, free: 31.67 MB / 0.7292 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 7.886e-05/1.292, allocations: 113.3 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/1.292, allocations: 7.953 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/1.292, allocations: 3.125 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.292, allocations: 4.828 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.292, allocations: 3.938 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.292, allocations: 0.75 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/1.292, allocations: 154.1 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.292, allocations: 11.95 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/1.292, allocations: 7.375 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.292, allocations: 3.609 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.292, allocations: 0 / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.292, allocations: 0 / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.292, allocations: 0 / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/1.292, allocations: 88.48 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/1.292, allocations: 92.95 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/1.293, allocations: 4.891 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/1.293, allocations: 2.688 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/1.293, allocations: 0 / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/1.293, allocations: 4.625 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.533e-05/1.293, allocations: 78.8 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/1.293, allocations: 3.938 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002041/1.293, allocations: 16 kB / 1.129 GB, free: 31.02 MB / 0.7292 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.0004698/1.293, allocations: 0.6451 MB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001692/1.294, allocations: 30.78 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.294, allocations: 0 / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.833e-05/1.294, allocations: 15.41 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/1.294, allocations: 11.38 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/1.294, allocations: 165.4 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/1.294, allocations: 0.6767 MB / 1.131 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.582e-05/1.294, allocations: 11.52 kB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/1.295, allocations: 11.44 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/1.295, allocations: 0 / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/1.308, allocations: 1.344 MB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/1.308, allocations: 206.4 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/3.005, allocations: 0 / 1.132 GB, free: 28.48 MB / 0.7292 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)