Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.001191/0.001191, allocations: 186.6 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.439/0.439, allocations: 95.48 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.156e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002467/0.002496, allocations: 1.739 MB / 0.5059 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.3852/0.3877, allocations: 158.4 MB / 0.6606 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.3879, allocations: 0 / 0.6606 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.3881, allocations: 27.8 kB / 0.6606 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.3882, allocations: 35.66 kB / 0.6606 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007525/0.389, allocations: 231.1 kB / 0.6609 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.3892, allocations: 171.5 kB / 0.661 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.3894, allocations: 37.09 kB / 0.6611 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3895, allocations: 87.67 kB / 0.6611 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.3897, allocations: 71.75 kB / 0.6612 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.3897, allocations: 12 kB / 0.6612 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.3901, allocations: 251.6 kB / 0.6615 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.0001549/0.3902, allocations: 193.9 kB / 0.6616 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 5.415e-05/0.3903, allocations: 114.3 kB / 0.6618 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.3903, allocations: 19.94 kB / 0.6618 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.997e-05/0.3903, allocations: 4 kB / 0.6618 GB, free: 13.23 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 (17) * Number of variables: 17 (17) Notification: Performance of Bindings: time 0.000573/0.3909, allocations: 0.6162 MB / 0.6624 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0001211/0.391, allocations: 71.03 kB / 0.6624 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.0004143/0.3915, allocations: 426.8 kB / 0.6629 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simplify1: time 3.945e-05/0.3915, allocations: 39.97 kB / 0.6629 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of Alias: time 0.0005385/0.3921, allocations: 439.3 kB / 0.6633 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simplify2: time 3.134e-05/0.3921, allocations: 27.97 kB / 0.6633 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of Events: time 0.0001406/0.3923, allocations: 95.39 kB / 0.6634 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0001243/0.3924, allocations: 104.2 kB / 0.6635 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0001199/0.3925, allocations: 104.1 kB / 0.6636 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of Causalize: time 0.0006118/0.3931, allocations: 0.5876 MB / 0.6642 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0002992/0.3934, allocations: 346.5 kB / 0.6645 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of Inline: time 0.0005569/0.394, allocations: 0.5703 MB / 0.6651 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of Partitioning: time 2.605e-05/0.394, allocations: 20.12 kB / 0.6651 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of Cleanup: time 3.086e-05/0.3941, allocations: 23.97 kB / 0.6651 GB, free: 9.508 MB / 0.5137 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ALGO] (1) ($RES_SIM_0) [----] wetBulApp.iWat := -1; [----] for i in 1:2 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], "Water", false) == Modelica.Utilities.Types.Compare.Equal then [----] wetBulApp.iWat := i; [----] end if; [----] end for; [----] assert(wetBulApp.iWat > 0, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {}; [ALGO] (1) ($RES_SIM_1) [----] wetBul.iWat := -1; [----] for i in 1:2 loop [----] if Modelica.Utilities.Strings.compare(({"water", "air"})[i], "Water", false) == Modelica.Utilities.Types.Compare.Equal then [----] wetBul.iWat := i; [----] end if; [----] end for; [----] assert(wetBul.iWat > 0, "Did not find medium species 'water' in the medium model. Change medium model.", AssertionLevel.error); slice: {}; Notification: Performance of Causalize: time 0.001359/0.3954, allocations: 1.158 MB / 0.6663 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0003355/0.3958, allocations: 342.4 kB / 0.6666 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of Initialization: time 9.01e-07/0.3958, allocations: 3.938 kB / 0.6666 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0001913/0.396, allocations: 278.9 kB / 0.6669 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of Categorize: time 8.586e-06/0.396, allocations: 0 / 0.6669 GB, free: 7.621 MB / 0.5137 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min