Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001211/0.001211, allocations: 106.8 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.001228/0.001228, allocations: 187.2 kB / 17.35 MB, free: 5.703 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8448/0.8448, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.64e-05, allocations: 6.219 kB / 0.5862 GB, free: 21.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06797/0.068, allocations: 70.45 MB / 0.655 GB, free: 260 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02886/0.09692, allocations: 18.9 MB / 0.6735 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/0.101, allocations: 67.62 kB / 0.6735 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.1043, allocations: 0.8463 MB / 0.6744 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.1155, allocations: 3.002 MB / 0.6773 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005654/0.1211, allocations: 1.653 MB / 0.6789 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009393/0.1306, allocations: 4.673 MB / 0.6835 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.1343, allocations: 1.583 MB / 0.685 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005709/0.14, allocations: 1.927 MB / 0.6869 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003105/0.1432, allocations: 1.179 MB / 0.688 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007428/0.144, allocations: 176 kB / 0.6882 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.1489, allocations: 1.443 MB / 0.6896 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.004216/0.1531, allocations: 2.879 MB / 0.6924 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.002082/0.1552, allocations: 1.849 MB / 0.6942 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.1564, allocations: 351.1 kB / 0.6946 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0008964/0.1573, allocations: 79.67 kB / 0.6947 GB, free: 7.473 MB / 0.5294 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.01249/0.1698, allocations: 8.186 MB / 0.7026 GB, free: 15.05 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0007681/0.1706, allocations: 339.7 kB / 0.703 GB, free: 14.69 MB / 0.545 GB Notification: Performance of Early Inline: time 0.006148/0.1767, allocations: 4.952 MB / 0.7078 GB, free: 9.641 MB / 0.545 GB Notification: Performance of simplify1: time 0.0004097/0.1772, allocations: 323.6 kB / 0.7081 GB, free: 9.324 MB / 0.545 GB Notification: Performance of Alias: time 0.01025/0.1874, allocations: 8.105 MB / 0.716 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simplify2: time 0.000496/0.188, allocations: 243.7 kB / 0.7163 GB, free: 388 kB / 0.545 GB Notification: Performance of Detect States: time 0.0008672/0.1888, allocations: 0.6788 MB / 0.7169 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Events: time 0.000975/0.1898, allocations: 0.7802 MB / 0.7177 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.001245/0.1911, allocations: 1.131 MB / 0.7188 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of Causalize: time 0.005355/0.1964, allocations: 4.342 MB / 0.723 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.00275/0.1992, allocations: 2.708 MB / 0.7257 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of Inline: time 0.007007/0.2062, allocations: 6.017 MB / 0.7316 GB, free: 348 kB / 0.5606 GB Notification: Performance of Partitioning: time 0.0003403/0.2066, allocations: 255.6 kB / 0.7318 GB, free: 80 kB / 0.5606 GB Notification: Performance of Cleanup: time 0.0002672/0.2069, allocations: 219.7 kB / 0.732 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Causalize: time 0.009853/0.2167, allocations: 7.587 MB / 0.7394 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of Tearing: time 0.001479/0.2182, allocations: 1.143 MB / 0.7405 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of Initialization: time 1.232e-06/0.2182, allocations: 3.938 kB / 0.7405 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of Tearing: time 0.001262/0.2195, allocations: 1.098 MB / 0.7416 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of Categorize: time 5.539e-05/0.2196, allocations: 15.94 kB / 0.7416 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of Solve: time 0.001789/0.2214, allocations: 0.8436 MB / 0.7424 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of Jacobian: time 5.18e-06/0.2214, allocations: 3.938 kB / 0.7425 GB, free: 5 MB / 0.5762 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 9.058e-05/0.2215, allocations: 73.03 kB / 0.7425 GB, free: 4.934 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)