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.001429/0.001429, allocations: 100.4 kB / 16.38 MB, free: 6.438 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.001341/0.001341, allocations: 188.2 kB / 17.31 MB, free: 5.789 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002328/0.002328, allocations: 280.2 kB / 291.4 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 0.928/0.928, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.699e-05, allocations: 6.219 kB / 0.5966 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01597/0.01601, allocations: 12.97 MB / 0.6092 GB, free: 1.574 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.01903, allocations: 2.675 MB / 0.6119 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.01919, allocations: 0 / 0.6119 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.01951, allocations: 47.67 kB / 0.6119 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.01982, allocations: 99.34 kB / 0.612 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.02113, allocations: 0.4936 MB / 0.6125 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.02141, allocations: 255.9 kB / 0.6127 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.567e-05/0.02147, allocations: 17.11 kB / 0.6127 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007489/0.02896, allocations: 3.576 MB / 0.6162 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.02911, allocations: 87.61 kB / 0.6163 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.02915, allocations: 12 kB / 0.6163 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.03159, allocations: 1.073 MB / 0.6174 GB, free: 9.223 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0002128/0.03182, allocations: 269.2 kB / 0.6176 GB, free: 8.957 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001034/0.03193, allocations: 165.8 kB / 0.6178 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.03199, allocations: 31.88 kB / 0.6178 GB, free: 8.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.51e-05/0.03202, allocations: 4 kB / 0.6178 GB, free: 8.758 MB / 430.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.0008045/0.03283, allocations: 0.8493 MB / 0.6187 GB, free: 7.805 MB / 430.1 MB Notification: Performance of FunctionAlias: time 5.145e-05/0.03289, allocations: 31.91 kB / 0.6187 GB, free: 7.773 MB / 430.1 MB Notification: Performance of Early Inline: time 0.0004955/0.03339, allocations: 423.4 kB / 0.6191 GB, free: 7.332 MB / 430.1 MB Notification: Performance of simplify1: time 4.729e-05/0.03345, allocations: 47.94 kB / 0.6191 GB, free: 7.285 MB / 430.1 MB Notification: Performance of Alias: time 0.0008022/0.03426, allocations: 0.6361 MB / 0.6198 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simplify2: time 3.149e-05/0.0343, allocations: 31.95 kB / 0.6198 GB, free: 6.461 MB / 430.1 MB Notification: Performance of Events: time 0.0001265/0.03443, allocations: 77.36 kB / 0.6199 GB, free: 6.383 MB / 430.1 MB Notification: Performance of Detect States: time 0.0001347/0.03457, allocations: 128.8 kB / 0.62 GB, free: 6.242 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0002165/0.0348, allocations: 206.2 kB / 0.6202 GB, free: 5.965 MB / 430.1 MB Notification: Performance of Causalize: time 0.0007361/0.03554, allocations: 0.7424 MB / 0.6209 GB, free: 5.152 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002781/0.03583, allocations: 309.2 kB / 0.6212 GB, free: 4.824 MB / 430.1 MB Notification: Performance of Inline: time 0.0004645/0.0363, allocations: 482.1 kB / 0.6217 GB, free: 4.32 MB / 430.1 MB Notification: Performance of Partitioning: time 3.3e-05/0.03634, allocations: 28.11 kB / 0.6217 GB, free: 4.285 MB / 430.1 MB Notification: Performance of Cleanup: time 2.817e-05/0.03638, allocations: 31.91 kB / 0.6217 GB, free: 4.254 MB / 430.1 MB Notification: Performance of Causalize: time 0.0005934/0.03697, allocations: 0.5996 MB / 0.6223 GB, free: 3.66 MB / 430.1 MB Notification: Performance of Tearing: time 7.153e-06/0.03699, allocations: 0 / 0.6223 GB, free: 3.66 MB / 430.1 MB Notification: Performance of Initialization: time 3.11e-07/0.037, allocations: 0 / 0.6223 GB, free: 3.66 MB / 430.1 MB Notification: Performance of Tearing: time 3.337e-06/0.03701, allocations: 4.688 kB / 0.6223 GB, free: 3.656 MB / 430.1 MB Notification: Performance of Categorize: time 1.396e-05/0.03702, allocations: 4 kB / 0.6223 GB, free: 3.652 MB / 430.1 MB Notification: Performance of Solve: time 0.0001459/0.03717, allocations: 99.81 kB / 0.6224 GB, free: 3.555 MB / 430.1 MB Notification: Performance of Jacobian: time 3.687e-06/0.03718, allocations: 0 / 0.6224 GB, free: 3.555 MB / 430.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.428e-05/0.03723, allocations: 26.42 kB / 0.6224 GB, free: 3.535 MB / 430.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_6)