Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 110.8 kB / 16.42 MB, free: 6.523 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.001168/0.001168, allocations: 182 kB / 17.36 MB, free: 5.746 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.171/1.171, allocations: 222.9 MB / 241 MB, free: 15.16 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.179/2.179, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.276e-05, allocations: 2.281 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4714/0.4714, allocations: 61.23 MB / 1.079 GB, free: 26.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.4848, allocations: 11.99 MB / 1.091 GB, free: 26.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.4868, allocations: 61.69 kB / 1.091 GB, free: 26.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.4884, allocations: 0.6968 MB / 1.091 GB, free: 26.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00515/0.4936, allocations: 2.075 MB / 1.093 GB, free: 26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.4966, allocations: 1.214 MB / 1.095 GB, free: 25.9 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004987/0.5016, allocations: 3.582 MB / 1.098 GB, free: 25.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.5032, allocations: 1.215 MB / 1.099 GB, free: 24.58 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.506, allocations: 1.468 MB / 1.101 GB, free: 23.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.5071, allocations: 0.9354 MB / 1.102 GB, free: 23.6 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.5073, allocations: 117.8 kB / 1.102 GB, free: 23.6 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.5102, allocations: 1.466 MB / 1.103 GB, free: 23.17 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001522/0.5118, allocations: 2.372 MB / 1.105 GB, free: 21.68 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.000624/0.5124, allocations: 1.53 MB / 1.107 GB, free: 20.63 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.5126, allocations: 259.7 kB / 1.107 GB, free: 20.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0002818/0.5129, allocations: 49.56 kB / 1.107 GB, free: 20.48 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: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.004078/0.517, allocations: 6.322 MB / 1.113 GB, free: 16.19 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002083/0.5172, allocations: 238.7 kB / 1.114 GB, free: 16.04 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.002839/0.5201, allocations: 3.507 MB / 1.117 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0002269/0.5203, allocations: 232.2 kB / 1.117 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of Alias: time 0.004942/0.5253, allocations: 5.339 MB / 1.123 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001796/0.5255, allocations: 188.3 kB / 1.123 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003866/0.5259, allocations: 0.515 MB / 1.123 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of Events: time 0.0005937/0.5265, allocations: 0.6273 MB / 1.124 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000706/0.5272, allocations: 0.9082 MB / 1.125 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003702/0.5309, allocations: 3.59 MB / 1.128 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.002408/0.5333, allocations: 2.113 MB / 1.13 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of Inline: time 0.006076/0.5394, allocations: 4.76 MB / 1.135 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000215/0.5396, allocations: 210.3 kB / 1.135 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003946/0.54, allocations: 469.2 kB / 1.136 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of Causalize: time 0.01224/0.5523, allocations: 12.39 MB / 1.148 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of Tearing: time 0.003725/0.556, allocations: 3.96 MB / 1.152 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of Initialization: time 1.182e-06/0.556, allocations: 3.938 kB / 1.152 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001834/0.5579, allocations: 1.959 MB / 1.153 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of Categorize: time 2.711e-05/0.5579, allocations: 4.656 kB / 1.153 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of Solve: time 0.001194/0.5591, allocations: 0.6998 MB / 1.154 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of Jacobian: time 2.876e-06/0.5591, allocations: 0 / 1.154 GB, free: 12.1 MB / 0.8575 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 11 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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: ................. 33 (33) {$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: ........... 102 (scalar:98, 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: ........... 188 (scalar:183, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 188 (scalar:183, 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 8.033e-05/0.5592, allocations: 90.27 kB / 1.154 GB, free: 12.02 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)