Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.0009405/0.0009406, allocations: 102.6 kB / 16.42 MB, free: 5.965 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.0008811/0.0008811, allocations: 192.4 kB / 17.36 MB, free: 5.574 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.125/1.125, 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.164/2.164, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.579e-05, allocations: 5.094 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4749/0.475, allocations: 70.5 MB / 1.123 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.4972, allocations: 18.93 MB / 1.142 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.4999, allocations: 71 kB / 1.142 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.5023, allocations: 0.8239 MB / 1.143 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007586/0.51, allocations: 2.847 MB / 1.146 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.5141, allocations: 1.66 MB / 1.147 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006019/0.5201, allocations: 4.657 MB / 1.152 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/0.5226, allocations: 1.579 MB / 1.153 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004066/0.5267, allocations: 1.904 MB / 1.155 GB, free: 400 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.5289, allocations: 1.182 MB / 1.156 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005361/0.5295, allocations: 173.6 kB / 1.157 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.5328, allocations: 1.443 MB / 1.158 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.002948/0.5358, allocations: 2.879 MB / 1.161 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.001487/0.5373, allocations: 1.855 MB / 1.163 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007327/0.538, allocations: 350.2 kB / 1.163 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0004231/0.5384, allocations: 58.25 kB / 1.163 GB, free: 11.89 MB / 0.8887 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.008365/0.5468, allocations: 8.173 MB / 1.171 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.0003163/0.5471, allocations: 348 kB / 1.171 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.00432/0.5515, allocations: 4.96 MB / 1.176 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0003252/0.5518, allocations: 323.1 kB / 1.176 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of Alias: time 0.00812/0.5599, allocations: 8.124 MB / 1.184 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simplify2: time 0.000233/0.5602, allocations: 238.3 kB / 1.185 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of Events: time 0.0007487/0.5609, allocations: 0.7836 MB / 1.185 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0007185/0.5617, allocations: 0.804 MB / 1.186 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.001017/0.5627, allocations: 1.131 MB / 1.187 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of Causalize: time 0.004054/0.5667, allocations: 4.34 MB / 1.191 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.00225/0.569, allocations: 2.708 MB / 1.194 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of Inline: time 0.005494/0.5745, allocations: 6.059 MB / 1.2 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.000269/0.5748, allocations: 259.6 kB / 1.2 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of Cleanup: time 0.0001728/0.575, allocations: 231.6 kB / 1.2 GB, free: 352 kB / 0.9044 GB Notification: Performance of Causalize: time 0.007996/0.583, allocations: 7.749 MB / 1.208 GB, free: 8.52 MB / 0.92 GB Notification: Performance of Tearing: time 0.0006505/0.5836, allocations: 0.6658 MB / 1.209 GB, free: 7.801 MB / 0.92 GB Notification: Performance of Initialization: time 6.82e-07/0.5836, allocations: 0 / 1.209 GB, free: 7.801 MB / 0.92 GB Notification: Performance of Tearing: time 0.0005782/0.5842, allocations: 0.6914 MB / 1.209 GB, free: 7.059 MB / 0.92 GB Notification: Performance of Categorize: time 2.609e-05/0.5843, allocations: 8 kB / 1.209 GB, free: 7.051 MB / 0.92 GB Notification: Performance of Solve: time 0.001203/0.5855, allocations: 0.8476 MB / 1.21 GB, free: 6.195 MB / 0.92 GB Notification: Performance of Jacobian: time 3.066e-06/0.5855, allocations: 0 / 1.21 GB, free: 6.195 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 233 (scalar:228, 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 9.642e-05/0.5856, allocations: 73.52 kB / 1.21 GB, free: 6.137 MB / 0.92 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)