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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 103.4 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 199.2 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 275.2 kB / 290.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9056/0.9056, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 92.25 kB / 0.5948 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.19, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002939/0.193, allocations: 1.481 MB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005098/0.1935, allocations: 183.8 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/0.1936, allocations: 0 / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.1936, allocations: 0 / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/0.1937, allocations: 15.91 kB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.194, allocations: 20.55 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.696e-05/0.194, allocations: 28.58 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.1941, allocations: 4.703 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.1942, allocations: 11.94 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.1942, allocations: 12.48 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1943, allocations: 4.625 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.1944, allocations: 23.98 kB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.1944, allocations: 5.938 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.1944, allocations: 15.92 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1945, allocations: 35.89 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1946, allocations: 0 / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1946, allocations: 0 / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1946, allocations: 4 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB 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.0004272/0.195, allocations: 339.5 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1951, allocations: 8.031 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.1951, allocations: 30.75 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1952, allocations: 12.78 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1954, allocations: 164.4 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1954, allocations: 8.375 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1954, allocations: 8.312 kB / 0.6821 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1956, allocations: 54.23 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1956, allocations: 3.938 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.1956, allocations: 0 / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1956, allocations: 0 / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.1958, allocations: 35.95 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.1961, allocations: 241 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1963, allocations: 46.44 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.1964, allocations: 21.41 kB / 0.6824 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.1964, allocations: 4 kB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1964, allocations: 34.56 kB / 0.6825 GB, free: 13.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1964, allocations: 3.938 kB / 0.6825 GB, free: 13.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.1968, allocations: 85.55 kB / 0.6826 GB, free: 13.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1968, allocations: 51.41 kB / 0.6826 GB, free: 13.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.1969, allocations: 101.8 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1969, allocations: 25.7 kB / 0.6827 GB, free: 13.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.1969, allocations: 80.14 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.197, allocations: 15.89 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.197, allocations: 13.84 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.1971, allocations: 314.8 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.1972, allocations: 15.98 kB / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.1973, allocations: 15.97 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.1974, allocations: 36.89 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1974, allocations: 7.938 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.1976, allocations: 69.66 kB / 0.6833 GB, free: 13.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1977, allocations: 4 kB / 0.6833 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1977, allocations: 3.938 kB / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1977, allocations: 0 / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.1978, allocations: 11.98 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-06/0.1978, allocations: 0 / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.1978, allocations: 8.031 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1979, allocations: 0 / 0.6833 GB, free: 13.05 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/0.1979, allocations: 115.1 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.198, allocations: 7.938 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.1982, allocations: 76.95 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1982, allocations: 0 / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1982, allocations: 4 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1982, allocations: 0 / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1984, allocations: 165.6 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1984, allocations: 0 / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.1985, allocations: 15.92 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1985, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1985, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1985, allocations: 4 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.1985, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1988, allocations: 171.4 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.1988, allocations: 81.05 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1988, allocations: 8 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.1989, allocations: 7.984 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1989, allocations: 0 / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.199, allocations: 0 / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.199, allocations: 87.27 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.199, allocations: 4 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000205/0.1992, allocations: 7.938 kB / 0.684 GB, free: 12.21 MB / 494.1 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000473/0.1997, allocations: 0.6967 MB / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1999, allocations: 43.95 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1999, allocations: 0 / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.2, allocations: 27.91 kB / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2003, allocations: 4 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.2008, allocations: 152.3 kB / 0.6849 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.201, allocations: 0.6807 MB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.201, allocations: 0 / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.2011, allocations: 15.44 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2011, allocations: 0 / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.2128, allocations: 1.234 MB / 0.6868 GB, free: 9.449 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.213, allocations: 231.1 kB / 0.687 GB, free: 9.195 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/1.849, allocations: 0 / 0.687 GB, free: 9.195 MB / 494.1 MB (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/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)