Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 107 kB / 16.38 MB, free: 5.984 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.001499/0.001499, allocations: 191.2 kB / 17.32 MB, free: 5.594 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 4.273 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 292.3 MB / 0.5496 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/2.947e-05, allocations: 6.219 kB / 0.6729 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05393/0.05398, allocations: 61.21 MB / 0.7326 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.07252, allocations: 11.92 MB / 0.7443 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.07592, allocations: 59.62 kB / 0.7443 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.07818, allocations: 0.68 MB / 0.745 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006733/0.08498, allocations: 1.947 MB / 0.7469 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.0889, allocations: 1.225 MB / 0.7481 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006645/0.09555, allocations: 3.517 MB / 0.7515 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.09794, allocations: 1.221 MB / 0.7527 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004364/0.1023, allocations: 1.45 MB / 0.7541 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.1037, allocations: 0.957 MB / 0.7551 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.1039, allocations: 116 kB / 0.7552 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.1069, allocations: 1.47 MB / 0.7566 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001622/0.1085, allocations: 2.346 MB / 0.7589 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0008451/0.1094, allocations: 1.499 MB / 0.7604 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.1098, allocations: 263.2 kB / 0.7606 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003552/0.1101, allocations: 59.73 kB / 0.7607 GB, free: 5.184 MB / 0.5762 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.005418/0.1155, allocations: 6.536 MB / 0.7671 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0002454/0.1158, allocations: 243.6 kB / 0.7673 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.003019/0.1188, allocations: 3.294 MB / 0.7705 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002174/0.119, allocations: 223.7 kB / 0.7707 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of Alias: time 0.005091/0.1241, allocations: 4.796 MB / 0.7754 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0001871/0.1243, allocations: 167.8 kB / 0.7756 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of Events: time 0.0006825/0.125, allocations: 0.6138 MB / 0.7762 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0005342/0.1256, allocations: 0.5952 MB / 0.7767 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0008736/0.1265, allocations: 0.8838 MB / 0.7776 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of Causalize: time 0.004649/0.1311, allocations: 4.904 MB / 0.7824 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of After Index Reduction Inline: time 0.002202/0.1333, allocations: 1.977 MB / 0.7843 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of Inline: time 0.005036/0.1384, allocations: 4.309 MB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0002537/0.1387, allocations: 211.6 kB / 0.7887 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of Cleanup: time 0.0004279/0.1391, allocations: 431.4 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of Causalize: time 0.01494/0.154, allocations: 16.49 MB / 0.8052 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of Tearing: time 0.002086/0.1562, allocations: 1.843 MB / 0.807 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of Initialization: time 1.172e-06/0.1562, allocations: 0 / 0.807 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of Tearing: time 0.0009893/0.1572, allocations: 0.9115 MB / 0.8079 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of Categorize: time 5.79e-05/0.1573, allocations: 15.92 kB / 0.808 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of Solve: time 0.001599/0.1589, allocations: 0.7012 MB / 0.8086 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of Jacobian: time 4.108e-06/0.1589, allocations: 0 / 0.8086 GB, free: 3.93 MB / 0.6231 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: ......... 13 * 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 191 (scalar:186, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 191 (scalar:186, 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.0001069/0.159, allocations: 96.53 kB / 0.8087 GB, free: 3.844 MB / 0.6231 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)