Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.005136/0.005136, allocations: 99.81 kB / 15.73 MB, free: 6.492 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.00111/0.00111, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002253/0.002253, allocations: 282.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 91.86 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1884, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003052/0.1915, allocations: 1.408 MB / 0.7673 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006117/0.1922, allocations: 291.1 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.1922, allocations: 4 kB / 0.7675 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.1923, allocations: 3.938 kB / 0.7675 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.1924, allocations: 7.922 kB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1927, allocations: 47.75 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.833e-05/0.1928, allocations: 27.92 kB / 0.7676 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1929, allocations: 4 kB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.193, allocations: 11.98 kB / 0.7676 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.193, allocations: 19.92 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1931, allocations: 0 / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.1933, allocations: 83.86 kB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.1933, allocations: 7.969 kB / 0.7677 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.1934, allocations: 11.94 kB / 0.7678 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1936, allocations: 71.95 kB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1936, allocations: 8 kB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1936, allocations: 0 / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.1936, allocations: 0 / 0.7678 GB, free: 6.941 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.000482/0.1941, allocations: 355.2 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.1941, allocations: 8.031 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.1942, allocations: 38.75 kB / 0.7682 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.1942, allocations: 4.938 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1944, allocations: 164.3 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1944, allocations: 384 / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.1944, allocations: 4.375 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1946, allocations: 46.23 kB / 0.7684 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1946, allocations: 7.938 kB / 0.7684 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1946, allocations: 7.938 kB / 0.7684 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1946, allocations: 0 / 0.7684 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.1948, allocations: 31.95 kB / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1951, allocations: 241 kB / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1953, allocations: 46.48 kB / 0.7687 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.939e-05/0.1954, allocations: 28.91 kB / 0.7688 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1954, allocations: 3.984 kB / 0.7688 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.1955, allocations: 34.5 kB / 0.7688 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1955, allocations: 0 / 0.7688 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003532/0.1958, allocations: 81.73 kB / 0.7689 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1959, allocations: 55.44 kB / 0.7689 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.196, allocations: 105.8 kB / 0.769 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.196, allocations: 25.7 kB / 0.7691 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.1961, allocations: 84.14 kB / 0.7691 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.1961, allocations: 7.891 kB / 0.7692 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1961, allocations: 13.72 kB / 0.7692 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1963, allocations: 314.8 kB / 0.7695 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.1964, allocations: 19.97 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.719e-05/0.1965, allocations: 23.92 kB / 0.7695 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1966, allocations: 32.83 kB / 0.7695 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1966, allocations: 3.938 kB / 0.7695 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/0.1968, allocations: 73.67 kB / 0.7696 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1969, allocations: 4 kB / 0.7696 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1969, allocations: 4 kB / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1969, allocations: 0 / 0.7696 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.197, allocations: 7.984 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.197, allocations: 0 / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1971, allocations: 4 kB / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1971, allocations: 0 / 0.7696 GB, free: 4.859 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 8.314e-05/0.1972, allocations: 126.5 kB / 0.7698 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.1972, allocations: 3.938 kB / 0.7698 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.1975, allocations: 72.72 kB / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1975, allocations: 0 / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1975, allocations: 0 / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1975, allocations: 0 / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.1977, allocations: 157.6 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1977, allocations: 3.984 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.1977, allocations: 12.03 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1977, allocations: 0 / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.1978, allocations: 0 / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1978, allocations: 4 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1978, allocations: 0 / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.198, allocations: 167.4 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.1981, allocations: 89.08 kB / 0.7702 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1981, allocations: 4 kB / 0.7702 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.1982, allocations: 0 / 0.7702 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.1982, allocations: 11.98 kB / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1982, allocations: 3.938 kB / 0.7703 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.1983, allocations: 79.28 kB / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1983, allocations: 0 / 0.7703 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002288/0.1985, allocations: 11.94 kB / 0.7703 GB, free: 4.031 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 (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 Backend phase and start with SimCode phase: time 0.0005618/0.1991, allocations: 0.7085 MB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1993, allocations: 35.97 kB / 0.7711 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1993, allocations: 4.094 kB / 0.7711 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.1994, allocations: 23.97 kB / 0.7711 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1997, allocations: 0 / 0.7711 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.2002, allocations: 148.1 kB / 0.7712 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.2004, allocations: 0.6806 MB / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.2005, allocations: 4.062 kB / 0.7719 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.2005, allocations: 19.38 kB / 0.7719 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.2005, allocations: 0 / 0.7719 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.218, allocations: 1.499 MB / 0.7734 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.493, allocations: 22.42 kB / 0.7734 GB, free: 0.9453 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce_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_SublimationPressureIce.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)