Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001221/0.001222, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.00134/0.001341, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8362/0.8362, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.521e-05, allocations: 2.281 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05214/0.05217, allocations: 61.2 MB / 0.6417 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01683/0.06905, allocations: 11.98 MB / 0.6534 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.07118, allocations: 59.62 kB / 0.6535 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.07312, allocations: 0.6986 MB / 0.6542 GB, free: 272 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005466/0.0786, allocations: 2.068 MB / 0.6562 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.08157, allocations: 1.211 MB / 0.6574 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004435/0.08602, allocations: 3.573 MB / 0.6608 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.08771, allocations: 1.22 MB / 0.662 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.0908, allocations: 1.47 MB / 0.6635 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.09225, allocations: 0.9341 MB / 0.6644 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.09245, allocations: 116 kB / 0.6645 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.09525, allocations: 1.462 MB / 0.6659 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.001725/0.09699, allocations: 2.357 MB / 0.6682 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0009979/0.098, allocations: 1.525 MB / 0.6697 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.09842, allocations: 259.3 kB / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0004191/0.09884, allocations: 63.73 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB 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.005753/0.1046, allocations: 6.435 MB / 0.6763 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0002634/0.1049, allocations: 247.6 kB / 0.6765 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.003243/0.1081, allocations: 3.509 MB / 0.68 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of simplify1: time 0.000229/0.1084, allocations: 231.7 kB / 0.6802 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of Alias: time 0.005816/0.1142, allocations: 5.259 MB / 0.6853 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0002364/0.1144, allocations: 179.8 kB / 0.6855 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0004886/0.1149, allocations: 0.5189 MB / 0.686 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of Events: time 0.0007635/0.1157, allocations: 0.6273 MB / 0.6866 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0009876/0.1167, allocations: 0.924 MB / 0.6875 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of Causalize: time 0.00392/0.1206, allocations: 3.64 MB / 0.6911 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.001978/0.1226, allocations: 2.126 MB / 0.6931 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of Inline: time 0.004967/0.1276, allocations: 4.758 MB / 0.6978 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0002477/0.1279, allocations: 211.6 kB / 0.698 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of Cleanup: time 0.0004439/0.1283, allocations: 455.3 kB / 0.6984 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of Causalize: time 0.01435/0.1427, allocations: 12.43 MB / 0.7106 GB, free: 5.285 MB / 0.545 GB Notification: Performance of Tearing: time 0.004569/0.1473, allocations: 3.971 MB / 0.7144 GB, free: 1.23 MB / 0.545 GB Notification: Performance of Initialization: time 1.212e-06/0.1473, allocations: 0 / 0.7144 GB, free: 1.23 MB / 0.545 GB Notification: Performance of Tearing: time 0.002155/0.1495, allocations: 1.951 MB / 0.7164 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Categorize: time 4.054e-05/0.1495, allocations: 11.94 kB / 0.7164 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of Solve: time 0.001371/0.1509, allocations: 0.6896 MB / 0.717 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of Jacobian: time 1.398e-05/0.1509, allocations: 3.938 kB / 0.717 GB, free: 14.52 MB / 0.5606 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 186 (scalar:181, 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: ........... 186 (scalar:181, 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.448e-05/0.151, allocations: 70.66 kB / 0.7171 GB, free: 14.46 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)