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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001242/0.001242, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7555/0.7555, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 60.36 kB / 0.5012 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1899, allocations: 80.2 MB / 0.5795 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003199/0.1931, allocations: 1.468 MB / 0.5809 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1944, allocations: 0.6045 MB / 0.5815 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.1944, allocations: 4 kB / 0.5815 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.1945, allocations: 3.984 kB / 0.5815 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.654e-05/0.1946, allocations: 11.92 kB / 0.5815 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.1951, allocations: 79.7 kB / 0.5816 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.72e-05/0.1952, allocations: 23.88 kB / 0.5816 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.1953, allocations: 4 kB / 0.5816 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.1953, allocations: 11.92 kB / 0.5816 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.1954, allocations: 11.98 kB / 0.5817 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1954, allocations: 0 / 0.5817 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.1958, allocations: 159.7 kB / 0.5818 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.1958, allocations: 3.938 kB / 0.5818 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.1958, allocations: 11.94 kB / 0.5818 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1961, allocations: 100.1 kB / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1961, allocations: 0 / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1961, allocations: 0 / 0.5819 GB, free: 6.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1961, allocations: 0 / 0.5819 GB, free: 6.617 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.0005757/0.1967, allocations: 360.6 kB / 0.5823 GB, free: 6.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.1968, allocations: 12.03 kB / 0.5823 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.1968, allocations: 34.75 kB / 0.5823 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004646/0.1973, allocations: 28.89 kB / 0.5823 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1974, allocations: 168.3 kB / 0.5825 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1975, allocations: 4.312 kB / 0.5825 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1975, allocations: 384 / 0.5825 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.1977, allocations: 66.2 kB / 0.5826 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1978, allocations: 3.938 kB / 0.5826 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1978, allocations: 4 kB / 0.5826 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.1978, allocations: 4 kB / 0.5826 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.1981, allocations: 43.94 kB / 0.5826 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.1986, allocations: 284.8 kB / 0.5829 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1988, allocations: 66.41 kB / 0.583 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.199, allocations: 32.89 kB / 0.583 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.199, allocations: 0 / 0.583 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.199, allocations: 38.56 kB / 0.583 GB, free: 5.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.199, allocations: 0 / 0.583 GB, free: 5.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005104/0.1995, allocations: 109.7 kB / 0.5831 GB, free: 5.203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1996, allocations: 55.34 kB / 0.5832 GB, free: 5.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.1997, allocations: 101.8 kB / 0.5833 GB, free: 5.027 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1997, allocations: 29.7 kB / 0.5833 GB, free: 4.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.1998, allocations: 80.14 kB / 0.5834 GB, free: 4.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.1998, allocations: 3.906 kB / 0.5834 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.1999, allocations: 21.7 kB / 0.5834 GB, free: 4.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2, allocations: 318.8 kB / 0.5837 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.2001, allocations: 27.97 kB / 0.5837 GB, free: 4.531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.2003, allocations: 23.97 kB / 0.5838 GB, free: 4.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.2005, allocations: 60.86 kB / 0.5838 GB, free: 4.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2005, allocations: 3.938 kB / 0.5838 GB, free: 4.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002954/0.2008, allocations: 89.58 kB / 0.5839 GB, free: 4.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2008, allocations: 4 kB / 0.5839 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2009, allocations: 3.938 kB / 0.5839 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2009, allocations: 8.031 kB / 0.5839 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.201, allocations: 19.97 kB / 0.5839 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.201, allocations: 0 / 0.5839 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.114e-05/0.2011, allocations: 7.984 kB / 0.5839 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.2012, allocations: 0 / 0.5839 GB, free: 4.305 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 9.315e-05/0.2012, allocations: 113.8 kB / 0.5841 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.2013, allocations: 3.906 kB / 0.5841 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.2013, allocations: 11.12 kB / 0.5841 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2013, allocations: 0 / 0.5841 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2014, allocations: 4 kB / 0.5841 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2014, allocations: 192 / 0.5841 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.2016, allocations: 165.6 kB / 0.5842 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2016, allocations: 3.984 kB / 0.5842 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2017, allocations: 11.98 kB / 0.5842 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2017, allocations: 0 / 0.5842 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2017, allocations: 8 kB / 0.5843 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2017, allocations: 0 / 0.5843 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.2017, allocations: 0 / 0.5843 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.2021, allocations: 187.4 kB / 0.5844 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.2021, allocations: 81.14 kB / 0.5845 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2022, allocations: 4 kB / 0.5845 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2023, allocations: 7.984 kB / 0.5845 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.2023, allocations: 4 kB / 0.5845 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2024, allocations: 7.984 kB / 0.5845 GB, free: 3.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.779e-05/0.2024, allocations: 75.28 kB / 0.5846 GB, free: 3.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2024, allocations: 0 / 0.5846 GB, free: 3.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.2027, allocations: 16 kB / 0.5846 GB, free: 3.516 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.0006983/0.2034, allocations: 0.7279 MB / 0.5853 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.2037, allocations: 63.91 kB / 0.5854 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2037, allocations: 4 kB / 0.5854 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.2038, allocations: 31.97 kB / 0.5854 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.2041, allocations: 3.938 kB / 0.5854 GB, free: 2.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.2047, allocations: 184.8 kB / 0.5856 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.205, allocations: 0.677 MB / 0.5863 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.396e-05/0.2051, allocations: 8 kB / 0.5863 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.2052, allocations: 19.36 kB / 0.5863 GB, free: 1.715 MB / 494.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2052, allocations: 0 / 0.5863 GB, free: 1.715 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.2181, allocations: 1.452 MB / 0.5877 GB, free: 420 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.2184, allocations: 199.5 kB / 0.5879 GB, free: 160 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/1.99, allocations: 0 / 0.5879 GB, free: 160 kB / 494.1 MB (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)