Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 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.001747/0.001747, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.765/0.765, allocations: 132.2 MB / 422.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 64.09 kB / 0.5019 GB, free: 8.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1817, allocations: 80.2 MB / 0.5802 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002547/0.1843, allocations: 1.282 MB / 0.5815 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1855, allocations: 0.649 MB / 0.5821 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.1856, allocations: 0 / 0.5821 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.1856, allocations: 0 / 0.5821 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.1857, allocations: 11.92 kB / 0.5821 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.1862, allocations: 111.5 kB / 0.5822 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.407e-05/0.1863, allocations: 23.92 kB / 0.5822 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.1864, allocations: 0 / 0.5822 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.268e-05/0.1864, allocations: 4 kB / 0.5822 GB, free: 6.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.1865, allocations: 23.92 kB / 0.5823 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1865, allocations: 0 / 0.5823 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.1869, allocations: 151.7 kB / 0.5824 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.1869, allocations: 0 / 0.5824 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.1869, allocations: 11.92 kB / 0.5824 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1872, allocations: 96.05 kB / 0.5825 GB, free: 6.223 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1872, allocations: 0 / 0.5825 GB, free: 6.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1872, allocations: 0 / 0.5825 GB, free: 6.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1872, allocations: 0 / 0.5825 GB, free: 6.223 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005102/0.1877, allocations: 363.4 kB / 0.5829 GB, free: 5.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1878, allocations: 8.031 kB / 0.5829 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1878, allocations: 34.73 kB / 0.5829 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/0.1882, allocations: 28.91 kB / 0.5829 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1884, allocations: 160.4 kB / 0.5831 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.1884, allocations: 384 / 0.5831 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1884, allocations: 8.375 kB / 0.5831 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1886, allocations: 62.14 kB / 0.5831 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1886, allocations: 7.938 kB / 0.5832 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1886, allocations: 0 / 0.5832 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1886, allocations: 0 / 0.5832 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1888, allocations: 35.89 kB / 0.5832 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.189, allocations: 161.7 kB / 0.5833 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.1893, allocations: 66.58 kB / 0.5834 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.1894, allocations: 28.88 kB / 0.5834 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1894, allocations: 0 / 0.5834 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1894, allocations: 42.56 kB / 0.5835 GB, free: 5.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1895, allocations: 0 / 0.5835 GB, free: 5.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003416/0.1929, allocations: 0.572 MB / 0.584 GB, free: 4.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1929, allocations: 55.41 kB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.193, allocations: 93.86 kB / 0.5842 GB, free: 4.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.193, allocations: 33.64 kB / 0.5842 GB, free: 4.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.1931, allocations: 80.14 kB / 0.5843 GB, free: 4.148 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.1931, allocations: 23.7 kB / 0.5843 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.1932, allocations: 25.7 kB / 0.5843 GB, free: 4.094 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1933, allocations: 314.8 kB / 0.5846 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.1934, allocations: 40.09 kB / 0.5847 GB, free: 3.738 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1936, allocations: 35.97 kB / 0.5847 GB, free: 3.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.1939, allocations: 84.75 kB / 0.5848 GB, free: 3.617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1939, allocations: 4 kB / 0.5848 GB, free: 3.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003666/0.1942, allocations: 129.5 kB / 0.5849 GB, free: 3.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1943, allocations: 4 kB / 0.5849 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1943, allocations: 0 / 0.5849 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1943, allocations: 0 / 0.5849 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.1945, allocations: 27.97 kB / 0.5849 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1945, allocations: 0 / 0.5849 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1947, allocations: 7.984 kB / 0.5849 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1947, allocations: 4 kB / 0.585 GB, free: 3.438 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 (7): * Single equations (assignments): 7 * 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.672e-05/0.1948, allocations: 114.4 kB / 0.5851 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.1948, allocations: 7.938 kB / 0.5851 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-05/0.1949, allocations: 19.89 kB / 0.5851 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1949, allocations: 0 / 0.5851 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1949, allocations: 4 kB / 0.5851 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.195, allocations: 0 / 0.5851 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1951, allocations: 183.5 kB / 0.5853 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1951, allocations: 0 / 0.5853 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.1954, allocations: 27.91 kB / 0.5853 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1954, allocations: 4 kB / 0.5853 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.1954, allocations: 8 kB / 0.5853 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1954, allocations: 3.984 kB / 0.5853 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1954, allocations: 0 / 0.5853 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005436/0.196, allocations: 189 kB / 0.5855 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.196, allocations: 84.95 kB / 0.5856 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.196, allocations: 4.031 kB / 0.5856 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.1962, allocations: 7.984 kB / 0.5856 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.1963, allocations: 7.938 kB / 0.5856 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1963, allocations: 7.984 kB / 0.5856 GB, free: 2.684 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.698e-05/0.1963, allocations: 83.34 kB / 0.5857 GB, free: 2.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1963, allocations: 0 / 0.5857 GB, free: 2.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1966, allocations: 31.94 kB / 0.5857 GB, free: 2.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0008876/0.1975, allocations: 0.753 MB / 0.5864 GB, free: 1.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.1979, allocations: 95.98 kB / 0.5865 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1979, allocations: 0 / 0.5865 GB, free: 1.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.198, allocations: 47.89 kB / 0.5866 GB, free: 1.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1983, allocations: 8.938 kB / 0.5866 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.2003, allocations: 1.345 MB / 0.5879 GB, free: 212 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.2006, allocations: 0.6806 MB / 0.5886 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.2008, allocations: 28.39 kB / 0.5886 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.2009, allocations: 19.42 kB / 0.5886 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2009, allocations: 0 / 0.5886 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.2215, allocations: 2.44 MB / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.736, allocations: 11.92 kB / 0.591 GB, free: 13.19 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)