Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 111.8 kB / 17.1 MB, free: 5.836 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.001154/0.001154, allocations: 190.1 kB / 18.03 MB, free: 4.953 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.547/1.547, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8108/0.8108, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.016e-05/4.017e-05, allocations: 6.922 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.07386/0.07392, allocations: 61.17 MB / 0.618 GB, free: 3.266 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02628/0.1002, allocations: 12 MB / 0.6297 GB, free: 7.227 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004575/0.1049, allocations: 59.62 kB / 0.6298 GB, free: 7.168 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.1086, allocations: 0.7025 MB / 0.6305 GB, free: 6.461 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009009/0.1176, allocations: 2.068 MB / 0.6325 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.1222, allocations: 1.203 MB / 0.6337 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007485/0.1297, allocations: 3.577 MB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.1321, allocations: 1.216 MB / 0.6384 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.1369, allocations: 1.467 MB / 0.6398 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.1394, allocations: 0.9336 MB / 0.6407 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003779/0.1398, allocations: 120 kB / 0.6408 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004618/0.1444, allocations: 1.458 MB / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.003099/0.1476, allocations: 2.365 MB / 0.6445 GB, free: 7.988 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.001659/0.1493, allocations: 1.533 MB / 0.646 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006835/0.15, allocations: 263.2 kB / 0.6463 GB, free: 6.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0006942/0.1507, allocations: 47.78 kB / 0.6463 GB, free: 6.137 MB / 494.1 MB 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.007974/0.1587, allocations: 6.424 MB / 0.6526 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.000404/0.1591, allocations: 243.6 kB / 0.6528 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.004049/0.1631, allocations: 3.497 MB / 0.6563 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simplify1: time 0.00032/0.1635, allocations: 239.7 kB / 0.6565 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of Alias: time 0.007558/0.171, allocations: 5.25 MB / 0.6616 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simplify2: time 0.000359/0.1714, allocations: 175.8 kB / 0.6618 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of Events: time 0.0008983/0.1723, allocations: 0.6512 MB / 0.6624 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0007283/0.1731, allocations: 0.6395 MB / 0.663 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.001159/0.1743, allocations: 0.9201 MB / 0.6639 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of Causalize: time 0.004505/0.1788, allocations: 3.633 MB / 0.6675 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.002512/0.1813, allocations: 2.126 MB / 0.6696 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of Inline: time 0.006872/0.1882, allocations: 4.799 MB / 0.6743 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0004866/0.1887, allocations: 223.6 kB / 0.6745 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0007371/0.1895, allocations: 459.4 kB / 0.6749 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of Causalize: time 0.01981/0.2093, allocations: 12.7 MB / 0.6873 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of Tearing: time 0.003969/0.2133, allocations: 2.196 MB / 0.6895 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of Initialization: time 1.984e-06/0.2134, allocations: 0 / 0.6895 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of Tearing: time 0.001329/0.2147, allocations: 1.112 MB / 0.6905 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of Categorize: time 6.771e-05/0.2148, allocations: 11.94 kB / 0.6905 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of Solve: time 0.00204/0.2168, allocations: 0.6544 MB / 0.6912 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of Jacobian: time 5.02e-06/0.2168, allocations: 0 / 0.6912 GB, free: 6.934 MB / 0.5294 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: ......... 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: ................. 34 (34) {$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: ........... 103 (scalar:99, 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: ........... 193 (scalar:188, 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: ........... 193 (scalar:188, 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.0001208/0.217, allocations: 85.08 kB / 0.6913 GB, free: 6.852 MB / 0.5294 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)