Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_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_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.004701/0.004701, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001145/0.001145, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7686/0.7686, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.59 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1825, allocations: 80.21 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.00253/0.1851, allocations: 1.258 MB / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1863, allocations: 0.7927 MB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.1863, allocations: 0 / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.1864, allocations: 0 / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.1864, allocations: 3.938 kB / 0.6612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.187, allocations: 163.2 kB / 0.6614 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.1871, allocations: 31.86 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.1871, allocations: 3.938 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.1872, allocations: 7.984 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.1873, allocations: 15.92 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1873, allocations: 4 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.1877, allocations: 283.5 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1878, allocations: 4 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.1878, allocations: 7.938 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1881, allocations: 175.8 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1881, allocations: 3.984 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1881, allocations: 0 / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1881, allocations: 4 kB / 0.6619 GB, free: 11.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004487/0.1886, allocations: 367 kB / 0.6622 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1886, allocations: 12.03 kB / 0.6622 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.1887, allocations: 38.73 kB / 0.6623 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.1889, allocations: 16.91 kB / 0.6623 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1891, allocations: 168.3 kB / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1891, allocations: 384 / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1891, allocations: 8.375 kB / 0.6625 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1892, allocations: 50.19 kB / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1893, allocations: 3.938 kB / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1893, allocations: 0 / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1893, allocations: 4 kB / 0.6625 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/0.1893, allocations: 31.97 kB / 0.6626 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.1895, allocations: 153.7 kB / 0.6627 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1897, allocations: 62.66 kB / 0.6628 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.1897, allocations: 28.89 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1897, allocations: 0 / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1898, allocations: 38.5 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1898, allocations: 0 / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0001961/0.19, allocations: 81.58 kB / 0.6629 GB, free: 10 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.19, allocations: 51.41 kB / 0.6629 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.1901, allocations: 97.84 kB / 0.663 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1901, allocations: 29.64 kB / 0.6631 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.1902, allocations: 84.14 kB / 0.6632 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.1902, allocations: 11.91 kB / 0.6632 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.1903, allocations: 17.72 kB / 0.6632 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1904, allocations: 318.8 kB / 0.6635 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.1904, allocations: 12 kB / 0.6635 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.1904, allocations: 15.98 kB / 0.6635 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.066e-05/0.1905, allocations: 40.92 kB / 0.6635 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1905, allocations: 3.938 kB / 0.6636 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001162/0.1906, allocations: 65.64 kB / 0.6636 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1907, allocations: 7.938 kB / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1907, allocations: 0 / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1907, allocations: 4 kB / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1908, allocations: 15.98 kB / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1909, allocations: 0 / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.1909, allocations: 3.938 kB / 0.6636 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1909, allocations: 448 / 0.6636 GB, free: 9.184 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 0.0001076/0.191, allocations: 122.4 kB / 0.6638 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.191, allocations: 3.938 kB / 0.6638 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.1913, allocations: 93.59 kB / 0.6639 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1913, allocations: 0 / 0.6639 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1913, allocations: 0 / 0.6639 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1913, allocations: 4 kB / 0.6639 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1914, allocations: 177.6 kB / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1915, allocations: 0 / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1916, allocations: 15.98 kB / 0.664 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1916, allocations: 7.875 kB / 0.6641 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1916, allocations: 4 kB / 0.6641 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1916, allocations: 0 / 0.6641 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1916, allocations: 0 / 0.6641 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.1917, allocations: 89.12 kB / 0.6641 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.1918, allocations: 89.09 kB / 0.6642 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1919, allocations: 3.938 kB / 0.6642 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.1919, allocations: 4 kB / 0.6642 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1919, allocations: 7.984 kB / 0.6642 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.192, allocations: 4 kB / 0.6642 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.192, allocations: 75.28 kB / 0.6643 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.192, allocations: 0 / 0.6643 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001926/0.1922, allocations: 8 kB / 0.6643 GB, free: 8.375 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.0004205/0.1926, allocations: 0.6436 MB / 0.665 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.1927, allocations: 39.92 kB / 0.665 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1928, allocations: 4 kB / 0.665 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.1928, allocations: 19.94 kB / 0.665 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.1931, allocations: 16.97 kB / 0.665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.1936, allocations: 168.1 kB / 0.6652 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1939, allocations: 0.6768 MB / 0.6659 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.028e-05/0.1939, allocations: 7.984 kB / 0.6659 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.194, allocations: 11.44 kB / 0.6659 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.194, allocations: 4 kB / 0.6659 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.212, allocations: 1.421 MB / 0.6673 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/7.781, allocations: 10.91 kB / 0.6673 GB, free: 5.422 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)