Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009132/0.0009131, allocations: 115.1 kB / 16.43 MB, free: 6.414 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.0008691/0.0008691, allocations: 183.2 kB / 17.36 MB, free: 5.68 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.137/1.137, 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.1.0-maint.11.x/package.mo): time 2.217/2.217, allocations: 469.8 MB / 0.7432 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.261e-05, allocations: 2.5 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4464/0.4464, allocations: 70.51 MB / 1.135 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02406/0.4705, allocations: 18.94 MB / 1.153 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.4733, allocations: 70.16 kB / 1.153 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.4759, allocations: 0.8463 MB / 1.154 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008279/0.4842, allocations: 2.998 MB / 1.157 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.4886, allocations: 1.679 MB / 1.159 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006254/0.4948, allocations: 4.638 MB / 1.163 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.4969, allocations: 1.204 MB / 1.164 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004142/0.5011, allocations: 1.923 MB / 1.166 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.5033, allocations: 1.171 MB / 1.167 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004144/0.5038, allocations: 173.2 kB / 1.167 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.5072, allocations: 1.442 MB / 1.169 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.002809/0.51, allocations: 2.883 MB / 1.172 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.001037/0.511, allocations: 1.856 MB / 1.174 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.5114, allocations: 350.5 kB / 1.174 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0003917/0.5118, allocations: 67.11 kB / 1.174 GB, free: 15.84 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 (245) * Number of variables: 257 (254) Notification: Performance of Bindings: time 0.00478/0.5166, allocations: 5.778 MB / 1.18 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 0.0002682/0.5169, allocations: 319.2 kB / 1.18 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.003342/0.5202, allocations: 3.565 MB / 1.183 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of simplify1: time 0.0005388/0.5208, allocations: 499.1 kB / 1.184 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of Alias: time 0.005402/0.5262, allocations: 4.746 MB / 1.188 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of simplify2: time 0.0003451/0.5266, allocations: 328.1 kB / 1.189 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0004536/0.527, allocations: 0.5093 MB / 1.189 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of Events: time 0.0006432/0.5277, allocations: 0.5698 MB / 1.19 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0007407/0.5284, allocations: 0.7515 MB / 1.191 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of Causalize: time 0.003391/0.5318, allocations: 2.945 MB / 1.193 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.001711/0.5335, allocations: 1.837 MB / 1.195 GB, free: 15.87 MB / 0.92 GB Notification: Performance of Inline: time 0.004316/0.5379, allocations: 4.452 MB / 1.2 GB, free: 12.32 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0001487/0.538, allocations: 73.77 kB / 1.2 GB, free: 12.27 MB / 0.92 GB Notification: Performance of Cleanup: time 0.0005417/0.5386, allocations: 0.7542 MB / 1.2 GB, free: 11.63 MB / 0.92 GB Notification: Performance of Causalize: time 0.005461/0.544, allocations: 4.751 MB / 1.205 GB, free: 8.059 MB / 0.92 GB Notification: Performance of Tearing: time 0.0009279/0.545, allocations: 0.8355 MB / 1.206 GB, free: 7.184 MB / 0.92 GB Notification: Performance of Initialization: time 6.71e-07/0.545, allocations: 0 / 1.206 GB, free: 7.184 MB / 0.92 GB Notification: Performance of Tearing: time 0.0007799/0.5458, allocations: 0.782 MB / 1.207 GB, free: 6.352 MB / 0.92 GB Notification: Performance of Categorize: time 2.176e-05/0.5458, allocations: 11.94 kB / 1.207 GB, free: 6.34 MB / 0.92 GB Notification: Performance of Solve: time 0.0009999/0.5468, allocations: 0.7032 MB / 1.207 GB, free: 5.629 MB / 0.92 GB Notification: Performance of Jacobian: time 4.539e-06/0.5468, allocations: 0 / 1.207 GB, free: 5.629 MB / 0.92 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 10 * 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: ................. 39 (39) {$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, $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: ........... 132 (scalar:128, 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 226 (scalar:221, 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: 1, nonlinear:0) Notification: Performance of backend: time 6.023e-05/0.5469, allocations: 78.92 kB / 1.207 GB, free: 5.562 MB / 0.92 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)