Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(BuildingSystems.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001107/0.001107, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001079/0.001079, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.157/1.157, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 284.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8257/0.8257, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.024e-05, allocations: 2.281 kB / 0.682 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.2914/0.2914, allocations: 61.15 MB / 0.7417 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.3063, allocations: 11.98 MB / 0.7534 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.3088, allocations: 60.34 kB / 0.7535 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.3107, allocations: 0.6821 MB / 0.7542 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005246/0.316, allocations: 1.961 MB / 0.7561 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.3188, allocations: 1.213 MB / 0.7573 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004411/0.3232, allocations: 3.552 MB / 0.7607 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.3247, allocations: 1.211 MB / 0.7619 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.3275, allocations: 1.464 MB / 0.7633 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.3286, allocations: 0.9142 MB / 0.7642 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3288, allocations: 114.3 kB / 0.7643 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.3313, allocations: 1.467 MB / 0.7658 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.001492/0.3328, allocations: 2.32 MB / 0.768 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0008161/0.3336, allocations: 1.513 MB / 0.7695 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.3339, allocations: 267.2 kB / 0.7698 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.000335/0.3342, allocations: 55.81 kB / 0.7698 GB, free: 4.434 MB / 0.5294 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.004857/0.3391, allocations: 6.434 MB / 0.7761 GB, free: 13.81 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0001976/0.3393, allocations: 223.7 kB / 0.7763 GB, free: 13.59 MB / 0.545 GB Notification: Performance of Early Inline: time 0.00269/0.342, allocations: 3.24 MB / 0.7795 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simplify1: time 0.0001793/0.3422, allocations: 207.8 kB / 0.7797 GB, free: 10.11 MB / 0.545 GB Notification: Performance of Alias: time 0.004997/0.3472, allocations: 5.424 MB / 0.785 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simplify2: time 0.0001334/0.3473, allocations: 167.8 kB / 0.7851 GB, free: 4.094 MB / 0.545 GB Notification: Performance of Events: time 0.0005198/0.3478, allocations: 0.5369 MB / 0.7857 GB, free: 3.547 MB / 0.545 GB Notification: Performance of Detect States: time 0.0004482/0.3483, allocations: 0.5754 MB / 0.7862 GB, free: 2.961 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0007569/0.3491, allocations: 0.8918 MB / 0.7871 GB, free: 1.926 MB / 0.545 GB Notification: Performance of Causalize: time 0.003053/0.3521, allocations: 3.267 MB / 0.7903 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.001567/0.3537, allocations: 1.918 MB / 0.7922 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of Inline: time 0.003762/0.3575, allocations: 4.366 MB / 0.7964 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002066/0.3577, allocations: 211.6 kB / 0.7966 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0003382/0.358, allocations: 423.3 kB / 0.797 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of Causalize: time 0.01147/0.3695, allocations: 11.64 MB / 0.8084 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of Tearing: time 0.001654/0.3712, allocations: 1.833 MB / 0.8102 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of Initialization: time 7.32e-07/0.3712, allocations: 0 / 0.8102 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0007979/0.372, allocations: 0.9323 MB / 0.8111 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of Categorize: time 3.495e-05/0.372, allocations: 11.94 kB / 0.8111 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of Solve: time 0.001009/0.3731, allocations: 0.6501 MB / 0.8117 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of Jacobian: time 2.906e-06/0.3731, allocations: 0 / 0.8117 GB, free: 8.16 MB / 0.5762 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 8.68e-05/0.3732, allocations: 85.72 kB / 0.8118 GB, free: 8.09 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)