Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009698/0.0009699, allocations: 111.2 kB / 16.42 MB, free: 6.48 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.001004/0.001004, allocations: 189.5 kB / 17.36 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.162/1.162, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.121/2.121, allocations: 437 MB / 0.7111 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/1.837e-05, allocations: 2.281 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4883/0.4883, allocations: 70.49 MB / 1.088 GB, free: 26.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01951/0.5079, allocations: 18.93 MB / 1.106 GB, free: 23.77 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.5102, allocations: 67.47 kB / 1.107 GB, free: 23.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.512, allocations: 0.8463 MB / 1.107 GB, free: 23.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007085/0.5192, allocations: 2.996 MB / 1.11 GB, free: 21.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.5231, allocations: 1.668 MB / 1.112 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005594/0.5287, allocations: 4.671 MB / 1.116 GB, free: 18.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.5311, allocations: 1.586 MB / 1.118 GB, free: 17.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00407/0.5352, allocations: 1.915 MB / 1.12 GB, free: 16.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.5375, allocations: 1.177 MB / 1.121 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005175/0.5381, allocations: 175.1 kB / 1.121 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.5419, allocations: 1.446 MB / 1.123 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.003105/0.545, allocations: 2.87 MB / 1.125 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.001435/0.5464, allocations: 1.855 MB / 1.127 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008047/0.5472, allocations: 357.8 kB / 1.128 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003841/0.5476, allocations: 64.17 kB / 1.128 GB, free: 11.87 MB / 0.8419 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.005763/0.5534, allocations: 8.164 MB / 1.136 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002771/0.5537, allocations: 353.3 kB / 1.136 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.003953/0.5576, allocations: 4.954 MB / 1.141 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0003485/0.558, allocations: 326.3 kB / 1.141 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of Alias: time 0.007978/0.566, allocations: 8.118 MB / 1.149 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0002853/0.5663, allocations: 243.3 kB / 1.149 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0006158/0.5669, allocations: 0.668 MB / 1.15 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of Events: time 0.0008958/0.5678, allocations: 0.7841 MB / 1.151 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.001112/0.5689, allocations: 1.136 MB / 1.152 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Causalize: time 0.004459/0.5734, allocations: 4.341 MB / 1.156 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.002341/0.5758, allocations: 2.71 MB / 1.159 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of Inline: time 0.005529/0.5813, allocations: 6.017 MB / 1.165 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0002549/0.5816, allocations: 253.5 kB / 1.165 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0002006/0.5818, allocations: 225.2 kB / 1.165 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of Causalize: time 0.007648/0.5894, allocations: 7.592 MB / 1.172 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of Tearing: time 0.001217/0.5906, allocations: 1.136 MB / 1.174 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of Initialization: time 7.81e-07/0.5907, allocations: 0 / 1.174 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of Tearing: time 0.001115/0.5918, allocations: 1.102 MB / 1.175 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of Categorize: time 3.989e-05/0.5918, allocations: 12.05 kB / 1.175 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of Solve: time 0.001313/0.5931, allocations: 0.8437 MB / 1.175 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of Jacobian: time 3.306e-06/0.5932, allocations: 0 / 1.175 GB, free: 12.53 MB / 0.8731 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.878e-05/0.5932, allocations: 70.95 kB / 1.175 GB, free: 12.47 MB / 0.8731 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)