Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001024/0.001024, 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.001084/0.001084, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9628/0.9628, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 56.56 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1817, allocations: 80.94 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002591/0.1843, allocations: 1.249 MB / 0.5857 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1864, allocations: 0.8746 MB / 0.5866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.1865, allocations: 0 / 0.5866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.1865, allocations: 0 / 0.5866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.947e-05/0.1866, allocations: 11.91 kB / 0.5866 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1878, allocations: 196.1 kB / 0.5868 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.285e-05/0.1879, allocations: 15.94 kB / 0.5868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.188, allocations: 4 kB / 0.5868 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.188, allocations: 8 kB / 0.5868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.1881, allocations: 7.922 kB / 0.5868 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1881, allocations: 4 kB / 0.5868 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.1887, allocations: 191.8 kB / 0.587 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.1887, allocations: 7.969 kB / 0.587 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.1887, allocations: 7.938 kB / 0.587 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.1892, allocations: 143.8 kB / 0.5871 GB, free: 1.719 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1892, allocations: 0 / 0.5871 GB, free: 1.719 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1892, allocations: 0 / 0.5871 GB, free: 1.719 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1892, allocations: 4 kB / 0.5871 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006718/0.1899, allocations: 367.3 kB / 0.5875 GB, free: 1.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.19, allocations: 12.03 kB / 0.5875 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.19, allocations: 38.69 kB / 0.5875 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.1903, allocations: 8.922 kB / 0.5875 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1905, allocations: 160.4 kB / 0.5877 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1905, allocations: 4.375 kB / 0.5877 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1906, allocations: 3.938 kB / 0.5877 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1907, allocations: 41.69 kB / 0.5877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1907, allocations: 0 / 0.5877 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1908, allocations: 4 kB / 0.5877 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1908, allocations: 0 / 0.5877 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.1909, allocations: 19.98 kB / 0.5878 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.1911, allocations: 157.7 kB / 0.5879 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1923, allocations: 138.5 kB / 0.588 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.1924, allocations: 20.84 kB / 0.5881 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.1925, allocations: 89.09 kB / 0.5882 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1926, allocations: 30.56 kB / 0.5882 GB, free: 464 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.1926, allocations: 3.938 kB / 0.5882 GB, free: 460 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000212/0.1928, allocations: 69.61 kB / 0.5883 GB, free: 384 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.1929, allocations: 51.41 kB / 0.5883 GB, free: 320 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/0.1929, allocations: 97.86 kB / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.193, allocations: 25.7 kB / 0.5884 GB, free: 180 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.193, allocations: 80.14 kB / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.1931, allocations: 11.81 kB / 0.5885 GB, free: 84 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.1931, allocations: 21.7 kB / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1933, allocations: 310.8 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.485e-05/0.1933, allocations: 8 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.1934, allocations: 8 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/0.1935, allocations: 41.17 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1935, allocations: 0 / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.1936, allocations: 61.56 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1936, allocations: 4 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1937, allocations: 0 / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1937, allocations: 0 / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.177e-05/0.1938, allocations: 8 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1938, allocations: 0 / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.1938, allocations: 3.938 kB / 0.589 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1938, allocations: 3.984 kB / 0.589 GB, free: 15.6 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 (4): * Single equations (assignments): 4 * 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.0001035/0.194, allocations: 121.8 kB / 0.5891 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.194, allocations: 3.906 kB / 0.5891 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.1943, allocations: 73.11 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1944, allocations: 4 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1944, allocations: 4 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1944, allocations: 0 / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.1945, allocations: 161.6 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1945, allocations: 0 / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.1946, allocations: 11.98 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1946, allocations: 0 / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1947, allocations: 4 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1947, allocations: 0 / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1947, allocations: 0 / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1948, allocations: 93.12 kB / 0.5894 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1949, allocations: 77.11 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1949, allocations: 4 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.731e-05/0.195, allocations: 11.86 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.195, allocations: 4 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.195, allocations: 4 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.195, allocations: 75.28 kB / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.195, allocations: 0 / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002424/0.1953, allocations: 44.08 kB / 0.5896 GB, free: 14.81 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 (5): * Single equations (assignments): 5 * 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.00063/0.1959, allocations: 0.6985 MB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.196, allocations: 31.92 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1961, allocations: 4 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.783e-05/0.1961, allocations: 16 kB / 0.5904 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.1963, allocations: 9.094 kB / 0.5904 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.1968, allocations: 172.1 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1971, allocations: 0.6768 MB / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.488e-05/0.1971, allocations: 8 kB / 0.5912 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.1972, allocations: 19.42 kB / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1972, allocations: 0 / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.2167, allocations: 1.938 MB / 0.5931 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/7.564, allocations: 4.641 kB / 0.5931 GB, free: 11.27 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_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.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)