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.008312/0.008312, allocations: 98.91 kB / 15.73 MB, free: 5.988 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.002058/0.002058, allocations: 193.8 kB / 16.67 MB, free: 5.918 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.539/1.539, 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.8583/0.8583, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 70.59 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1834, allocations: 80.2 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002903/0.1864, allocations: 1.274 MB / 0.6604 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1879, allocations: 0.7772 MB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.1879, allocations: 0 / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.1879, allocations: 7.922 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.247e-05/0.188, allocations: 0 / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.1887, allocations: 174 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.1888, allocations: 23.88 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.1889, allocations: 3.984 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.1889, allocations: 11.98 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.189, allocations: 11.94 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.189, allocations: 0 / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005691/0.1896, allocations: 291.5 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.1896, allocations: 0 / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.1896, allocations: 11.94 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.19, allocations: 171.8 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.19, allocations: 0 / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.216e-06/0.19, allocations: 4 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.19, allocations: 7.938 kB / 0.6619 GB, free: 11.2 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.0005363/0.1905, allocations: 367.1 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1906, allocations: 15.97 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.1906, allocations: 30.75 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.1909, allocations: 20.91 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.191, allocations: 164.3 kB / 0.6625 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.191, allocations: 4.375 kB / 0.6625 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.1911, allocations: 8.375 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1912, allocations: 46.23 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1912, allocations: 3.938 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1912, allocations: 0 / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1912, allocations: 4 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.1913, allocations: 27.92 kB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.1915, allocations: 161.7 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1917, allocations: 62.59 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1917, allocations: 24.89 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1917, allocations: 4 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1918, allocations: 30.56 kB / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1918, allocations: 0 / 0.6628 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002139/0.192, allocations: 89.5 kB / 0.6629 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1921, allocations: 51.41 kB / 0.663 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.1921, allocations: 93.86 kB / 0.663 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1922, allocations: 33.7 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.1922, allocations: 80.14 kB / 0.6632 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.1922, allocations: 7.906 kB / 0.6632 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.1923, allocations: 25.7 kB / 0.6632 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1924, allocations: 310.8 kB / 0.6635 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.1925, allocations: 12 kB / 0.6635 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.1925, allocations: 16.11 kB / 0.6635 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.1926, allocations: 40.8 kB / 0.6635 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1926, allocations: 384 / 0.6635 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001164/0.1927, allocations: 73.58 kB / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1927, allocations: 11.94 kB / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1927, allocations: 0 / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1928, allocations: 0 / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1929, allocations: 15.98 kB / 0.6636 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1929, allocations: 3.984 kB / 0.6636 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.193, allocations: 3.938 kB / 0.6637 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.193, allocations: 4 kB / 0.6637 GB, free: 9.148 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.0001316/0.1931, allocations: 118.5 kB / 0.6638 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.1931, allocations: 3.938 kB / 0.6638 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.1934, allocations: 97.55 kB / 0.6639 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1934, allocations: 0 / 0.6639 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1934, allocations: 0 / 0.6639 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1934, allocations: 4 kB / 0.6639 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1936, allocations: 165.6 kB / 0.664 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1936, allocations: 0 / 0.664 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.1937, allocations: 19.98 kB / 0.664 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1937, allocations: 3.938 kB / 0.664 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1937, allocations: 4 kB / 0.6641 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1937, allocations: 0 / 0.6641 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1937, allocations: 0 / 0.6641 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1939, allocations: 101 kB / 0.6641 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.194, allocations: 77.11 kB / 0.6642 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.194, allocations: 3.938 kB / 0.6642 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.1941, allocations: 15.92 kB / 0.6642 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.1941, allocations: 0 / 0.6642 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.1941, allocations: 4 kB / 0.6642 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.1941, allocations: 75.28 kB / 0.6643 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.11e-07/0.1941, allocations: 0 / 0.6643 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000193/0.1943, allocations: 8 kB / 0.6643 GB, free: 8.348 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.0004993/0.1949, allocations: 0.6476 MB / 0.665 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.195, allocations: 35.98 kB / 0.665 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.195, allocations: 0 / 0.665 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.127e-05/0.1951, allocations: 27.86 kB / 0.665 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.1953, allocations: 10.41 kB / 0.665 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.1958, allocations: 168.1 kB / 0.6652 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.1962, allocations: 0.6787 MB / 0.6659 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.81e-05/0.1963, allocations: 4 kB / 0.6659 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.1963, allocations: 15.44 kB / 0.6659 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.1963, allocations: 0 / 0.6659 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.2191, allocations: 1.424 MB / 0.6673 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.139, allocations: 10.97 kB / 0.6673 GB, free: 5.395 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)