Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001105/0.001105, allocations: 107 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.001053/0.001053, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.136/1.136, allocations: 222.9 MB / 241 MB, free: 14.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.916/1.916, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.918e-06/9.919e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05425/0.05426, allocations: 70.51 MB / 1.02 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01938/0.07369, allocations: 18.93 MB / 1.039 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.07547, allocations: 71.56 kB / 1.039 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.07717, allocations: 0.8385 MB / 1.04 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005759/0.083, allocations: 2.998 MB / 1.043 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.08629, allocations: 1.668 MB / 1.044 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005123/0.09142, allocations: 4.654 MB / 1.049 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.09318, allocations: 1.591 MB / 1.05 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.09583, allocations: 1.912 MB / 1.052 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.09697, allocations: 1.179 MB / 1.053 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.09715, allocations: 176 kB / 1.054 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.09918, allocations: 1.439 MB / 1.055 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001674/0.1009, allocations: 2.879 MB / 1.058 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0008837/0.1018, allocations: 1.861 MB / 1.06 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.102, allocations: 347.1 kB / 1.06 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0002922/0.1023, allocations: 59.73 kB / 1.06 GB, free: 8.215 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.005691/0.108, allocations: 8.18 MB / 1.068 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FunctionAlias: time 0.0002545/0.1083, allocations: 347.7 kB / 1.068 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.003812/0.1121, allocations: 4.944 MB / 1.073 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simplify1: time 0.000248/0.1124, allocations: 327.6 kB / 1.073 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of Alias: time 0.00798/0.1203, allocations: 8.124 MB / 1.081 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simplify2: time 0.0001949/0.1205, allocations: 235.8 kB / 1.082 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of Detect States: time 0.0004973/0.1211, allocations: 0.675 MB / 1.082 GB, free: 428 kB / 0.8575 GB Notification: Performance of Events: time 0.3797/0.5007, allocations: 0.7786 MB / 1.083 GB, free: 53.5 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.001331/0.5021, allocations: 1.131 MB / 1.084 GB, free: 53.24 MB / 0.8575 GB Notification: Performance of Causalize: time 0.004339/0.5064, allocations: 4.337 MB / 1.088 GB, free: 52.52 MB / 0.8575 GB Notification: Performance of After Index Reduction Inline: time 0.002363/0.5088, allocations: 2.711 MB / 1.091 GB, free: 52.35 MB / 0.8575 GB Notification: Performance of Inline: time 0.005786/0.5146, allocations: 6.056 MB / 1.097 GB, free: 51.89 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.000274/0.5149, allocations: 266.1 kB / 1.097 GB, free: 51.84 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0002032/0.5151, allocations: 221.7 kB / 1.097 GB, free: 51.84 MB / 0.8575 GB Notification: Performance of Causalize: time 0.008114/0.5232, allocations: 7.749 MB / 1.105 GB, free: 50.38 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001144/0.5244, allocations: 1.144 MB / 1.106 GB, free: 50.01 MB / 0.8575 GB Notification: Performance of Initialization: time 1.072e-06/0.5244, allocations: 0 / 1.106 GB, free: 50.01 MB / 0.8575 GB Notification: Performance of Tearing: time 0.00106/0.5254, allocations: 1.09 MB / 1.107 GB, free: 49.68 MB / 0.8575 GB Notification: Performance of Categorize: time 4.163e-05/0.5255, allocations: 11.7 kB / 1.107 GB, free: 49.68 MB / 0.8575 GB Notification: Performance of Solve: time 0.001312/0.5268, allocations: 0.8602 MB / 1.108 GB, free: 49.6 MB / 0.8575 GB Notification: Performance of Jacobian: time 3.046e-06/0.5268, allocations: 0 / 1.108 GB, free: 49.6 MB / 0.8575 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: ........... 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: 1, nonlinear:0) Notification: Performance of backend: time 7.335e-05/0.5269, allocations: 73.06 kB / 1.108 GB, free: 49.58 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)