Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 116.6 kB / 16.43 MB, free: 6.523 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.002001/0.002001, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.591/1.591, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002204/0.002204, allocations: 288.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.045/1.045, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.74e-05/3.741e-05, allocations: 8.969 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.483/0.483, allocations: 12.95 MB / 0.6948 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.4859, allocations: 2.662 MB / 0.6974 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.4861, allocations: 1.219 kB / 0.6974 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.4864, allocations: 49.88 kB / 0.6974 GB, free: 10.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.4868, allocations: 100.7 kB / 0.6975 GB, free: 10 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.4884, allocations: 0.5166 MB / 0.698 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.4888, allocations: 254.3 kB / 0.6982 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.4889, allocations: 8.75 kB / 0.6983 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.5004, allocations: 3.584 MB / 0.7018 GB, free: 8.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.5006, allocations: 88.62 kB / 0.7018 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.5007, allocations: 7.688 kB / 0.7018 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.5041, allocations: 1.074 MB / 0.7029 GB, free: 8.168 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002543/0.5044, allocations: 270.4 kB / 0.7031 GB, free: 8.004 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001394/0.5045, allocations: 167.8 kB / 0.7033 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.5046, allocations: 27.34 kB / 0.7033 GB, free: 7.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.565e-05/0.5046, allocations: 7.062 kB / 0.7033 GB, free: 7.879 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: 39 (36) * Number of variables: 39 (39) Notification: Performance of Bindings: time 0.0008999/0.5056, allocations: 0.8668 MB / 0.7042 GB, free: 7.203 MB / 494.1 MB Notification: Performance of FunctionAlias: time 5.422e-05/0.5056, allocations: 32.52 kB / 0.7042 GB, free: 7.184 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0005879/0.5062, allocations: 428.8 kB / 0.7046 GB, free: 6.953 MB / 494.1 MB Notification: Performance of simplify1: time 5.499e-05/0.5063, allocations: 36.2 kB / 0.7047 GB, free: 6.941 MB / 494.1 MB Notification: Performance of Alias: time 0.0009418/0.5072, allocations: 0.6979 MB / 0.7053 GB, free: 6.398 MB / 494.1 MB Notification: Performance of simplify2: time 4.18e-05/0.5073, allocations: 31.02 kB / 0.7054 GB, free: 6.391 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001361/0.5074, allocations: 101.2 kB / 0.7055 GB, free: 6.316 MB / 494.1 MB Notification: Performance of Events: time 0.0001428/0.5076, allocations: 76.06 kB / 0.7055 GB, free: 6.281 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002115/0.5078, allocations: 213.8 kB / 0.7057 GB, free: 6.074 MB / 494.1 MB Notification: Performance of Causalize: time 0.0007296/0.5085, allocations: 0.5801 MB / 0.7063 GB, free: 5.766 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003339/0.5089, allocations: 313.1 kB / 0.7066 GB, free: 5.566 MB / 494.1 MB Notification: Performance of Inline: time 0.0005632/0.5094, allocations: 483.8 kB / 0.7071 GB, free: 5.277 MB / 494.1 MB Notification: Performance of Partitioning: time 3.766e-05/0.5095, allocations: 31.34 kB / 0.7071 GB, free: 5.25 MB / 494.1 MB Notification: Performance of Cleanup: time 3.84e-05/0.5095, allocations: 24.78 kB / 0.7071 GB, free: 5.238 MB / 494.1 MB Notification: Performance of Causalize: time 0.0007918/0.5103, allocations: 495.1 kB / 0.7076 GB, free: 5.07 MB / 494.1 MB Notification: Performance of Tearing: time 1.322e-05/0.5103, allocations: 4 kB / 0.7076 GB, free: 5.066 MB / 494.1 MB Notification: Performance of Initialization: time 4.61e-07/0.5103, allocations: 1 kB / 0.7076 GB, free: 5.066 MB / 494.1 MB Notification: Performance of Tearing: time 7.945e-06/0.5104, allocations: 5.844 kB / 0.7076 GB, free: 5.062 MB / 494.1 MB Notification: Performance of Categorize: time 1.53e-05/0.5104, allocations: 2.047 kB / 0.7076 GB, free: 5.062 MB / 494.1 MB Notification: Performance of Solve: time 0.0002084/0.5106, allocations: 99.86 kB / 0.7077 GB, free: 5.031 MB / 494.1 MB Notification: Performance of Jacobian: time 3.527e-06/0.5106, allocations: 0 / 0.7077 GB, free: 5.031 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 5 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:26, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:26, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.68e-05/0.5107, allocations: 21.47 kB / 0.7077 GB, free: 5.02 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_6)