Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001706/0.001706, allocations: 109.7 kB / 16.42 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.001391/0.001391, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.142/1.142, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.904/1.904, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.5e-05, allocations: 4.109 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004812/0.004835, allocations: 4.734 MB / 0.9561 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.007183, allocations: 2.691 MB / 0.9587 GB, free: 220 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.007253, allocations: 0 / 0.9587 GB, free: 220 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.007476, allocations: 59.66 kB / 0.9588 GB, free: 160 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.007701, allocations: 87.38 kB / 0.9589 GB, free: 72 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008844/0.008594, allocations: 0.5221 MB / 0.9594 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.008833, allocations: 256 kB / 0.9596 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.008878, allocations: 13.12 kB / 0.9596 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.009048, allocations: 119.5 kB / 0.9598 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.009161, allocations: 87.61 kB / 0.9598 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.009186, allocations: 8 kB / 0.9598 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005088/0.0097, allocations: 355.3 kB / 0.9602 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0001878/0.009897, allocations: 269.2 kB / 0.9604 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 9.623e-05/0.009999, allocations: 173.6 kB / 0.9606 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.01003, allocations: 27.94 kB / 0.9606 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.473e-05/0.01005, allocations: 4 kB / 0.9606 GB, free: 14.26 MB / 0.7481 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.0007517/0.01081, allocations: 0.8665 MB / 0.9615 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 3.494e-05/0.01085, allocations: 31.97 kB / 0.9615 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.0004116/0.01127, allocations: 423.3 kB / 0.9619 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simplify1: time 3.635e-05/0.01131, allocations: 43.95 kB / 0.962 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of Alias: time 0.0007375/0.01206, allocations: 0.6866 MB / 0.9626 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simplify2: time 2.773e-05/0.01209, allocations: 27.97 kB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0001092/0.01221, allocations: 104.1 kB / 0.9628 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of Events: time 0.0001082/0.01232, allocations: 80.94 kB / 0.9628 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0001809/0.01251, allocations: 213.2 kB / 0.963 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of Causalize: time 0.0005624/0.01308, allocations: 0.5797 MB / 0.9636 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.0002635/0.01335, allocations: 313.2 kB / 0.9639 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of Inline: time 0.0004019/0.01376, allocations: 482.2 kB / 0.9644 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of Partitioning: time 2.611e-05/0.01379, allocations: 28.06 kB / 0.9644 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of Cleanup: time 2.327e-05/0.01382, allocations: 27.97 kB / 0.9644 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of Causalize: time 0.000505/0.01433, allocations: 495.3 kB / 0.9649 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of Tearing: time 8.546e-06/0.01435, allocations: 0 / 0.9649 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of Initialization: time 4.51e-07/0.01435, allocations: 0 / 0.9649 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of Tearing: time 4.959e-06/0.01436, allocations: 7.938 kB / 0.9649 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of Categorize: time 7.735e-06/0.01437, allocations: 0 / 0.9649 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of Solve: time 0.0001356/0.01451, allocations: 95.84 kB / 0.965 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of Jacobian: time 2.906e-06/0.01452, allocations: 0 / 0.965 GB, free: 9.27 MB / 0.7481 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 3.176e-05/0.01456, allocations: 28.45 kB / 0.965 GB, free: 9.246 MB / 0.7481 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_6)