Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.739/2.739, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001477/0.001477, allocations: 168.9 kB / 360.6 MB, free: 7.289 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.272/2.272, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001068/0.001068, allocations: 96.64 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.171e-05, allocations: 8 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8828/0.8828, allocations: 115.3 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2477/1.131, allocations: 137.5 MB / 1.098 GB, free: 2.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.131, allocations: 77.92 kB / 1.098 GB, free: 2.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004424/1.135, allocations: 0.9731 MB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/1.136, allocations: 0 / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.136, allocations: 0.625 kB / 1.099 GB, free: 1.898 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004767/1.136, allocations: 349.6 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.136, allocations: 8.031 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/1.136, allocations: 5.203 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/1.136, allocations: 171.5 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/1.136, allocations: 0.7188 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/1.136, allocations: 4 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.288e-05/1.137, allocations: 4.688 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/1.137, allocations: 41.2 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/1.137, allocations: 0 / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.137, allocations: 0.6875 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/1.137, allocations: 4 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/1.137, allocations: 231 kB / 1.1 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7e-05/1.137, allocations: 23.17 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/1.137, allocations: 12.64 kB / 1.1 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/1.137, allocations: 3.984 kB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.137, allocations: 32.38 kB / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/1.137, allocations: 1.125 kB / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001976/1.138, allocations: 42.19 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/1.138, allocations: 59.97 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/1.138, allocations: 94.38 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/1.138, allocations: 25.7 kB / 1.1 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/1.138, allocations: 84.08 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/1.138, allocations: 3.906 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/1.138, allocations: 0.6875 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.138, allocations: 330.1 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/1.138, allocations: 0 / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/1.138, allocations: 8 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/1.138, allocations: 4 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.138, allocations: 2.906 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.806e-05/1.138, allocations: 37.7 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/1.138, allocations: 4 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.138, allocations: 1.938 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/1.138, allocations: 11.92 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/1.138, allocations: 11.81 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.139, allocations: 0 / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/1.139, allocations: 12.67 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/1.139, allocations: 7.938 kB / 1.1 GB, free: 140 kB / 0.698 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.544e-05/1.139, allocations: 108.7 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001391/1.139, allocations: 45.59 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/1.139, allocations: 4 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/1.139, allocations: 45.44 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.139, allocations: 0 / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.139, allocations: 4.031 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.139, allocations: 4 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/1.139, allocations: 142.2 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.139, allocations: 3.938 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/1.14, allocations: 8 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/1.14, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/1.14, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.506e-05/1.14, allocations: 7.984 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.14, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/1.14, allocations: 148.9 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/1.14, allocations: 81.02 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/1.14, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.14, allocations: 10.69 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/1.14, allocations: 3.984 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/1.14, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.082e-05/1.14, allocations: 79.28 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-07/1.14, allocations: 4 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003029/1.14, allocations: 5.312 kB / 1.101 GB, free: 15.36 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 (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.0005243/1.141, allocations: 0.6734 MB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001102/1.141, allocations: 19.98 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.141, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/1.141, allocations: 14.59 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/1.141, allocations: 5.891 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/1.142, allocations: 95.94 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/1.142, allocations: 0.6768 MB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.982e-05/1.142, allocations: 0 / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/1.142, allocations: 12.69 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/1.142, allocations: 4 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/1.177, allocations: 0.7665 MB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/1.177, allocations: 161.8 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.581, allocations: 0.9844 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)