Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 105.8 kB / 16.42 MB, free: 6.512 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.001043/0.001043, allocations: 189.9 kB / 17.36 MB, free: 5.754 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9027/0.9027, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.299e-05, allocations: 3.125 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05938/0.05943, allocations: 61.2 MB / 0.646 GB, free: 9.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02054/0.08003, allocations: 11.97 MB / 0.6577 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003242/0.08333, allocations: 59.62 kB / 0.6578 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.08581, allocations: 0.6829 MB / 0.6584 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007144/0.09296, allocations: 1.971 MB / 0.6604 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00382/0.0968, allocations: 1.193 MB / 0.6615 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006255/0.1031, allocations: 3.558 MB / 0.665 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.1053, allocations: 1.201 MB / 0.6662 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004286/0.1096, allocations: 1.458 MB / 0.6676 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.1118, allocations: 0.9192 MB / 0.6685 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.1121, allocations: 116 kB / 0.6686 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.116, allocations: 1.474 MB / 0.67 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002748/0.1188, allocations: 2.323 MB / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001464/0.1202, allocations: 1.517 MB / 0.6738 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006901/0.1209, allocations: 259.2 kB / 0.674 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0008792/0.1218, allocations: 59.8 kB / 0.6741 GB, free: 12.47 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: 192 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.007314/0.1292, allocations: 6.441 MB / 0.6804 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0002946/0.1295, allocations: 239.4 kB / 0.6806 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.003375/0.1329, allocations: 3.247 MB / 0.6838 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0002587/0.1331, allocations: 215.7 kB / 0.684 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of Alias: time 0.006887/0.14, allocations: 5.416 MB / 0.6893 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0002775/0.1403, allocations: 167.7 kB / 0.6894 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of Events: time 0.0007183/0.141, allocations: 0.5531 MB / 0.69 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0006129/0.1417, allocations: 0.5813 MB / 0.6905 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.001096/0.1428, allocations: 0.8958 MB / 0.6914 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of Causalize: time 0.004047/0.1468, allocations: 3.264 MB / 0.6946 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.002223/0.1491, allocations: 1.945 MB / 0.6965 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of Inline: time 0.005405/0.1545, allocations: 4.375 MB / 0.7008 GB, free: 96 kB / 0.5294 GB Notification: Performance of Partitioning: time 0.0003063/0.1548, allocations: 199.6 kB / 0.701 GB, free: 15.88 MB / 0.545 GB Notification: Performance of Cleanup: time 0.0004776/0.1553, allocations: 439.3 kB / 0.7014 GB, free: 15.45 MB / 0.545 GB Notification: Performance of Causalize: time 0.0155/0.1708, allocations: 11.68 MB / 0.7128 GB, free: 3.668 MB / 0.545 GB Notification: Performance of Tearing: time 0.002296/0.1731, allocations: 1.85 MB / 0.7146 GB, free: 1.715 MB / 0.545 GB Notification: Performance of Initialization: time 1.062e-06/0.1732, allocations: 0 / 0.7146 GB, free: 1.715 MB / 0.545 GB Notification: Performance of Tearing: time 0.001056/0.1742, allocations: 0.9348 MB / 0.7155 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of Categorize: time 5.948e-05/0.1743, allocations: 4 kB / 0.7155 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of Solve: time 0.001674/0.176, allocations: 0.654 MB / 0.7162 GB, free: 60 kB / 0.545 GB Notification: Performance of Jacobian: time 6.312e-06/0.176, allocations: 4 kB / 0.7162 GB, free: 56 kB / 0.545 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: ........... 99 (scalar:95, 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: ........... 183 (scalar:178, 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: ........... 183 (scalar:178, 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.0001171/0.1761, allocations: 88.7 kB / 0.7162 GB, free: 15.98 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)