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.001701/0.001701, 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.002007/0.002007, allocations: 192.2 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9619/0.9619, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 64.33 kB / 0.5055 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1865, allocations: 80.92 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002225/0.1888, allocations: 1.245 MB / 0.5857 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004436/0.1892, allocations: 239.3 kB / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.1893, allocations: 3.938 kB / 0.5859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.1893, allocations: 3.938 kB / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.1893, allocations: 0 / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.1896, allocations: 35.83 kB / 0.586 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.1897, allocations: 23.92 kB / 0.586 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.1897, allocations: 4 kB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.1897, allocations: 4 kB / 0.586 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.1898, allocations: 19.91 kB / 0.586 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1898, allocations: 0 / 0.586 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1899, allocations: 47.95 kB / 0.5861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.1899, allocations: 0 / 0.5861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.19, allocations: 8 kB / 0.5861 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.1901, allocations: 40.16 kB / 0.5861 GB, free: 2.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.1901, allocations: 4 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1901, allocations: 0 / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1901, allocations: 4 kB / 0.5861 GB, free: 2.742 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003655/0.1905, allocations: 335.5 kB / 0.5864 GB, free: 2.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1905, allocations: 8.031 kB / 0.5864 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.1906, allocations: 34.75 kB / 0.5865 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.1907, allocations: 12.83 kB / 0.5865 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1908, allocations: 164.3 kB / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1908, allocations: 8.375 kB / 0.5867 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1908, allocations: 4.375 kB / 0.5867 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.191, allocations: 42.25 kB / 0.5867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.191, allocations: 3.938 kB / 0.5867 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.191, allocations: 0 / 0.5867 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.191, allocations: 7.984 kB / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.191, allocations: 12 kB / 0.5867 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.1912, allocations: 157.7 kB / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.1913, allocations: 54.5 kB / 0.5869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.1914, allocations: 20.98 kB / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1914, allocations: 0 / 0.5869 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1915, allocations: 38.56 kB / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1915, allocations: 0 / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.00204/0.1935, allocations: 0.4941 MB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.1935, allocations: 59.41 kB / 0.5875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.678e-05/0.1936, allocations: 89.86 kB / 0.5876 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1936, allocations: 25.7 kB / 0.5876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.1936, allocations: 80.14 kB / 0.5877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.1937, allocations: 35.55 kB / 0.5877 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1937, allocations: 17.72 kB / 0.5878 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.1938, allocations: 322.8 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.1939, allocations: 23.92 kB / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.1939, allocations: 23.98 kB / 0.5881 GB, free: 436 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.768e-05/0.194, allocations: 56.86 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.194, allocations: 0 / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001517/0.1942, allocations: 97.56 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1942, allocations: 4 kB / 0.5883 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1942, allocations: 4 kB / 0.5883 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1943, allocations: 0 / 0.5883 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1944, allocations: 15.98 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1944, allocations: 0 / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/0.1945, allocations: 4 kB / 0.5883 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1945, allocations: 0 / 0.5883 GB, free: 244 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 (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 7.409e-05/0.1946, allocations: 117.8 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.1946, allocations: 3.938 kB / 0.5884 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.1947, allocations: 11.97 kB / 0.5884 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1947, allocations: 8 kB / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1947, allocations: 0 / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1947, allocations: 3.984 kB / 0.5884 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1948, allocations: 167.5 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1948, allocations: 0 / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.195, allocations: 20.2 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.195, allocations: 3.938 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.195, allocations: 4 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1951, allocations: 4.375 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1951, allocations: 0 / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1953, allocations: 152.9 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.1954, allocations: 85.05 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1954, allocations: 12.02 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1955, allocations: 4 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.1956, allocations: 0 / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1956, allocations: 4 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.625e-05/0.1956, allocations: 76.94 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1956, allocations: 4.062 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001962/0.1958, allocations: 12 kB / 0.589 GB, free: 15.46 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.0004768/0.1963, allocations: 0.6945 MB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1965, allocations: 55.97 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1965, allocations: 0 / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.811e-05/0.1965, allocations: 43.98 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1968, allocations: 7.984 kB / 0.5897 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.1981, allocations: 1.271 MB / 0.591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.1984, allocations: 0.6807 MB / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.464e-05/0.1985, allocations: 4 kB / 0.5916 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.1985, allocations: 19.44 kB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.1986, allocations: 0 / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.218, allocations: 1.613 MB / 0.5932 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.58, allocations: 6.672 kB / 0.5932 GB, free: 11.12 MB / 0.4981 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)