Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 111.8 kB / 16.42 MB, free: 6.441 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.001392/0.001392, allocations: 183.2 kB / 17.36 MB, free: 5.684 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002186, allocations: 288.2 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9482/0.9482, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.395e-05, allocations: 4.672 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.007533/0.007576, allocations: 4.703 MB / 0.6867 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4789/0.4865, allocations: 2.692 MB / 0.6893 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.4868, allocations: 2.469 kB / 0.6893 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.4872, allocations: 52.39 kB / 0.6893 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.4876, allocations: 94.48 kB / 0.6894 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.4893, allocations: 0.5175 MB / 0.6899 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.4898, allocations: 254.1 kB / 0.6902 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.4898, allocations: 11.25 kB / 0.6902 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.4901, allocations: 118.6 kB / 0.6903 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.4902, allocations: 89.75 kB / 0.6904 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.4903, allocations: 8.469 kB / 0.6904 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008131/0.4911, allocations: 356.6 kB / 0.6907 GB, free: 12.36 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002782/0.4914, allocations: 267.3 kB / 0.691 GB, free: 12.23 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.000116/0.4915, allocations: 171.2 kB / 0.6912 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.4916, allocations: 28.34 kB / 0.6912 GB, free: 12.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.158e-05/0.4916, allocations: 3.094 kB / 0.6912 GB, free: 12.12 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.0009782/0.4926, allocations: 0.8758 MB / 0.692 GB, free: 11.62 MB / 494.1 MB Notification: Performance of FunctionAlias: time 5.507e-05/0.4926, allocations: 31.83 kB / 0.6921 GB, free: 11.62 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0005835/0.4932, allocations: 430.1 kB / 0.6925 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simplify1: time 5.471e-05/0.4933, allocations: 44.67 kB / 0.6925 GB, free: 11.54 MB / 494.1 MB Notification: Performance of Alias: time 0.001004/0.4943, allocations: 0.6798 MB / 0.6932 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simplify2: time 4.843e-05/0.4944, allocations: 36.78 kB / 0.6932 GB, free: 11.14 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001501/0.4945, allocations: 99.73 kB / 0.6933 GB, free: 11.11 MB / 494.1 MB Notification: Performance of Events: time 0.0001455/0.4947, allocations: 81.84 kB / 0.6934 GB, free: 11.09 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002497/0.4949, allocations: 209.6 kB / 0.6936 GB, free: 10.93 MB / 494.1 MB Notification: Performance of Causalize: time 0.0007421/0.4957, allocations: 0.5838 MB / 0.6942 GB, free: 10.69 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003318/0.496, allocations: 309.7 kB / 0.6945 GB, free: 10.61 MB / 494.1 MB Notification: Performance of Inline: time 0.0005714/0.4966, allocations: 492.6 kB / 0.6949 GB, free: 10.5 MB / 494.1 MB Notification: Performance of Partitioning: time 3.513e-05/0.4966, allocations: 30.59 kB / 0.695 GB, free: 10.48 MB / 494.1 MB Notification: Performance of Cleanup: time 3.71e-05/0.4967, allocations: 33.95 kB / 0.695 GB, free: 10.48 MB / 494.1 MB Notification: Performance of Causalize: time 0.0006984/0.4974, allocations: 492.7 kB / 0.6955 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Tearing: time 1.379e-05/0.4974, allocations: 1.125 kB / 0.6955 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Initialization: time 3.21e-07/0.4974, allocations: 0 / 0.6955 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Tearing: time 5.37e-06/0.4974, allocations: 13.88 kB / 0.6955 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Categorize: time 1.443e-05/0.4974, allocations: 1.219 kB / 0.6955 GB, free: 10.38 MB / 494.1 MB Notification: Performance of Solve: time 0.0001885/0.4977, allocations: 94.77 kB / 0.6956 GB, free: 10.37 MB / 494.1 MB Notification: Performance of Jacobian: time 4.949e-06/0.4977, allocations: 5.062 kB / 0.6956 GB, free: 10.36 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.894e-05/0.4977, allocations: 18.78 kB / 0.6956 GB, free: 10.36 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_6)