Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.595/1.595, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001125/0.001125, allocations: 182.8 kB / 371.6 MB, free: 3.402 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/2, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.000938/0.000938, allocations: 86.67 kB / 0.745 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.778e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2898, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9655/1.255, allocations: 139.3 MB / 1.116 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.256, allocations: 79.05 kB / 1.116 GB, free: 44.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002587/1.258, allocations: 0.9769 MB / 1.117 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/1.258, allocations: 6.719 kB / 1.117 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.266e-06/1.258, allocations: 0 / 1.117 GB, free: 43.67 MB / 0.7448 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.0003261/1.259, allocations: 330.7 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.259, allocations: 12.03 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/1.259, allocations: 38 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/1.259, allocations: 12.62 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/1.259, allocations: 159.1 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/1.259, allocations: 3.266 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/1.259, allocations: 4 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/1.259, allocations: 37.28 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.259, allocations: 0 / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.259, allocations: 0 / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/1.259, allocations: 0.75 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/1.259, allocations: 17.72 kB / 1.118 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/1.259, allocations: 250.5 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/1.26, allocations: 27.58 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/1.26, allocations: 15.64 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/1.26, allocations: 3.75 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/1.26, allocations: 30.56 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.685e-06/1.26, allocations: 0.5156 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001562/1.26, allocations: 44.94 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/1.26, allocations: 51.41 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/1.26, allocations: 93.52 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/1.26, allocations: 28.88 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/1.26, allocations: 91.98 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/1.26, allocations: 8.016 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.26, allocations: 0.5625 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/1.26, allocations: 318.8 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/1.26, allocations: 3.875 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.238e-05/1.26, allocations: 4 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/1.26, allocations: 7.812 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.26, allocations: 0 / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.191e-05/1.26, allocations: 53.89 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.26, allocations: 4 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.26, allocations: 0 / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.26, allocations: 0 / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/1.26, allocations: 11.33 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.26, allocations: 0.7031 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/1.26, allocations: 11.56 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/1.261, allocations: 5.859 kB / 1.119 GB, free: 41.92 MB / 0.7448 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 5.151e-05/1.261, allocations: 106.6 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/1.261, allocations: 7.906 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/1.261, allocations: 59.48 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.261, allocations: 0.6562 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.261, allocations: 0 / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.261, allocations: 1.453 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/1.261, allocations: 157 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.261, allocations: 7.469 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.214e-05/1.261, allocations: 12.62 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.261, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/1.261, allocations: 4.594 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/1.261, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.261, allocations: 3.688 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/1.261, allocations: 146.6 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/1.261, allocations: 81.11 kB / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/1.261, allocations: 0 / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/1.261, allocations: 11.33 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/1.261, allocations: 7.75 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/1.261, allocations: 1.25 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.344e-05/1.261, allocations: 83.41 kB / 1.119 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.261, allocations: 0 / 1.119 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001909/1.262, allocations: 4.75 kB / 1.119 GB, free: 41.2 MB / 0.7448 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 (3): * Single equations (assignments): 3 * 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.0003096/1.262, allocations: 0.6811 MB / 1.12 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.818e-05/1.262, allocations: 23.5 kB / 1.12 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.262, allocations: 0 / 1.12 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/1.262, allocations: 4 kB / 1.12 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/1.262, allocations: 7.469 kB / 1.12 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/1.263, allocations: 93.47 kB / 1.12 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/1.263, allocations: 0.6843 MB / 1.121 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.409e-05/1.263, allocations: 2.953 kB / 1.121 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/1.263, allocations: 10.91 kB / 1.121 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/1.263, allocations: 0 / 1.121 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/1.284, allocations: 1.091 MB / 1.122 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/1.284, allocations: 177 kB / 1.122 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/3.087, allocations: 0.75 kB / 1.122 GB, free: 38.86 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)