Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 106.2 kB / 16.42 MB, free: 6.469 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.001692/0.001692, allocations: 187.2 kB / 17.35 MB, free: 5.691 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.096/1.096, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.02/2.02, allocations: 437 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.118e-05, allocations: 3.969 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004541/0.00456, allocations: 4.719 MB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.006837, allocations: 2.71 MB / 1.026 GB, free: 1.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.006905, allocations: 4 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.007103, allocations: 51.69 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.007304, allocations: 91.41 kB / 1.027 GB, free: 1.844 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008529/0.008175, allocations: 0.5219 MB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.008412, allocations: 255.8 kB / 1.027 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.008454, allocations: 13.12 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.008608, allocations: 111.5 kB / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.008709, allocations: 83.67 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.008739, allocations: 8 kB / 1.028 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.009272, allocations: 367.3 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001878/0.009468, allocations: 265.2 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 9.326e-05/0.009568, allocations: 173.6 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.009601, allocations: 27.94 kB / 1.028 GB, free: 44 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.179e-05/0.009617, allocations: 0 / 1.028 GB, free: 44 kB / 0.795 GB 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.0007392/0.01036, allocations: 0.8627 MB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 3.518e-05/0.0104, allocations: 31.86 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.0004097/0.01082, allocations: 431.3 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simplify1: time 4.083e-05/0.01087, allocations: 39.97 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of Alias: time 0.0007278/0.0116, allocations: 0.6941 MB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simplify2: time 3.382e-05/0.01164, allocations: 31.95 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of Detect States: time 9.623e-05/0.01175, allocations: 104.1 kB / 1.03 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of Events: time 9.816e-05/0.01185, allocations: 73 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of Partitioning: time 0.0001803/0.01204, allocations: 206.4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of Causalize: time 0.0005461/0.01259, allocations: 0.5829 MB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of After Index Reduction Inline: time 0.0002469/0.01285, allocations: 317.3 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of Inline: time 0.0004007/0.01326, allocations: 486.1 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of Partitioning: time 2.518e-05/0.01329, allocations: 24.12 kB / 1.032 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of Cleanup: time 2.295e-05/0.01332, allocations: 27.91 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of Causalize: time 0.000508/0.01383, allocations: 498.6 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of Tearing: time 7.794e-06/0.01385, allocations: 4 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of Initialization: time 3.01e-07/0.01385, allocations: 0 / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of Tearing: time 3.597e-06/0.01386, allocations: 3.938 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of Categorize: time 1.007e-05/0.01387, allocations: 4 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of Solve: time 0.0001257/0.014, allocations: 95.84 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of Jacobian: time 2.364e-06/0.01401, allocations: 0 / 1.033 GB, free: 11.04 MB / 0.8106 GB 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 2.865e-05/0.01405, allocations: 27.39 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_6)