Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001128/0.001127, allocations: 115.2 kB / 17.1 MB, free: 5.953 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.001012/0.001011, allocations: 194.9 kB / 18.03 MB, free: 5.035 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.611/1.611, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8076/0.8076, allocations: 115.3 MB / 407.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.703e-05/4.704e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.07155/0.07161, allocations: 61.14 MB / 0.618 GB, free: 3.422 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02238/0.09404, allocations: 11.99 MB / 0.6297 GB, free: 7.391 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004525/0.09861, allocations: 55.69 kB / 0.6297 GB, free: 7.336 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003223/0.1019, allocations: 0.6986 MB / 0.6304 GB, free: 6.633 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008721/0.1106, allocations: 2.063 MB / 0.6324 GB, free: 4.562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004605/0.1152, allocations: 1.214 MB / 0.6336 GB, free: 3.359 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00712/0.1224, allocations: 3.562 MB / 0.6371 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002884/0.1253, allocations: 1.212 MB / 0.6383 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004904/0.1302, allocations: 1.468 MB / 0.6397 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.1328, allocations: 0.9102 MB / 0.6406 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005254/0.1333, allocations: 116 kB / 0.6407 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.1376, allocations: 1.466 MB / 0.6422 GB, free: 10.59 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.003602/0.1412, allocations: 2.322 MB / 0.6444 GB, free: 8.242 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.002057/0.1433, allocations: 1.511 MB / 0.6459 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.1444, allocations: 259.2 kB / 0.6461 GB, free: 6.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0008367/0.1452, allocations: 47.81 kB / 0.6462 GB, free: 6.41 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: 192 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.009646/0.1549, allocations: 6.429 MB / 0.6525 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 0.0006305/0.1555, allocations: 227.7 kB / 0.6527 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.003847/0.1594, allocations: 3.24 MB / 0.6559 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simplify1: time 0.0002908/0.1597, allocations: 211.8 kB / 0.6561 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of Alias: time 0.007286/0.167, allocations: 5.411 MB / 0.6613 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of simplify2: time 0.000343/0.1674, allocations: 163.8 kB / 0.6615 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of Events: time 0.0007395/0.1681, allocations: 0.5579 MB / 0.662 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of Detect States: time 0.0006344/0.1688, allocations: 0.5929 MB / 0.6626 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.001094/0.1699, allocations: 0.8841 MB / 0.6635 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of Causalize: time 0.004123/0.174, allocations: 3.252 MB / 0.6667 GB, free: 496 kB / 0.4981 GB Notification: Performance of After Index Reduction Inline: time 0.00233/0.1763, allocations: 1.915 MB / 0.6685 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of Inline: time 0.005561/0.1819, allocations: 4.369 MB / 0.6728 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0003402/0.1823, allocations: 207.6 kB / 0.673 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of Cleanup: time 0.0005472/0.1828, allocations: 423.4 kB / 0.6734 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of Causalize: time 0.01774/0.2006, allocations: 11.63 MB / 0.6848 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of Tearing: time 0.002587/0.2032, allocations: 1.835 MB / 0.6866 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of Initialization: time 2.043e-06/0.2033, allocations: 0 / 0.6866 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of Tearing: time 0.001133/0.2044, allocations: 0.9344 MB / 0.6875 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of Categorize: time 7.714e-05/0.2045, allocations: 7.938 kB / 0.6875 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of Solve: time 0.001915/0.2064, allocations: 0.6462 MB / 0.6881 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of Jacobian: time 5.009e-06/0.2064, allocations: 0 / 0.6881 GB, free: 10.17 MB / 0.5294 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: ......... 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: ................. 29 (29) {$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: ........... 98 (scalar:94, 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: ........... 182 (scalar:177, 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: ........... 182 (scalar:177, 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.0001473/0.2066, allocations: 92.98 kB / 0.6882 GB, free: 10.08 MB / 0.5294 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)