Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001437/0.001437, allocations: 103.5 kB / 16.37 MB, free: 6.367 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.001472/0.001472, allocations: 195.2 kB / 17.31 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.81e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06525/0.0653, allocations: 70.52 MB / 0.7417 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02436/0.08969, allocations: 18.83 MB / 0.7601 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.09307, allocations: 71.56 kB / 0.7602 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.09564, allocations: 0.8228 MB / 0.761 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008634/0.1043, allocations: 2.833 MB / 0.7637 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004491/0.1088, allocations: 1.67 MB / 0.7654 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006686/0.1155, allocations: 4.61 MB / 0.7699 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.1179, allocations: 1.595 MB / 0.7714 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004336/0.1223, allocations: 1.894 MB / 0.7733 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.1243, allocations: 1.218 MB / 0.7745 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.1245, allocations: 176 kB / 0.7746 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.1277, allocations: 1.447 MB / 0.776 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.002152/0.1299, allocations: 2.898 MB / 0.7789 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.001148/0.131, allocations: 1.853 MB / 0.7807 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000691/0.1317, allocations: 351.1 kB / 0.781 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0005186/0.1323, allocations: 71.67 kB / 0.7811 GB, free: 6.668 MB / 0.6544 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.3937/0.5259, allocations: 8.167 MB / 0.7891 GB, free: 78.59 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.000373/0.5263, allocations: 353.6 kB / 0.7894 GB, free: 78.54 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.004162/0.5305, allocations: 5.02 MB / 0.7943 GB, free: 78.3 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0003511/0.5309, allocations: 327.6 kB / 0.7946 GB, free: 78.3 MB / 0.6544 GB Notification: Performance of Alias: time 0.007643/0.5385, allocations: 7.359 MB / 0.8018 GB, free: 76.54 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0005293/0.5391, allocations: 242.3 kB / 0.802 GB, free: 76.52 MB / 0.6544 GB Notification: Performance of Events: time 0.001002/0.5401, allocations: 0.8083 MB / 0.8028 GB, free: 76.38 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0008001/0.5409, allocations: 0.8281 MB / 0.8036 GB, free: 76.31 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.001372/0.5423, allocations: 1.147 MB / 0.8047 GB, free: 75.98 MB / 0.6544 GB Notification: Performance of Causalize: time 0.007721/0.55, allocations: 6.667 MB / 0.8113 GB, free: 75.09 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.003322/0.5534, allocations: 2.765 MB / 0.814 GB, free: 74.91 MB / 0.6544 GB Notification: Performance of Inline: time 0.007524/0.5609, allocations: 6.161 MB / 0.82 GB, free: 73.32 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.000401/0.5613, allocations: 295.4 kB / 0.8203 GB, free: 73.12 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0003204/0.5617, allocations: 226.4 kB / 0.8205 GB, free: 72.99 MB / 0.6544 GB Notification: Performance of Causalize: time 0.01205/0.5737, allocations: 11.56 MB / 0.8318 GB, free: 67.73 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0007747/0.5745, allocations: 0.6819 MB / 0.8324 GB, free: 67.32 MB / 0.6544 GB Notification: Performance of Initialization: time 1.192e-06/0.5745, allocations: 0 / 0.8324 GB, free: 67.32 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0006221/0.5752, allocations: 0.6728 MB / 0.8331 GB, free: 66.91 MB / 0.6544 GB Notification: Performance of Categorize: time 4.69e-05/0.5752, allocations: 15.45 kB / 0.8331 GB, free: 66.9 MB / 0.6544 GB Notification: Performance of Solve: time 0.00181/0.5771, allocations: 0.8928 MB / 0.834 GB, free: 66.61 MB / 0.6544 GB Notification: Performance of Jacobian: time 4.579e-06/0.5771, allocations: 2.734 kB / 0.834 GB, free: 66.61 MB / 0.6544 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: ................. 43 (43) {$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, $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: ........... 136 (scalar:132, 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: ........... 248 (scalar:243, 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.0001059/0.5772, allocations: 82.2 kB / 0.8341 GB, free: 66.59 MB / 0.6544 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)