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.005382/0.005382, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001463/0.001463, allocations: 194.7 kB / 16.68 MB, free: 5.91 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.571/1.571, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8478/0.8478, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 72.22 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.18, allocations: 80.2 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002734/0.1828, allocations: 1.275 MB / 0.6605 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.184, allocations: 0.6398 MB / 0.6611 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.184, allocations: 3.938 kB / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.1841, allocations: 3.984 kB / 0.6611 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.785e-05/0.1842, allocations: 3.938 kB / 0.6611 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.1847, allocations: 115.5 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.1848, allocations: 23.92 kB / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.1848, allocations: 7.938 kB / 0.6612 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.728e-05/0.1849, allocations: 7.984 kB / 0.6612 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.1849, allocations: 11.98 kB / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.185, allocations: 0 / 0.6613 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.1853, allocations: 143.7 kB / 0.6614 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.1853, allocations: 11.92 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.1854, allocations: 11.98 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1856, allocations: 95.98 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1856, allocations: 4 kB / 0.6615 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1856, allocations: 0 / 0.6615 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1856, allocations: 0 / 0.6615 GB, free: 8.371 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00055/0.1862, allocations: 359.2 kB / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1862, allocations: 12.03 kB / 0.6619 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.1863, allocations: 30.75 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.1867, allocations: 28.91 kB / 0.6619 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1869, allocations: 164.4 kB / 0.6621 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1869, allocations: 4.375 kB / 0.6621 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.1869, allocations: 384 / 0.6621 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1872, allocations: 66.09 kB / 0.6621 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1872, allocations: 3.938 kB / 0.6621 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1872, allocations: 0 / 0.6621 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.1872, allocations: 0 / 0.6621 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.1874, allocations: 31.97 kB / 0.6622 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.1876, allocations: 165.7 kB / 0.6623 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.188, allocations: 62.58 kB / 0.6624 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.1881, allocations: 32.88 kB / 0.6624 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1881, allocations: 11.97 kB / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1882, allocations: 30.56 kB / 0.6625 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.1882, allocations: 0 / 0.6625 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003511/0.1917, allocations: 0.5798 MB / 0.663 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.1917, allocations: 51.41 kB / 0.6631 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.1918, allocations: 97.84 kB / 0.6632 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.1919, allocations: 29.7 kB / 0.6632 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.1919, allocations: 80.14 kB / 0.6633 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.192, allocations: 19.98 kB / 0.6633 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.192, allocations: 29.69 kB / 0.6633 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1922, allocations: 318.8 kB / 0.6636 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.1923, allocations: 35.95 kB / 0.6637 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1925, allocations: 39.97 kB / 0.6637 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.1928, allocations: 84.75 kB / 0.6638 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1928, allocations: 4 kB / 0.6638 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003816/0.1932, allocations: 121.7 kB / 0.6639 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1932, allocations: 12 kB / 0.6639 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1932, allocations: 0 / 0.6639 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1933, allocations: 0 / 0.6639 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.1935, allocations: 23.97 kB / 0.6639 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1935, allocations: 0 / 0.6639 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1937, allocations: 12.05 kB / 0.6639 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1937, allocations: 0 / 0.6639 GB, free: 5.586 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 (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 0.0001105/0.1938, allocations: 126.6 kB / 0.6641 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.1938, allocations: 3.938 kB / 0.6641 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.1939, allocations: 11.97 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1939, allocations: 0 / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1939, allocations: 3.938 kB / 0.6641 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1939, allocations: 4 kB / 0.6641 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.1941, allocations: 183.7 kB / 0.6643 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1941, allocations: 0 / 0.6643 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1944, allocations: 31.91 kB / 0.6643 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1944, allocations: 0 / 0.6643 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1944, allocations: 3.984 kB / 0.6643 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1944, allocations: 0 / 0.6643 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1944, allocations: 0 / 0.6643 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.195, allocations: 200.9 kB / 0.6645 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.1951, allocations: 81.05 kB / 0.6646 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1951, allocations: 7.922 kB / 0.6646 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1953, allocations: 12.09 kB / 0.6646 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.1954, allocations: 7.984 kB / 0.6646 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1954, allocations: 0 / 0.6646 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.1954, allocations: 83.28 kB / 0.6647 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1954, allocations: 0 / 0.6647 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002493/0.1957, allocations: 35.86 kB / 0.6647 GB, free: 4.699 MB / 0.4981 GB 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.0009954/0.1967, allocations: 0.7567 MB / 0.6655 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.1971, allocations: 84 kB / 0.6655 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1971, allocations: 0 / 0.6655 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.1973, allocations: 43.95 kB / 0.6656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1975, allocations: 16.19 kB / 0.6656 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.1998, allocations: 1.347 MB / 0.6669 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.2001, allocations: 0.6822 MB / 0.6676 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.2003, allocations: 36.31 kB / 0.6676 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.2004, allocations: 19.42 kB / 0.6676 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of SimCode: time 2.375e-06/0.2004, allocations: 0 / 0.6676 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.2308, allocations: 2.487 MB / 0.6701 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.326, allocations: 7.688 kB / 0.6701 GB, free: 15.28 MB / 0.5137 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)