Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 105.5 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.001058/0.001058, allocations: 190 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.128/1.128, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.199/2.199, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038e-05/1.04e-05, allocations: 2.281 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4472/0.4472, allocations: 61.24 MB / 1.114 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.4618, allocations: 12 MB / 1.126 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.4633, allocations: 59.25 kB / 1.126 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.4647, allocations: 0.6773 MB / 1.127 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.4689, allocations: 1.966 MB / 1.129 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.4715, allocations: 1.202 MB / 1.13 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003543/0.475, allocations: 3.561 MB / 1.133 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.4764, allocations: 1.229 MB / 1.135 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.4788, allocations: 1.449 MB / 1.136 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.4799, allocations: 0.9375 MB / 1.137 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.48, allocations: 118.8 kB / 1.137 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.4826, allocations: 1.465 MB / 1.139 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.001555/0.4841, allocations: 2.364 MB / 1.141 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.000806/0.4849, allocations: 1.524 MB / 1.142 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.4852, allocations: 260.5 kB / 1.143 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.0002857/0.4855, allocations: 45.5 kB / 1.143 GB, free: 10.59 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: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.005039/0.4905, allocations: 6.431 MB / 1.149 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0002349/0.4908, allocations: 249.3 kB / 1.149 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.003189/0.494, allocations: 3.498 MB / 1.153 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of simplify1: time 0.0002347/0.4942, allocations: 236.7 kB / 1.153 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of Alias: time 0.005282/0.4995, allocations: 5.264 MB / 1.158 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of simplify2: time 0.0001879/0.4997, allocations: 179 kB / 1.158 GB, free: 472 kB / 0.8731 GB Notification: Performance of Events: time 0.0006438/0.5004, allocations: 0.6367 MB / 1.159 GB, free: 56 kB / 0.8731 GB Notification: Performance of Detect States: time 0.0005947/0.501, allocations: 0.6217 MB / 1.159 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.000823/0.5018, allocations: 0.9254 MB / 1.16 GB, free: 15 MB / 0.8887 GB Notification: Performance of Causalize: time 0.003614/0.5054, allocations: 3.631 MB / 1.164 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.001839/0.5073, allocations: 2.13 MB / 1.166 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of Inline: time 0.004379/0.5117, allocations: 4.805 MB / 1.171 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0002359/0.5119, allocations: 219.6 kB / 1.171 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0003778/0.5123, allocations: 462 kB / 1.171 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of Causalize: time 0.01257/0.5249, allocations: 12.7 MB / 1.184 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of Tearing: time 0.002008/0.5269, allocations: 2.196 MB / 1.186 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of Initialization: time 8.62e-07/0.5269, allocations: 0 / 1.186 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of Tearing: time 0.0009425/0.5279, allocations: 1.108 MB / 1.187 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of Categorize: time 3.216e-05/0.5279, allocations: 7.938 kB / 1.187 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of Solve: time 0.00119/0.5291, allocations: 0.6622 MB / 1.187 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of Jacobian: time 6.642e-06/0.5291, allocations: 3.938 kB / 1.187 GB, free: 13.93 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: ............... 0 * Number of algebraic event partitions: ......... 12 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 34 (34) {$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, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 103 (scalar:99, array:4, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 193 (scalar:188, array:5, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 193 (scalar:188, array:5, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001088/0.5292, allocations: 95.47 kB / 1.188 GB, free: 13.85 MB / 0.9044 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)