Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001668/0.001668, 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.001193/0.001193, allocations: 192 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 69.92 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1784, allocations: 80.92 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003098/0.1815, allocations: 1.659 MB / 0.5861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007485/0.1823, allocations: 398.8 kB / 0.5865 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.171e-05/0.1824, allocations: 0 / 0.5865 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1825, allocations: 15.88 kB / 0.5865 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.1826, allocations: 23.78 kB / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.1831, allocations: 118.7 kB / 0.5866 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1832, allocations: 115.6 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1834, allocations: 40.25 kB / 0.5868 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.142e-05/0.1835, allocations: 39.86 kB / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.1836, allocations: 43.83 kB / 0.5868 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.1836, allocations: 8 kB / 0.5869 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1837, allocations: 55.95 kB / 0.5869 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.1838, allocations: 27.91 kB / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1838, allocations: 47.73 kB / 0.587 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.1841, allocations: 131.7 kB / 0.5871 GB, free: 1.711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1841, allocations: 0 / 0.5871 GB, free: 1.711 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1841, allocations: 0 / 0.5871 GB, free: 1.711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1841, allocations: 3.984 kB / 0.5871 GB, free: 1.707 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006101/0.1848, allocations: 415.1 kB / 0.5875 GB, free: 1.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1848, allocations: 8.031 kB / 0.5875 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.1848, allocations: 42.73 kB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.1851, allocations: 32.81 kB / 0.5876 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1853, allocations: 196.1 kB / 0.5878 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.1854, allocations: 34.25 kB / 0.5878 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1854, allocations: 12.38 kB / 0.5878 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.1857, allocations: 102 kB / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1857, allocations: 0 / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.1857, allocations: 0 / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1857, allocations: 7.938 kB / 0.5879 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.186, allocations: 83.84 kB / 0.588 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.1869, allocations: 388.4 kB / 0.5884 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.1874, allocations: 134.6 kB / 0.5885 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1876, allocations: 36.84 kB / 0.5885 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1876, allocations: 0 / 0.5885 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1876, allocations: 38.56 kB / 0.5886 GB, free: 28 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1876, allocations: 0 / 0.5886 GB, free: 28 kB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.00051/0.1882, allocations: 129.9 kB / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1882, allocations: 55.34 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1883, allocations: 136 kB / 0.5889 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1884, allocations: 33.7 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.1885, allocations: 104 kB / 0.589 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1885, allocations: 27.5 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.1885, allocations: 25.7 kB / 0.5891 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1887, allocations: 314.8 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1888, allocations: 31.97 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1889, allocations: 45.69 kB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.1891, allocations: 77.69 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1891, allocations: 0 / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002822/0.1894, allocations: 110 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1894, allocations: 4 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1895, allocations: 4 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1895, allocations: 3.938 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1896, allocations: 20.02 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1896, allocations: 8.062 kB / 0.5896 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.1897, allocations: 11.94 kB / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.1897, allocations: 3.938 kB / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 0.0001011/0.1898, allocations: 121.8 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.1899, allocations: 7.906 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.1899, allocations: 16.72 kB / 0.5898 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1899, allocations: 3.938 kB / 0.5898 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1899, allocations: 8 kB / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.19, allocations: 0 / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.1902, allocations: 209.5 kB / 0.59 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1902, allocations: 0 / 0.59 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1903, allocations: 15.98 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1903, allocations: 0 / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1903, allocations: 0 / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1903, allocations: 7.938 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1903, allocations: 0 / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.1907, allocations: 203.4 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.1907, allocations: 92.94 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1908, allocations: 4 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1909, allocations: 11.92 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.191, allocations: 4 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.191, allocations: 3.984 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.1911, allocations: 107.3 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1911, allocations: 0 / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002531/0.1913, allocations: 24 kB / 0.5905 GB, free: 13.91 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.000602/0.1919, allocations: 0.7318 MB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1922, allocations: 75.95 kB / 0.5913 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1922, allocations: 4 kB / 0.5913 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.1923, allocations: 39.91 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.1928, allocations: 26.11 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.1946, allocations: 1.555 MB / 0.5928 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1948, allocations: 0.6924 MB / 0.5935 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.212e-05/0.1949, allocations: 16.66 kB / 0.5935 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.195, allocations: 23.44 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.195, allocations: 0 / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.2148, allocations: 2.681 MB / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.634, allocations: 7.922 kB / 0.5962 GB, free: 8.059 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure_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_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)