Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.004895/0.004895, allocations: 102.7 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.0012/0.0012, allocations: 192.6 kB / 16.67 MB, free: 6.379 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8491/0.8491, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.28 kB / 0.5808 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1863, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003302/0.1896, allocations: 1.395 MB / 0.6605 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1907, allocations: 0.5929 MB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.1908, allocations: 0 / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.1909, allocations: 3.938 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.1909, allocations: 3.938 kB / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.1914, allocations: 107.5 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.1915, allocations: 23.92 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.1916, allocations: 12 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.1916, allocations: 11.92 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.1917, allocations: 4 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1917, allocations: 7.938 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.192, allocations: 151.7 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.192, allocations: 7.984 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.192, allocations: 11.94 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1923, allocations: 94.7 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1923, allocations: 0 / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.387e-06/0.1923, allocations: 0 / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1923, allocations: 3.938 kB / 0.6615 GB, free: 11.59 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.0005051/0.1928, allocations: 360.3 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.1929, allocations: 8.031 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.1929, allocations: 34.69 kB / 0.6619 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.1934, allocations: 32.81 kB / 0.662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1935, allocations: 176.3 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1936, allocations: 384 / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1936, allocations: 384 / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.1938, allocations: 70.14 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1938, allocations: 7.938 kB / 0.6622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1939, allocations: 0 / 0.6622 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1939, allocations: 4 kB / 0.6622 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.1941, allocations: 47.94 kB / 0.6623 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.1946, allocations: 276.9 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1949, allocations: 66.42 kB / 0.6626 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.195, allocations: 32.89 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.195, allocations: 0 / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1951, allocations: 42.55 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1951, allocations: 0 / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005034/0.1956, allocations: 109.5 kB / 0.6628 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.1956, allocations: 55.53 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.1957, allocations: 97.86 kB / 0.6629 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1958, allocations: 29.7 kB / 0.6629 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.1958, allocations: 88.12 kB / 0.663 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.1958, allocations: 7.844 kB / 0.663 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1959, allocations: 13.72 kB / 0.663 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.196, allocations: 314.8 kB / 0.6633 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1962, allocations: 27.97 kB / 0.6634 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1963, allocations: 35.91 kB / 0.6634 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1965, allocations: 52.81 kB / 0.6634 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1966, allocations: 8 kB / 0.6635 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002988/0.1969, allocations: 85.62 kB / 0.6635 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1969, allocations: 4 kB / 0.6635 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1969, allocations: 0 / 0.6635 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1969, allocations: 4 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.1971, allocations: 15.92 kB / 0.6636 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1971, allocations: 4.031 kB / 0.6636 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.21e-05/0.1972, allocations: 7.984 kB / 0.6636 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1972, allocations: 0 / 0.6636 GB, free: 9.273 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 9.8e-05/0.1973, allocations: 117.8 kB / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.1973, allocations: 0 / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1974, allocations: 7.109 kB / 0.6637 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1974, allocations: 4 kB / 0.6637 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1974, allocations: 4 kB / 0.6637 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1974, allocations: 0 / 0.6637 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1976, allocations: 169.5 kB / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1976, allocations: 0 / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1977, allocations: 11.98 kB / 0.6639 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1977, allocations: 0 / 0.6639 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1977, allocations: 7.984 kB / 0.6639 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1978, allocations: 0 / 0.6639 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1978, allocations: 0 / 0.6639 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.1981, allocations: 187.6 kB / 0.6641 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.1982, allocations: 85 kB / 0.6641 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1982, allocations: 7.984 kB / 0.6641 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1983, allocations: 12.02 kB / 0.6642 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.1984, allocations: 0 / 0.6642 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.1984, allocations: 0 / 0.6642 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.1984, allocations: 79.28 kB / 0.6642 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.1984, allocations: 0 / 0.6642 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002714/0.1987, allocations: 19.98 kB / 0.6642 GB, free: 8.477 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.000713/0.1994, allocations: 0.7299 MB / 0.665 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.1997, allocations: 67.84 kB / 0.665 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1997, allocations: 0 / 0.665 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1999, allocations: 27.97 kB / 0.6651 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2002, allocations: 9.703 kB / 0.6651 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.2008, allocations: 164.4 kB / 0.6652 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.2012, allocations: 0.6729 MB / 0.6659 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.604e-05/0.2012, allocations: 8 kB / 0.6659 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.2013, allocations: 19.03 kB / 0.6659 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2013, allocations: 0 / 0.6659 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.2209, allocations: 1.67 MB / 0.6675 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.735, allocations: 8.109 kB / 0.6675 GB, free: 5.156 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)