Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.Carnot_TEva,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_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,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_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 102.9 kB / 16.42 MB, free: 6.484 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.001066/0.001066, allocations: 192.3 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.143/1.143, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.23/2.23, allocations: 472.6 MB / 0.7459 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.254e-05, allocations: 2.281 kB / 1.07 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.4643/0.4644, allocations: 61.21 MB / 1.13 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01605/0.4804, allocations: 11.99 MB / 1.142 GB, free: 2.684 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.4827, allocations: 60.09 kB / 1.142 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.4847, allocations: 0.7005 MB / 1.142 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005331/0.49, allocations: 2.061 MB / 1.144 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.4931, allocations: 1.219 MB / 1.145 GB, free: 316 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004697/0.4978, allocations: 3.552 MB / 1.149 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.4997, allocations: 1.209 MB / 1.15 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.503, allocations: 1.465 MB / 1.152 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.5051, allocations: 0.9154 MB / 1.152 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005071/0.5056, allocations: 114.6 kB / 1.153 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0042/0.5098, allocations: 1.469 MB / 1.154 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.004053/0.5139, allocations: 2.326 MB / 1.156 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.002011/0.5159, allocations: 1.52 MB / 1.158 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.517, allocations: 259.8 kB / 1.158 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0005222/0.5176, allocations: 44.25 kB / 1.158 GB, free: 9.664 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.007603/0.5252, allocations: 6.533 MB / 1.164 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.0004218/0.5256, allocations: 230.9 kB / 1.165 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.004092/0.5297, allocations: 3.227 MB / 1.168 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0002579/0.53, allocations: 214.1 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of Alias: time 0.005554/0.5356, allocations: 5.28 MB / 1.173 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simplify2: time 0.000174/0.5357, allocations: 159.9 kB / 1.173 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of Detect States: time 0.000412/0.5362, allocations: 492.8 kB / 1.174 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of Events: time 0.0005779/0.5367, allocations: 0.5356 MB / 1.174 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0008151/0.5376, allocations: 0.8862 MB / 1.175 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of Causalize: time 0.003289/0.5409, allocations: 3.202 MB / 1.178 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.001705/0.5426, allocations: 1.906 MB / 1.18 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of Inline: time 0.004184/0.5468, allocations: 4.315 MB / 1.184 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of Partitioning: time 0.0002295/0.547, allocations: 214.3 kB / 1.185 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of Cleanup: time 0.0003729/0.5474, allocations: 411.7 kB / 1.185 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of Causalize: time 0.01161/0.559, allocations: 11.26 MB / 1.196 GB, free: 264 kB / 0.9044 GB Notification: Performance of Tearing: time 0.003192/0.5622, allocations: 3.228 MB / 1.199 GB, free: 12.95 MB / 0.92 GB Notification: Performance of Initialization: time 1.353e-06/0.5623, allocations: 4 kB / 1.199 GB, free: 12.95 MB / 0.92 GB Notification: Performance of Tearing: time 0.001562/0.5638, allocations: 1.582 MB / 1.201 GB, free: 11.31 MB / 0.92 GB Notification: Performance of Categorize: time 3.438e-05/0.5639, allocations: 15.94 kB / 1.201 GB, free: 11.29 MB / 0.92 GB Notification: Performance of Solve: time 0.00118/0.5651, allocations: 0.6696 MB / 1.201 GB, free: 10.62 MB / 0.92 GB Notification: Performance of Jacobian: time 2.825e-06/0.5651, allocations: 0 / 1.201 GB, free: 10.62 MB / 0.92 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: ......... 12 * 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: ................. 28 (28) {$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: ........... 97 (scalar:93, 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: ........... 174 (scalar:169, 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: ........... 174 (scalar:169, 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.36e-05/0.5652, allocations: 88.25 kB / 1.201 GB, free: 10.54 MB / 0.92 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)