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.001683/0.001683, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.512/1.512, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.813/0.813, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 64.03 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1851, allocations: 80.2 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.004164/0.1893, allocations: 1.408 MB / 0.5816 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.1902, allocations: 288.8 kB / 0.5818 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.1903, allocations: 0 / 0.5818 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.1904, allocations: 0 / 0.5818 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.1905, allocations: 3.938 kB / 0.5818 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.191, allocations: 63.67 kB / 0.5819 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.1911, allocations: 19.94 kB / 0.5819 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1912, allocations: 11.98 kB / 0.5819 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.1913, allocations: 7.938 kB / 0.5819 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.47e-05/0.1914, allocations: 11.98 kB / 0.582 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1914, allocations: 4 kB / 0.582 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.1918, allocations: 99.77 kB / 0.5821 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.1918, allocations: 7.938 kB / 0.5821 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.1918, allocations: 11.94 kB / 0.5821 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1921, allocations: 56.14 kB / 0.5821 GB, free: 6.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1921, allocations: 0 / 0.5821 GB, free: 6.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1921, allocations: 0 / 0.5821 GB, free: 6.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1921, allocations: 4 kB / 0.5821 GB, free: 6.695 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.0006155/0.1928, allocations: 355.4 kB / 0.5825 GB, free: 6.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.1928, allocations: 12.03 kB / 0.5825 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.1929, allocations: 30.75 kB / 0.5825 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.1929, allocations: 0.9375 kB / 0.5825 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1931, allocations: 164.4 kB / 0.5827 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1931, allocations: 384 / 0.5827 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1932, allocations: 8.312 kB / 0.5827 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.1934, allocations: 58.16 kB / 0.5827 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1935, allocations: 3.938 kB / 0.5827 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1935, allocations: 4 kB / 0.5827 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1935, allocations: 0 / 0.5827 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.1938, allocations: 35.95 kB / 0.5828 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.1943, allocations: 244.9 kB / 0.583 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.1945, allocations: 46.48 kB / 0.583 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.1947, allocations: 24.84 kB / 0.5831 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1947, allocations: 0 / 0.5831 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1948, allocations: 30.56 kB / 0.5831 GB, free: 5.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.1948, allocations: 0 / 0.5831 GB, free: 5.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006033/0.1954, allocations: 85.64 kB / 0.5832 GB, free: 5.434 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1955, allocations: 51.41 kB / 0.5832 GB, free: 5.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1956, allocations: 101.8 kB / 0.5833 GB, free: 5.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1956, allocations: 25.7 kB / 0.5834 GB, free: 5.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.1957, allocations: 84.14 kB / 0.5834 GB, free: 5.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1958, allocations: 7.906 kB / 0.5834 GB, free: 5.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.1958, allocations: 13.84 kB / 0.5835 GB, free: 5.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002702/0.1961, allocations: 314.8 kB / 0.5838 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1963, allocations: 23.91 kB / 0.5838 GB, free: 4.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1964, allocations: 11.98 kB / 0.5838 GB, free: 4.766 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.1967, allocations: 36.83 kB / 0.5838 GB, free: 4.727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1967, allocations: 11.94 kB / 0.5838 GB, free: 4.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003612/0.1971, allocations: 69.66 kB / 0.5839 GB, free: 4.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1972, allocations: 4 kB / 0.5839 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1972, allocations: 0 / 0.5839 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1972, allocations: 0 / 0.5839 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1974, allocations: 11.98 kB / 0.5839 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1974, allocations: 0 / 0.5839 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.628e-05/0.1975, allocations: 7.969 kB / 0.5839 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1975, allocations: 7.984 kB / 0.5839 GB, free: 4.609 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 0.000108/0.1976, allocations: 109.8 kB / 0.584 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.1977, allocations: 4 kB / 0.584 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/0.1981, allocations: 68.78 kB / 0.5841 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1981, allocations: 0 / 0.5841 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1981, allocations: 3.938 kB / 0.5841 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.381e-06/0.1982, allocations: 8.031 kB / 0.5841 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.1984, allocations: 165.5 kB / 0.5843 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.1984, allocations: 4 kB / 0.5843 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.1986, allocations: 4 kB / 0.5843 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1986, allocations: 0 / 0.5843 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1986, allocations: 0 / 0.5843 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1986, allocations: 4 kB / 0.5843 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.1986, allocations: 3.984 kB / 0.5843 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.1991, allocations: 167.4 kB / 0.5845 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.1991, allocations: 85.03 kB / 0.5845 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1992, allocations: 0 / 0.5845 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.1992, allocations: 4 kB / 0.5845 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1993, allocations: 3.984 kB / 0.5845 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.1993, allocations: 0 / 0.5845 GB, free: 3.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.1993, allocations: 83.47 kB / 0.5846 GB, free: 3.801 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1994, allocations: 4.031 kB / 0.5846 GB, free: 3.797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1996, allocations: 12 kB / 0.5846 GB, free: 3.785 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 (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.0006197/0.2002, allocations: 0.7045 MB / 0.5853 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.2005, allocations: 40 kB / 0.5854 GB, free: 3.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2005, allocations: 0 / 0.5854 GB, free: 3.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.2006, allocations: 19.97 kB / 0.5854 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2009, allocations: 6.328 kB / 0.5854 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.2014, allocations: 160.2 kB / 0.5855 GB, free: 2.797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2017, allocations: 0.6768 MB / 0.5862 GB, free: 2.094 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.2e-05/0.2017, allocations: 3.938 kB / 0.5862 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.2017, allocations: 7.438 kB / 0.5862 GB, free: 2.082 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2017, allocations: 0 / 0.5862 GB, free: 2.082 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.2213, allocations: 1.455 MB / 0.5876 GB, free: 0.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.529, allocations: 4.656 kB / 0.5876 GB, free: 0.7461 MB / 494.1 MB (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)