Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_IDEAS_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.005321/0.005321, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001232/0.001232, allocations: 193.6 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8211/0.8211, allocations: 132.2 MB / 422.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 66.8 kB / 0.5808 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1863, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.003202/0.1896, allocations: 1.388 MB / 0.6605 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.1902, allocations: 287.1 kB / 0.6608 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.1903, allocations: 0 / 0.6608 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.1903, allocations: 7.875 kB / 0.6608 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.1904, allocations: 0 / 0.6608 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1908, allocations: 59.73 kB / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.1908, allocations: 31.86 kB / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1909, allocations: 7.984 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.191, allocations: 8 kB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.1911, allocations: 15.92 kB / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1911, allocations: 0 / 0.6609 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.1913, allocations: 95.78 kB / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1913, allocations: 0 / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1914, allocations: 15.92 kB / 0.661 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.1915, allocations: 68.02 kB / 0.6611 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1916, allocations: 4 kB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1916, allocations: 0 / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.1916, allocations: 0 / 0.6611 GB, free: 8.785 MB / 0.4981 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.0004733/0.1921, allocations: 351.3 kB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1921, allocations: 8.031 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.1922, allocations: 34.75 kB / 0.6615 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.1922, allocations: 4.938 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1923, allocations: 168.3 kB / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1924, allocations: 4.359 kB / 0.6617 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1924, allocations: 8.375 kB / 0.6617 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1926, allocations: 46.25 kB / 0.6617 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1926, allocations: 3.938 kB / 0.6617 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1926, allocations: 0 / 0.6617 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1926, allocations: 3.984 kB / 0.6617 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.1928, allocations: 39.91 kB / 0.6618 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.1931, allocations: 248.9 kB / 0.662 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1933, allocations: 42.53 kB / 0.662 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.257e-05/0.1934, allocations: 20.91 kB / 0.6621 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1934, allocations: 0 / 0.6621 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1934, allocations: 34.56 kB / 0.6621 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1934, allocations: 4 kB / 0.6621 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003837/0.1938, allocations: 77.58 kB / 0.6622 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1939, allocations: 55.41 kB / 0.6622 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.194, allocations: 101.8 kB / 0.6623 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.194, allocations: 25.7 kB / 0.6623 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.194, allocations: 84.14 kB / 0.6624 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1941, allocations: 12.02 kB / 0.6624 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.1941, allocations: 17.66 kB / 0.6624 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1942, allocations: 318.8 kB / 0.6627 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.1943, allocations: 11.98 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.1944, allocations: 19.98 kB / 0.6628 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.1946, allocations: 40.89 kB / 0.6628 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1946, allocations: 7.875 kB / 0.6628 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.1948, allocations: 61.66 kB / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1948, allocations: 8 kB / 0.6629 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1948, allocations: 0 / 0.6629 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1949, allocations: 0 / 0.6629 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.195, allocations: 7.984 kB / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.195, allocations: 3.969 kB / 0.6629 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.195, allocations: 15.94 kB / 0.6629 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.195, allocations: 4 kB / 0.6629 GB, free: 6.691 MB / 0.4981 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.256e-05/0.1951, allocations: 109.8 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.1952, allocations: 4 kB / 0.663 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.1954, allocations: 76.7 kB / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1954, allocations: 32 / 0.6631 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1954, allocations: 4 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1954, allocations: 0 / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.1956, allocations: 161.6 kB / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1956, allocations: 0 / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.1957, allocations: 11.98 kB / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1957, allocations: 0 / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1957, allocations: 0 / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1957, allocations: 0 / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1957, allocations: 0 / 0.6633 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.196, allocations: 171.4 kB / 0.6634 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.196, allocations: 77.3 kB / 0.6635 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.196, allocations: 4 kB / 0.6635 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1961, allocations: 3.984 kB / 0.6635 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.1962, allocations: 7.984 kB / 0.6635 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1962, allocations: 4 kB / 0.6635 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.1962, allocations: 87.31 kB / 0.6636 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1963, allocations: 0 / 0.6636 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002395/0.1965, allocations: 15.89 kB / 0.6636 GB, free: 5.863 MB / 0.4981 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.0006238/0.1971, allocations: 0.7085 MB / 0.6643 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1974, allocations: 39.89 kB / 0.6644 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1974, allocations: 0 / 0.6644 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.1975, allocations: 19.98 kB / 0.6644 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1978, allocations: 4 kB / 0.6644 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.1982, allocations: 152.2 kB / 0.6645 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1985, allocations: 0.6729 MB / 0.6652 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.1985, allocations: 0 / 0.6652 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1986, allocations: 15.44 kB / 0.6652 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.1986, allocations: 0 / 0.6652 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.2175, allocations: 1.472 MB / 0.6666 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.067, allocations: 13.56 kB / 0.6666 GB, free: 2.809 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)