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.001069/0.001069, allocations: 108.6 kB / 16.42 MB, free: 6.512 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.001123/0.001123, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.149/1.149, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001844/0.001844, allocations: 284.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8143/0.8143, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.862e-05, allocations: 2.281 kB / 0.6821 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.00464/0.004667, allocations: 4.72 MB / 0.6867 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2373/0.242, allocations: 2.689 MB / 0.6893 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.2422, allocations: 2 kB / 0.6893 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.2425, allocations: 53.53 kB / 0.6893 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.2429, allocations: 95.06 kB / 0.6894 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.2442, allocations: 0.4977 MB / 0.6899 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.2446, allocations: 253.2 kB / 0.6902 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.2446, allocations: 10.44 kB / 0.6902 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.2449, allocations: 122.6 kB / 0.6903 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.2451, allocations: 86.67 kB / 0.6904 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.2451, allocations: 6.75 kB / 0.6904 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007698/0.2459, allocations: 364.5 kB / 0.6907 GB, free: 12.4 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.00019/0.2461, allocations: 265.1 kB / 0.691 GB, free: 12.27 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 8.359e-05/0.2462, allocations: 173.1 kB / 0.6911 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.2463, allocations: 31.03 kB / 0.6912 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-05/0.2463, allocations: 3.719 kB / 0.6912 GB, free: 12.16 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.0006872/0.247, allocations: 0.8714 MB / 0.692 GB, free: 11.66 MB / 494.1 MB Notification: Performance of FunctionAlias: time 3.357e-05/0.247, allocations: 28.53 kB / 0.6921 GB, free: 11.66 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0004141/0.2474, allocations: 434 kB / 0.6925 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simplify1: time 4.104e-05/0.2475, allocations: 35.77 kB / 0.6925 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Alias: time 0.0007271/0.2482, allocations: 0.6873 MB / 0.6932 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simplify2: time 3.476e-05/0.2483, allocations: 33.27 kB / 0.6932 GB, free: 11.18 MB / 494.1 MB Notification: Performance of Events: time 0.0001067/0.2484, allocations: 74.55 kB / 0.6933 GB, free: 11.17 MB / 494.1 MB Notification: Performance of Detect States: time 0.0002103/0.2486, allocations: 129.5 kB / 0.6934 GB, free: 11.13 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001724/0.2488, allocations: 209.3 kB / 0.6936 GB, free: 10.96 MB / 494.1 MB Notification: Performance of Causalize: time 0.0005708/0.2494, allocations: 0.5855 MB / 0.6942 GB, free: 10.73 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002459/0.2496, allocations: 311.8 kB / 0.6945 GB, free: 10.65 MB / 494.1 MB Notification: Performance of Inline: time 0.0004064/0.25, allocations: 489.5 kB / 0.6949 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Partitioning: time 2.573e-05/0.2501, allocations: 31.73 kB / 0.695 GB, free: 10.53 MB / 494.1 MB Notification: Performance of Cleanup: time 2.689e-05/0.2501, allocations: 27.86 kB / 0.695 GB, free: 10.53 MB / 494.1 MB Notification: Performance of Causalize: time 0.0005291/0.2506, allocations: 497.8 kB / 0.6955 GB, free: 10.43 MB / 494.1 MB Notification: Performance of Tearing: time 4.829e-06/0.2506, allocations: 0 / 0.6955 GB, free: 10.43 MB / 494.1 MB Notification: Performance of Initialization: time 3.2e-07/0.2506, allocations: 0.75 kB / 0.6955 GB, free: 10.43 MB / 494.1 MB Notification: Performance of Tearing: time 2.655e-06/0.2506, allocations: 3.219 kB / 0.6955 GB, free: 10.43 MB / 494.1 MB Notification: Performance of Categorize: time 1.024e-05/0.2507, allocations: 5.688 kB / 0.6955 GB, free: 10.43 MB / 494.1 MB Notification: Performance of Solve: time 0.0001449/0.2508, allocations: 86.86 kB / 0.6956 GB, free: 10.42 MB / 494.1 MB Notification: Performance of Jacobian: time 3.025e-06/0.2508, allocations: 5.031 kB / 0.6956 GB, free: 10.42 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 3.275e-05/0.2509, allocations: 25.2 kB / 0.6956 GB, free: 10.41 MB / 494.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_6)