Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.005363/0.005363, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001531/0.001532, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8531/0.8531, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 63.84 kB / 0.5858 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1822, allocations: 81.02 MB / 0.6649 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002631/0.1849, allocations: 1.249 MB / 0.6661 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005347/0.1855, allocations: 231.6 kB / 0.6663 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.1855, allocations: 8 kB / 0.6663 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.1856, allocations: 3.938 kB / 0.6663 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.694e-05/0.1856, allocations: 3.984 kB / 0.6663 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.186, allocations: 39.83 kB / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.186, allocations: 23.91 kB / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.1861, allocations: 0 / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.1861, allocations: 11.94 kB / 0.6664 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.1862, allocations: 7.984 kB / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1862, allocations: 4 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1864, allocations: 47.95 kB / 0.6665 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.1864, allocations: 3.984 kB / 0.6665 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.1864, allocations: 15.88 kB / 0.6665 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1866, allocations: 32.19 kB / 0.6665 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1866, allocations: 0 / 0.6665 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.406e-06/0.1866, allocations: 7.984 kB / 0.6665 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1866, allocations: 0 / 0.6665 GB, free: 3.902 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004652/0.1871, allocations: 331.5 kB / 0.6668 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1872, allocations: 13.7 kB / 0.6669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.1872, allocations: 34.75 kB / 0.6669 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.1874, allocations: 16.86 kB / 0.6669 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1875, allocations: 160.4 kB / 0.6671 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1875, allocations: 4.375 kB / 0.6671 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1876, allocations: 4.328 kB / 0.6671 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1877, allocations: 46.19 kB / 0.6671 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1877, allocations: 3.938 kB / 0.6671 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1877, allocations: 4 kB / 0.6671 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1877, allocations: 8 kB / 0.6671 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.457e-05/0.1878, allocations: 15.98 kB / 0.6671 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.188, allocations: 161.6 kB / 0.6673 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1881, allocations: 42.62 kB / 0.6673 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.1882, allocations: 20.98 kB / 0.6674 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1882, allocations: 3.938 kB / 0.6674 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1882, allocations: 38.56 kB / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1882, allocations: 0 / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002154/0.1904, allocations: 498.3 kB / 0.6679 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1905, allocations: 59.41 kB / 0.6679 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/0.1906, allocations: 89.86 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1906, allocations: 25.7 kB / 0.668 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.1907, allocations: 80.14 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.1908, allocations: 31.73 kB / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.1908, allocations: 17.72 kB / 0.6682 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.191, allocations: 318.8 kB / 0.6685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.191, allocations: 19.98 kB / 0.6685 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.1911, allocations: 31.92 kB / 0.6685 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1912, allocations: 60.98 kB / 0.6686 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1912, allocations: 0 / 0.6686 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001641/0.1914, allocations: 97.56 kB / 0.6687 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1914, allocations: 4 kB / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1914, allocations: 0 / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1915, allocations: 0 / 0.6687 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1916, allocations: 15.98 kB / 0.6687 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1916, allocations: 0 / 0.6687 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.1917, allocations: 4 kB / 0.6687 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1917, allocations: 4 kB / 0.6687 GB, free: 1.402 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 (9): * Single equations (assignments): 9 * 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.0001099/0.1918, allocations: 117.8 kB / 0.6688 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.1919, allocations: 7.891 kB / 0.6688 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.1919, allocations: 15.97 kB / 0.6688 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1919, allocations: 4 kB / 0.6688 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1919, allocations: 3.938 kB / 0.6688 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.192, allocations: 7.969 kB / 0.6688 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1921, allocations: 171.3 kB / 0.669 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1921, allocations: 0 / 0.669 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.1923, allocations: 23.92 kB / 0.669 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1923, allocations: 0 / 0.669 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1923, allocations: 8 kB / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1923, allocations: 0 / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1923, allocations: 0 / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.1926, allocations: 137.1 kB / 0.6692 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.1927, allocations: 85 kB / 0.6692 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1927, allocations: 7.969 kB / 0.6693 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1928, allocations: 12.05 kB / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.1928, allocations: 0 / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.1928, allocations: 8 kB / 0.6693 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.1929, allocations: 75.38 kB / 0.6693 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1929, allocations: 3.938 kB / 0.6693 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001884/0.1931, allocations: 8 kB / 0.6694 GB, free: 0.6211 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 (8): * Single equations (assignments): 8 * 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.000628/0.1937, allocations: 0.6906 MB / 0.67 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1939, allocations: 55.92 kB / 0.6701 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1939, allocations: 0 / 0.6701 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.194, allocations: 39.92 kB / 0.6701 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.1942, allocations: 4.25 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1959, allocations: 1.281 MB / 0.6714 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1963, allocations: 0.6768 MB / 0.672 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.853e-05/0.1964, allocations: 12.38 kB / 0.672 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.1965, allocations: 11.44 kB / 0.6721 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1965, allocations: 0 / 0.6721 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.2221, allocations: 1.651 MB / 0.6737 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.145, allocations: 8.438 kB / 0.6737 GB, free: 12.25 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)