Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Examples.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001147/0.001147, allocations: 108 kB / 15.61 MB, free: 152 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.001771/0.001771, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.1 MB / 425.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 65.06 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1854, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002495/0.1879, allocations: 1.27 MB / 0.5857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1891, allocations: 0.7763 MB / 0.5865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.1892, allocations: 0 / 0.5865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.1892, allocations: 3.938 kB / 0.5865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.708e-05/0.1893, allocations: 0 / 0.5865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.1898, allocations: 179.2 kB / 0.5866 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.1899, allocations: 15.94 kB / 0.5867 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.1899, allocations: 3.984 kB / 0.5867 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.19, allocations: 15.92 kB / 0.5867 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.19, allocations: 4 kB / 0.5867 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1901, allocations: 4 kB / 0.5867 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.1905, allocations: 283.5 kB / 0.587 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.1906, allocations: 11.94 kB / 0.587 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.1906, allocations: 11.98 kB / 0.587 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.1909, allocations: 172 kB / 0.5871 GB, free: 1.719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1909, allocations: 4 kB / 0.5872 GB, free: 1.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1909, allocations: 0 / 0.5872 GB, free: 1.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.191, allocations: 0 / 0.5872 GB, free: 1.715 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003985/0.1914, allocations: 367.3 kB / 0.5875 GB, free: 1.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1914, allocations: 15.97 kB / 0.5875 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.1914, allocations: 30.75 kB / 0.5875 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.1917, allocations: 24.84 kB / 0.5876 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/0.1918, allocations: 168.4 kB / 0.5877 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1918, allocations: 4.375 kB / 0.5877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1918, allocations: 4.375 kB / 0.5877 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1919, allocations: 46.23 kB / 0.5878 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.192, allocations: 3.938 kB / 0.5878 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.192, allocations: 4 kB / 0.5878 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.192, allocations: 3.984 kB / 0.5878 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.846e-05/0.192, allocations: 27.92 kB / 0.5878 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1922, allocations: 157.7 kB / 0.588 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1923, allocations: 58.64 kB / 0.588 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.1924, allocations: 28.84 kB / 0.5881 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1924, allocations: 0 / 0.5881 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1924, allocations: 38.56 kB / 0.5881 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1924, allocations: 0 / 0.5881 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001822/0.1926, allocations: 81.55 kB / 0.5882 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.1927, allocations: 55.41 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.202e-05/0.1927, allocations: 97.8 kB / 0.5883 GB, free: 328 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1928, allocations: 25.7 kB / 0.5883 GB, free: 296 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.1928, allocations: 84.14 kB / 0.5884 GB, free: 208 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.1928, allocations: 23.64 kB / 0.5884 GB, free: 184 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.1929, allocations: 13.72 kB / 0.5885 GB, free: 164 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.193, allocations: 318.8 kB / 0.5888 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.193, allocations: 12.11 kB / 0.5888 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.1931, allocations: 16 kB / 0.5888 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.1931, allocations: 32.86 kB / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1931, allocations: 0 / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.897e-05/0.1932, allocations: 62 kB / 0.5889 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1933, allocations: 7.938 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1933, allocations: 3.984 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1933, allocations: 4.062 kB / 0.5889 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1934, allocations: 16 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1934, allocations: 4 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.1935, allocations: 7.906 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1935, allocations: 0 / 0.5889 GB, free: 15.67 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 (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 prepare postOptimizeDAE: time 7.615e-05/0.1936, allocations: 117.8 kB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1936, allocations: 3.938 kB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.1938, allocations: 85.58 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1938, allocations: 8 kB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1938, allocations: 0 / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1938, allocations: 0 / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.1939, allocations: 169.6 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1939, allocations: 0 / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.122e-05/0.194, allocations: 16 kB / 0.5893 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.194, allocations: 3.938 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1941, allocations: 4 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1941, allocations: 0 / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1941, allocations: 3.984 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1942, allocations: 96.97 kB / 0.5894 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.1943, allocations: 81.11 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1943, allocations: 11.92 kB / 0.5895 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.1944, allocations: 4 kB / 0.5895 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.1944, allocations: 3.984 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1944, allocations: 4 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.1945, allocations: 75.28 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1945, allocations: 96 / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001887/0.1947, allocations: 16 kB / 0.5896 GB, free: 14.87 MB / 0.4981 GB 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 (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 Backend phase and start with SimCode phase: time 0.0004392/0.1951, allocations: 0.6437 MB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1952, allocations: 35.98 kB / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1952, allocations: 0 / 0.5903 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.1953, allocations: 27.92 kB / 0.5903 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.1955, allocations: 8 kB / 0.5903 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.196, allocations: 168.1 kB / 0.5905 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1962, allocations: 0.6807 MB / 0.5911 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.73e-05/0.1963, allocations: 4 kB / 0.5911 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.1963, allocations: 19.42 kB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1963, allocations: 0 / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.213, allocations: 1.406 MB / 0.5925 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.652, allocations: 7.875 kB / 0.5925 GB, free: 11.93 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)