Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.007917/0.007917, allocations: 95.58 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.001769/0.00177, allocations: 204.2 kB / 16.68 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8148/0.8148, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.12 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1856, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002391/0.1881, allocations: 1.27 MB / 0.6604 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1891, allocations: 0.5758 MB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.1892, allocations: 0 / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.1892, allocations: 7.922 kB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-05/0.1893, allocations: 7.938 kB / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.1897, allocations: 91.58 kB / 0.6611 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.1897, allocations: 23.84 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.1898, allocations: 4 kB / 0.6611 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.453e-05/0.1898, allocations: 7.938 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.1899, allocations: 11.98 kB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1899, allocations: 0 / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.1902, allocations: 135.8 kB / 0.6613 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.1902, allocations: 11.97 kB / 0.6613 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.1902, allocations: 7.938 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1905, allocations: 96 kB / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1905, allocations: 0 / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1905, allocations: 0 / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1905, allocations: 0 / 0.6614 GB, free: 11.79 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004387/0.1909, allocations: 343.2 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.191, allocations: 12.03 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.191, allocations: 34.69 kB / 0.6618 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.1914, allocations: 36.89 kB / 0.6618 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1916, allocations: 160.4 kB / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1916, allocations: 384 / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1916, allocations: 384 / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1918, allocations: 50.22 kB / 0.662 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1918, allocations: 7.922 kB / 0.662 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1918, allocations: 4 kB / 0.662 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1918, allocations: 4 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.192, allocations: 19.98 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.1922, allocations: 157.7 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1924, allocations: 38.5 kB / 0.6622 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.1925, allocations: 24.91 kB / 0.6622 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1925, allocations: 0 / 0.6622 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.1925, allocations: 38.5 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1925, allocations: 0 / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003483/0.1929, allocations: 85.58 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1929, allocations: 51.41 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/0.193, allocations: 97.84 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.1932, allocations: 25.7 kB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.1932, allocations: 84.14 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.1933, allocations: 7.953 kB / 0.6626 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.1933, allocations: 17.64 kB / 0.6626 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1935, allocations: 314.8 kB / 0.6629 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.88e-05/0.1935, allocations: 16.02 kB / 0.6629 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.1936, allocations: 12 kB / 0.663 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1937, allocations: 28.83 kB / 0.663 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1938, allocations: 0 / 0.663 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/0.1939, allocations: 65.67 kB / 0.663 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.194, allocations: 7.938 kB / 0.6631 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.194, allocations: 0 / 0.6631 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.194, allocations: 0 / 0.6631 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1941, allocations: 7.984 kB / 0.6631 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1941, allocations: 4 kB / 0.6631 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.1942, allocations: 4 kB / 0.6631 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.1942, allocations: 0 / 0.6631 GB, free: 9.824 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.747e-05/0.1943, allocations: 118.5 kB / 0.6632 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1943, allocations: 3.938 kB / 0.6632 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.1944, allocations: 3.125 kB / 0.6632 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1944, allocations: 0 / 0.6632 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1944, allocations: 4 kB / 0.6632 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1944, allocations: 0 / 0.6632 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1945, allocations: 157.6 kB / 0.6633 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1945, allocations: 4 kB / 0.6633 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.461e-05/0.1946, allocations: 7.984 kB / 0.6634 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1946, allocations: 3.938 kB / 0.6634 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1946, allocations: 0 / 0.6634 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1946, allocations: 0 / 0.6634 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1947, allocations: 4 kB / 0.6634 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.1949, allocations: 89.03 kB / 0.6634 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.195, allocations: 96.98 kB / 0.6635 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.195, allocations: 3.938 kB / 0.6635 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.712e-05/0.1951, allocations: 0 / 0.6635 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.1951, allocations: 4 kB / 0.6635 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1951, allocations: 0 / 0.6635 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.903e-05/0.1952, allocations: 79.27 kB / 0.6636 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.306e-06/0.1952, allocations: 7.938 kB / 0.6636 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001976/0.1954, allocations: 11.94 kB / 0.6636 GB, free: 9.137 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.0006552/0.196, allocations: 0.64 MB / 0.6643 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.1963, allocations: 36 kB / 0.6643 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1963, allocations: 0 / 0.6643 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.1963, allocations: 11.98 kB / 0.6643 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.1966, allocations: 12 kB / 0.6643 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.1971, allocations: 152.2 kB / 0.6645 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1975, allocations: 0.6768 MB / 0.6651 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.718e-05/0.1976, allocations: 11.98 kB / 0.6651 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.1976, allocations: 15.42 kB / 0.6652 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1976, allocations: 0 / 0.6652 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.2216, allocations: 1.561 MB / 0.6667 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.272, allocations: 4.594 kB / 0.6667 GB, free: 6.078 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)