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.005737/0.005737, allocations: 102.8 kB / 15.74 MB, free: 6.043 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.001324/0.001324, allocations: 202.6 kB / 16.68 MB, free: 5.965 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8065/0.8065, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.12 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1886, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.00292/0.1916, allocations: 1.413 MB / 0.6606 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005666/0.1922, allocations: 287 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.1922, allocations: 0 / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.1922, allocations: 0 / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.684e-05/0.1923, allocations: 7.922 kB / 0.6608 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1926, allocations: 59.75 kB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.1926, allocations: 23.92 kB / 0.6609 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.752e-05/0.1927, allocations: 4 kB / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.1928, allocations: 7.984 kB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.1928, allocations: 15.92 kB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1929, allocations: 4 kB / 0.661 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.1931, allocations: 99.77 kB / 0.661 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.1931, allocations: 4 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.1931, allocations: 7.938 kB / 0.6611 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1933, allocations: 68.02 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1933, allocations: 4 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1933, allocations: 0 / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.1933, allocations: 0 / 0.6611 GB, free: 12.02 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.0005333/0.1939, allocations: 351.3 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1939, allocations: 12.03 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.311e-05/0.194, allocations: 30.75 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.048e-05/0.194, allocations: 0.9375 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1941, allocations: 172.3 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1942, allocations: 4.375 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1942, allocations: 384 / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1944, allocations: 50.23 kB / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1944, allocations: 3.938 kB / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1944, allocations: 0 / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1944, allocations: 0 / 0.6617 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.1946, allocations: 35.95 kB / 0.6618 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.195, allocations: 249 kB / 0.662 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1952, allocations: 42.42 kB / 0.662 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.248e-05/0.1953, allocations: 24.91 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1953, allocations: 3.938 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1953, allocations: 30.56 kB / 0.6621 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.1953, allocations: 4 kB / 0.6621 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003864/0.1957, allocations: 85.58 kB / 0.6622 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1958, allocations: 51.41 kB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.732e-05/0.1959, allocations: 101.8 kB / 0.6623 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.1959, allocations: 25.7 kB / 0.6623 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.196, allocations: 88.08 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.196, allocations: 12.02 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1961, allocations: 13.72 kB / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1963, allocations: 314.8 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.1963, allocations: 15.97 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1965, allocations: 15.98 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1966, allocations: 40.89 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1967, allocations: 3.938 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.1969, allocations: 69.59 kB / 0.6629 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1969, allocations: 4 kB / 0.6629 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1969, allocations: 0 / 0.6629 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1969, allocations: 0 / 0.6629 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.197, allocations: 15.98 kB / 0.6629 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.197, allocations: 4.031 kB / 0.6629 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.1971, allocations: 7.953 kB / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1971, allocations: 3.984 kB / 0.6629 GB, free: 9.93 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 0.000105/0.1972, allocations: 113.8 kB / 0.663 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.1972, allocations: 4 kB / 0.663 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.1975, allocations: 68.97 kB / 0.6631 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1975, allocations: 4.031 kB / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.1975, allocations: 3.984 kB / 0.6631 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1975, allocations: 7.938 kB / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1977, allocations: 161.6 kB / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1978, allocations: 0 / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1978, allocations: 4 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1978, allocations: 0 / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1978, allocations: 4 kB / 0.6633 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1978, allocations: 0 / 0.6633 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1979, allocations: 3.984 kB / 0.6633 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1981, allocations: 159.5 kB / 0.6634 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.1982, allocations: 81.09 kB / 0.6635 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1982, allocations: 4 kB / 0.6635 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1983, allocations: 4 kB / 0.6635 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.1983, allocations: 3.984 kB / 0.6635 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1983, allocations: 4 kB / 0.6635 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.1984, allocations: 83.25 kB / 0.6636 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1984, allocations: 3.938 kB / 0.6636 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002459/0.1987, allocations: 19.89 kB / 0.6636 GB, free: 9.102 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.0007272/0.1994, allocations: 0.7046 MB / 0.6643 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.1996, allocations: 39.97 kB / 0.6644 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1997, allocations: 0 / 0.6644 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.1998, allocations: 23.91 kB / 0.6644 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2001, allocations: 0 / 0.6644 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.2005, allocations: 152.3 kB / 0.6645 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.2009, allocations: 0.6768 MB / 0.6652 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.607e-05/0.2009, allocations: 4 kB / 0.6652 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.201, allocations: 7.438 kB / 0.6652 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.201, allocations: 0 / 0.6652 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.2245, allocations: 1.473 MB / 0.6666 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.172, allocations: 1.359 kB / 0.6666 GB, free: 6.066 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)