Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7818/0.7818, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 187.4 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.3 MB / 441.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009931/0.0009934, allocations: 90.94 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001887, allocations: 267.4 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.291e-05/4.293e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4624, allocations: 82.77 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.5878, allocations: 109 MB / 0.8708 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5881, allocations: 76.45 kB / 0.8709 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002885/0.591, allocations: 0.99 MB / 0.8719 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5911, allocations: 4 kB / 0.8719 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.5911, allocations: 0 / 0.8719 GB, free: 14.42 MB / 0.5417 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.0003462/0.5914, allocations: 338.5 kB / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5915, allocations: 8.031 kB / 0.8722 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.5915, allocations: 30.56 kB / 0.8722 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.5916, allocations: 4 kB / 0.8722 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.5918, allocations: 167.1 kB / 0.8724 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.5918, allocations: 11.95 kB / 0.8724 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.5918, allocations: 0 / 0.8724 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.5919, allocations: 37.64 kB / 0.8725 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5919, allocations: 0 / 0.8725 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.5919, allocations: 0 / 0.8725 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.5919, allocations: 4 kB / 0.8725 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.266e-05/0.592, allocations: 7.984 kB / 0.8725 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.5924, allocations: 256.8 kB / 0.8727 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.5924, allocations: 30.5 kB / 0.8727 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.5925, allocations: 12.92 kB / 0.8728 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.5925, allocations: 0 / 0.8728 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.5925, allocations: 30.56 kB / 0.8728 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.5925, allocations: 0 / 0.8728 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.5927, allocations: 45.69 kB / 0.8728 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.5927, allocations: 55.44 kB / 0.8729 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.5928, allocations: 93 kB / 0.873 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.5928, allocations: 25.7 kB / 0.873 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.5929, allocations: 88.02 kB / 0.8731 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.5929, allocations: 11.89 kB / 0.8731 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.5929, allocations: 0 / 0.8731 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.593, allocations: 318.8 kB / 0.8734 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.593, allocations: 7.938 kB / 0.8734 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.5931, allocations: 12 kB / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.788e-05/0.5931, allocations: 0 / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5931, allocations: 0 / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.008e-05/0.5932, allocations: 45.69 kB / 0.8735 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5932, allocations: 4 kB / 0.8735 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5932, allocations: 0 / 0.8735 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.5932, allocations: 3.938 kB / 0.8735 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.5933, allocations: 12 kB / 0.8735 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5933, allocations: 8.078 kB / 0.8735 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.5934, allocations: 4 kB / 0.8735 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.5934, allocations: 4 kB / 0.8735 GB, free: 12.55 MB / 0.5417 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 6.708e-05/0.5935, allocations: 104.9 kB / 0.8736 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.5935, allocations: 0 / 0.8736 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.5936, allocations: 64.64 kB / 0.8736 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5936, allocations: 4 kB / 0.8737 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5937, allocations: 0 / 0.8737 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5937, allocations: 0 / 0.8737 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.5938, allocations: 165.6 kB / 0.8738 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5938, allocations: 0 / 0.8738 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.5939, allocations: 11.98 kB / 0.8738 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5939, allocations: 0 / 0.8738 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.5939, allocations: 4 kB / 0.8738 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5939, allocations: 4 kB / 0.8738 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5939, allocations: 0 / 0.8738 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.5941, allocations: 143.5 kB / 0.874 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.5941, allocations: 85.05 kB / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.5941, allocations: 8 kB / 0.8741 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.5942, allocations: 8 kB / 0.8741 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.5943, allocations: 3.984 kB / 0.8741 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.5943, allocations: 4 kB / 0.8741 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.109e-05/0.5943, allocations: 83.56 kB / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5943, allocations: 0 / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000189/0.5945, allocations: 4 kB / 0.8742 GB, free: 11.78 MB / 0.5417 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.0003689/0.5949, allocations: 0.6871 MB / 0.8748 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.596e-05/0.595, allocations: 12 kB / 0.8748 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.595, allocations: 4.062 kB / 0.8748 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.595, allocations: 15.98 kB / 0.8749 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.5952, allocations: 3.938 kB / 0.8749 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.5955, allocations: 102.8 kB / 0.875 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.5958, allocations: 0.6809 MB / 0.8756 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.5958, allocations: 0 / 0.8756 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.5959, allocations: 19.38 kB / 0.8756 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.5959, allocations: 0 / 0.8756 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.6074, allocations: 1.094 MB / 0.8767 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.6077, allocations: 189.7 kB / 0.8769 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.207, allocations: 0 / 0.8769 GB, free: 9.023 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)