Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_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.0009781/0.0009781, allocations: 108 kB / 15.61 MB, free: 152 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.001034/0.001034, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9769/0.9769, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 72.22 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1904, allocations: 80.92 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002923/0.1934, allocations: 1.271 MB / 0.5857 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1945, allocations: 0.5749 MB / 0.5863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.1945, allocations: 0 / 0.5863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.1946, allocations: 3.938 kB / 0.5863 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.1946, allocations: 11.92 kB / 0.5863 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.1951, allocations: 91.56 kB / 0.5864 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.1952, allocations: 19.88 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.1952, allocations: 4 kB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.1953, allocations: 11.98 kB / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.1953, allocations: 3.938 kB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1954, allocations: 4 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.1957, allocations: 143.8 kB / 0.5866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1957, allocations: 0 / 0.5866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1957, allocations: 11.94 kB / 0.5866 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.1959, allocations: 88.06 kB / 0.5867 GB, free: 2.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1959, allocations: 0 / 0.5867 GB, free: 2.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1959, allocations: 0 / 0.5867 GB, free: 2.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1959, allocations: 0 / 0.5867 GB, free: 2.203 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004311/0.1964, allocations: 355.4 kB / 0.587 GB, free: 1.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1964, allocations: 8.031 kB / 0.587 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.1965, allocations: 34.73 kB / 0.587 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/0.1969, allocations: 24.91 kB / 0.5871 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.197, allocations: 168.4 kB / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1971, allocations: 384 / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1971, allocations: 384 / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1972, allocations: 54.22 kB / 0.5873 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1973, allocations: 3.938 kB / 0.5873 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1973, allocations: 0 / 0.5873 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1973, allocations: 0 / 0.5873 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1974, allocations: 27.91 kB / 0.5873 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.1976, allocations: 157.7 kB / 0.5875 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1978, allocations: 50.53 kB / 0.5875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.1979, allocations: 12.91 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1979, allocations: 4 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1979, allocations: 34.56 kB / 0.5875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1979, allocations: 4 kB / 0.5876 GB, free: 1.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003166/0.1982, allocations: 77.53 kB / 0.5876 GB, free: 1.027 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1983, allocations: 51.41 kB / 0.5877 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.1984, allocations: 97.84 kB / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1984, allocations: 25.7 kB / 0.5878 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.1984, allocations: 84.27 kB / 0.5879 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1984, allocations: 7.906 kB / 0.5879 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.1985, allocations: 17.7 kB / 0.5879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.1986, allocations: 314.8 kB / 0.5882 GB, free: 404 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.1987, allocations: 15.98 kB / 0.5882 GB, free: 388 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.1987, allocations: 7.984 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1989, allocations: 36.91 kB / 0.5883 GB, free: 340 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1989, allocations: 0 / 0.5883 GB, free: 340 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.1991, allocations: 61.7 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1991, allocations: 11.94 kB / 0.5883 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1991, allocations: 0 / 0.5883 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1991, allocations: 3.984 kB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1992, allocations: 19.95 kB / 0.5883 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1992, allocations: 0 / 0.5883 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.1993, allocations: 7.938 kB / 0.5884 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1993, allocations: 3.984 kB / 0.5884 GB, free: 224 kB / 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 9.803e-05/0.1994, allocations: 109.8 kB / 0.5885 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.1995, allocations: 7.938 kB / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.1995, allocations: 7.125 kB / 0.5885 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1995, allocations: 0 / 0.5885 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1995, allocations: 0 / 0.5885 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1995, allocations: 0 / 0.5885 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.1997, allocations: 153.7 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1997, allocations: 0 / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.1998, allocations: 11.98 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1998, allocations: 3.938 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.1998, allocations: 3.984 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1998, allocations: 3.938 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1998, allocations: 0 / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.2001, allocations: 85.11 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.2001, allocations: 81.09 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2002, allocations: 3.938 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.2002, allocations: 4 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.2003, allocations: 7.969 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2003, allocations: 3.984 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.2003, allocations: 83.28 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2003, allocations: 0 / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002086/0.2005, allocations: 16 kB / 0.5889 GB, free: 15.55 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.0005843/0.2011, allocations: 0.6357 MB / 0.5895 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2014, allocations: 27.97 kB / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2014, allocations: 0 / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.2015, allocations: 16.08 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.2017, allocations: 12.05 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.2023, allocations: 152.1 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.2026, allocations: 0.6767 MB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.5e-05/0.2027, allocations: 11.98 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.2027, allocations: 15.42 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.2027, allocations: 0 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/0.2412, allocations: 1.535 MB / 0.5919 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.113, allocations: 15.22 kB / 0.5919 GB, free: 12.49 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)