Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 111 kB / 16.42 MB, free: 6.527 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.001125/0.001125, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.271/1.271, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.397/2.397, allocations: 469.8 MB / 0.7431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.145e-05, allocations: 4.047 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.4978/0.4979, allocations: 48.21 MB / 1.113 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.5158, allocations: 11.89 MB / 1.124 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/0.5186, allocations: 63.09 kB / 1.125 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.5212, allocations: 0.7403 MB / 1.125 GB, free: 308 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007109/0.5284, allocations: 2.144 MB / 1.127 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006225/0.5346, allocations: 2.08 MB / 1.129 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006587/0.5412, allocations: 4.014 MB / 1.133 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002451/0.5437, allocations: 1.069 MB / 1.134 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004513/0.5482, allocations: 1.695 MB / 1.136 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.5504, allocations: 1.057 MB / 1.137 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005472/0.551, allocations: 138.3 kB / 1.137 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005472/0.5565, allocations: 2.319 MB / 1.139 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.002801/0.5593, allocations: 2.83 MB / 1.142 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.001149/0.5605, allocations: 1.791 MB / 1.144 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004919/0.561, allocations: 291.4 kB / 1.144 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.0005322/0.5615, allocations: 69.91 kB / 1.144 GB, free: 6.238 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 (205) * Number of variables: 214 (212) Notification: Performance of Bindings: time 0.005094/0.5666, allocations: 5.499 MB / 1.15 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0004705/0.5671, allocations: 395.2 kB / 1.15 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.003178/0.5703, allocations: 2.856 MB / 1.153 GB, free: 488 kB / 0.8731 GB Notification: Performance of simplify1: time 0.0005245/0.5708, allocations: 443.5 kB / 1.153 GB, free: 244 kB / 0.8731 GB Notification: Performance of Alias: time 0.004604/0.5754, allocations: 3.502 MB / 1.157 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simplify2: time 0.0003657/0.5758, allocations: 324.6 kB / 1.157 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0007507/0.5765, allocations: 0.5617 MB / 1.158 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of Events: time 0.0006779/0.5772, allocations: 0.5446 MB / 1.158 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0007504/0.578, allocations: 0.7273 MB / 1.159 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of Causalize: time 0.003345/0.5813, allocations: 2.78 MB / 1.162 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.0018/0.5832, allocations: 1.756 MB / 1.163 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of Inline: time 0.004616/0.5878, allocations: 3.996 MB / 1.167 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0001824/0.588, allocations: 84.09 kB / 1.167 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0008415/0.5888, allocations: 0.9683 MB / 1.168 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of Causalize: time 0.02094/0.6098, allocations: 15.44 MB / 1.183 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of Tearing: time 3.561e-05/0.6098, allocations: 0 / 1.183 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of Initialization: time 2.074e-06/0.6099, allocations: 0 / 1.183 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of Tearing: time 3.022e-05/0.6099, allocations: 7.938 kB / 1.183 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of Categorize: time 5.786e-05/0.6099, allocations: 7.938 kB / 1.183 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of Solve: time 0.003571/0.6135, allocations: 2.926 MB / 1.186 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of Jacobian: time 0.001213/0.6148, allocations: 0.9635 MB / 1.187 GB, free: 9.859 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 15 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (3) {temSen.T, P.I.y, val.filter.s} * Number of discrete states: .................... 2 (2) {TSet.T_start, TSet.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 44 (44) {$SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_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: ........... 141 (scalar:136, array:5, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 251 (scalar:245, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 251 (scalar:245, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.000145/0.6149, allocations: 110.4 kB / 1.187 GB, free: 9.762 MB / 0.9044 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)