Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.001258/0.001258, allocations: 107.4 kB / 16.42 MB, free: 6.516 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.001301/0.0013, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.289/1.289, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 251.7 MB / 0.51 GB, free: 424 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.501e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4236/0.4236, allocations: 70.49 MB / 0.7952 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02444/0.4481, allocations: 18.79 MB / 0.8136 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.4516, allocations: 70.19 kB / 0.8136 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.4538, allocations: 0.8262 MB / 0.8144 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007833/0.4618, allocations: 2.837 MB / 0.8172 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.4662, allocations: 1.671 MB / 0.8188 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006324/0.4725, allocations: 4.617 MB / 0.8233 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.4747, allocations: 1.594 MB / 0.8249 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.4791, allocations: 1.86 MB / 0.8267 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.4818, allocations: 1.231 MB / 0.8279 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.4821, allocations: 176.8 kB / 0.8281 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003984/0.4861, allocations: 1.422 MB / 0.8295 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of combineBinaries: time 0.002554/0.4887, allocations: 2.898 MB / 0.8323 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of replaceArrayConstructors: time 0.001233/0.4899, allocations: 1.851 MB / 0.8341 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005908/0.4905, allocations: 350.9 kB / 0.8345 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of FrontEnd: time 0.0005583/0.4911, allocations: 63.7 kB / 0.8345 GB, free: 10.58 MB / 0.6231 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.007447/0.4985, allocations: 8.171 MB / 0.8425 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of FunctionAlias: time 0.0003598/0.4989, allocations: 347.1 kB / 0.8428 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of Early Inline: time 0.004612/0.5035, allocations: 5.026 MB / 0.8477 GB, free: 376 kB / 0.6231 GB Notification: Performance of simplify1: time 0.0003662/0.5039, allocations: 326.7 kB / 0.848 GB, free: 148 kB / 0.6231 GB Notification: Performance of Alias: time 0.007941/0.5119, allocations: 7.366 MB / 0.8552 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of simplify2: time 0.0004419/0.5123, allocations: 239.7 kB / 0.8555 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of Events: time 0.0009405/0.5133, allocations: 0.8112 MB / 0.8563 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of Detect States: time 0.0007498/0.514, allocations: 0.8358 MB / 0.8571 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.001256/0.5153, allocations: 1.139 MB / 0.8582 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of Causalize: time 0.006493/0.5218, allocations: 6.74 MB / 0.8648 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.002788/0.5246, allocations: 2.77 MB / 0.8675 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of Inline: time 0.006352/0.531, allocations: 6.194 MB / 0.8735 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0003126/0.5313, allocations: 263.6 kB / 0.8738 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0002246/0.5315, allocations: 231.6 kB / 0.874 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of Causalize: time 0.009821/0.5414, allocations: 11.04 MB / 0.8848 GB, free: 10.99 MB / 0.67 GB Notification: Performance of Tearing: time 0.0008029/0.5422, allocations: 0.6772 MB / 0.8854 GB, free: 10.26 MB / 0.67 GB Notification: Performance of Initialization: time 1.553e-06/0.5422, allocations: 0 / 0.8854 GB, free: 10.26 MB / 0.67 GB Notification: Performance of Tearing: time 0.0007077/0.5429, allocations: 0.6782 MB / 0.8861 GB, free: 9.531 MB / 0.67 GB Notification: Performance of Categorize: time 5.146e-05/0.543, allocations: 15.94 kB / 0.8861 GB, free: 9.516 MB / 0.67 GB Notification: Performance of Solve: time 0.001492/0.5445, allocations: 0.8593 MB / 0.887 GB, free: 8.645 MB / 0.67 GB Notification: Performance of Jacobian: time 4.488e-06/0.5445, allocations: 0 / 0.887 GB, free: 8.645 MB / 0.67 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: ........... 237 (scalar:232, 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.0001325/0.5446, allocations: 74.28 kB / 0.887 GB, free: 8.582 MB / 0.67 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)