Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.001146/0.001146, allocations: 112.7 kB / 16.42 MB, free: 6.477 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.001077/0.001077, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.148/1.148, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.239/2.239, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.371e-05, allocations: 8.891 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.4335/0.4335, allocations: 48.21 MB / 1.102 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.4473, allocations: 11.88 MB / 1.113 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4488, allocations: 54 kB / 1.113 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.4503, allocations: 0.7237 MB / 1.114 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.4545, allocations: 2.03 MB / 1.116 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004616/0.4591, allocations: 2.074 MB / 1.118 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004415/0.4635, allocations: 4.018 MB / 1.122 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.4652, allocations: 1.333 MB / 1.123 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.4682, allocations: 1.698 MB / 1.125 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.4693, allocations: 1.048 MB / 1.126 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.4695, allocations: 134.5 kB / 1.126 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/0.4733, allocations: 2.327 MB / 1.128 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.001826/0.4752, allocations: 2.823 MB / 1.131 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0009722/0.4761, allocations: 1.795 MB / 1.133 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.4765, allocations: 295 kB / 1.133 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 0.000463/0.477, allocations: 66.28 kB / 1.133 GB, free: 2.316 MB / 0.8575 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.006103/0.4831, allocations: 7.407 MB / 1.14 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0005523/0.4836, allocations: 0.6068 MB / 1.141 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.003681/0.4873, allocations: 3.844 MB / 1.145 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simplify1: time 0.0003368/0.4877, allocations: 292.2 kB / 1.145 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of Alias: time 0.005914/0.4936, allocations: 5.595 MB / 1.151 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of simplify2: time 0.0002467/0.4939, allocations: 218.6 kB / 1.151 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of Events: time 0.0007899/0.4947, allocations: 0.7535 MB / 1.152 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of Detect States: time 0.0007275/0.4954, allocations: 0.7986 MB / 1.152 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of Partitioning: time 0.0009129/0.4963, allocations: 0.98 MB / 1.153 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of Causalize: time 0.003856/0.5002, allocations: 3.757 MB / 1.157 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of After Index Reduction Inline: time 0.002172/0.5024, allocations: 2.451 MB / 1.159 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of Inline: time 0.004974/0.5073, allocations: 5.373 MB / 1.165 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.000266/0.5076, allocations: 239 kB / 1.165 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0004557/0.5081, allocations: 0.5338 MB / 1.165 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of Causalize: time 0.025/0.5331, allocations: 24.82 MB / 1.19 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of Tearing: time 2.18e-05/0.5331, allocations: 3.938 kB / 1.19 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of Initialization: time 7.81e-07/0.5331, allocations: 4 kB / 1.19 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of Tearing: time 1.875e-05/0.5332, allocations: 3.938 kB / 1.19 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of Categorize: time 3.291e-05/0.5332, allocations: 11.94 kB / 1.19 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of Solve: time 0.002868/0.5361, allocations: 3.935 MB / 1.193 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of Jacobian: time 0.001252/0.5373, allocations: 1.331 MB / 1.195 GB, free: 5.535 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.count, TSet.T_start} * 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: ........... 262 (scalar:256, 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: ........... 262 (scalar:256, 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 9.524e-05/0.5374, allocations: 110.3 kB / 1.195 GB, free: 5.43 MB / 0.9044 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)