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.005517/0.005517, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001253/0.001253, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 278.5 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.175/1.175, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002672/0.002672, allocations: 103.9 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1905, allocations: 86.96 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002771/0.1933, allocations: 1.412 MB / 0.7673 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005122/0.1939, allocations: 195.5 kB / 0.7675 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.1939, allocations: 4 kB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.194, allocations: 3.938 kB / 0.7675 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.194, allocations: 7.984 kB / 0.7675 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1943, allocations: 27.84 kB / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.1944, allocations: 19.92 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1945, allocations: 8 kB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.1946, allocations: 15.91 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.1947, allocations: 8 kB / 0.7675 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1947, allocations: 4 kB / 0.7675 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1948, allocations: 27.97 kB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.1948, allocations: 7.938 kB / 0.7676 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.1949, allocations: 4 kB / 0.7676 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.195, allocations: 44.11 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.195, allocations: 0 / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.195, allocations: 0 / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1951, allocations: 0 / 0.7676 GB, free: 7.156 MB / 0.5606 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.0005734/0.1956, allocations: 343.4 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1957, allocations: 12.03 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.1957, allocations: 30.75 kB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1959, allocations: 8.922 kB / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.1961, allocations: 164.3 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.1961, allocations: 4.312 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1961, allocations: 4.375 kB / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1963, allocations: 58.11 kB / 0.7682 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1963, allocations: 3.938 kB / 0.7682 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1963, allocations: 0 / 0.7682 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1964, allocations: 4 kB / 0.7682 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.1965, allocations: 35.95 kB / 0.7683 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.1969, allocations: 244.9 kB / 0.7685 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.1971, allocations: 50.41 kB / 0.7685 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/0.1972, allocations: 28.91 kB / 0.7686 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.1972, allocations: 0 / 0.7686 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1973, allocations: 34.56 kB / 0.7686 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1973, allocations: 0 / 0.7686 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003784/0.1976, allocations: 77.64 kB / 0.7687 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1977, allocations: 59.53 kB / 0.7687 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1978, allocations: 101.8 kB / 0.7688 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1978, allocations: 29.64 kB / 0.7689 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.1979, allocations: 80.14 kB / 0.7689 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1979, allocations: 3.953 kB / 0.7689 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.198, allocations: 17.72 kB / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1981, allocations: 310.8 kB / 0.7693 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.1982, allocations: 19.97 kB / 0.7693 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.1983, allocations: 19.98 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1985, allocations: 36.83 kB / 0.7693 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1985, allocations: 3.938 kB / 0.7693 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.1987, allocations: 65.61 kB / 0.7694 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1987, allocations: 12.09 kB / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1987, allocations: 0 / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.1987, allocations: 0 / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.1988, allocations: 15.92 kB / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1988, allocations: 0 / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.1989, allocations: 7.984 kB / 0.7694 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1989, allocations: 0 / 0.7694 GB, free: 5.07 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.29e-05/0.199, allocations: 114.4 kB / 0.7695 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.199, allocations: 4 kB / 0.7695 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.1993, allocations: 76.77 kB / 0.7696 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1993, allocations: 4 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1993, allocations: 0 / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1994, allocations: 3.938 kB / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1995, allocations: 157.6 kB / 0.7698 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1995, allocations: 0 / 0.7698 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.1996, allocations: 11.98 kB / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1996, allocations: 11.88 kB / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1997, allocations: 4 kB / 0.7698 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1997, allocations: 0 / 0.7698 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1997, allocations: 4 kB / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.1999, allocations: 163.5 kB / 0.77 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.2, allocations: 85.05 kB / 0.77 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.2, allocations: 4 kB / 0.77 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.2001, allocations: 8 kB / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.2002, allocations: 7.984 kB / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2002, allocations: 0 / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.2002, allocations: 79.56 kB / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2002, allocations: 0 / 0.7701 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002145/0.2005, allocations: 4 kB / 0.7701 GB, free: 4.246 MB / 0.5606 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 (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.0006059/0.2011, allocations: 0.7125 MB / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.2013, allocations: 39.97 kB / 0.7709 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2013, allocations: 0 / 0.7709 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.2014, allocations: 31.97 kB / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2018, allocations: 5.219 kB / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.2023, allocations: 156.2 kB / 0.7711 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.2026, allocations: 0.6807 MB / 0.7717 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.2027, allocations: 0 / 0.7717 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.2027, allocations: 19.42 kB / 0.7717 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.2027, allocations: 0 / 0.7717 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.2261, allocations: 1.372 MB / 0.7731 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.005, allocations: 8.344 kB / 0.7731 GB, free: 1.285 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)