Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 111 kB / 16.42 MB, free: 6.527 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.001263/0.001263, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.372/1.372, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8376/0.8376, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.175e-05, allocations: 6.219 kB / 0.5819 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05195/0.05198, allocations: 61.15 MB / 0.6417 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.06992, allocations: 11.98 MB / 0.6534 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002438/0.0724, allocations: 63.56 kB / 0.6534 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.07425, allocations: 0.6986 MB / 0.6541 GB, free: 336 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005285/0.07955, allocations: 2.064 MB / 0.6561 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002945/0.08256, allocations: 1.196 MB / 0.6573 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004772/0.08734, allocations: 3.577 MB / 0.6608 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001923/0.08928, allocations: 1.185 MB / 0.6619 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.09258, allocations: 1.463 MB / 0.6634 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.09422, allocations: 0.9218 MB / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003034/0.09453, allocations: 112 kB / 0.6644 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.0975, allocations: 1.466 MB / 0.6658 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002236/0.09974, allocations: 2.322 MB / 0.6681 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.001323/0.1011, allocations: 1.518 MB / 0.6695 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005967/0.1017, allocations: 263.2 kB / 0.6698 GB, free: 164 kB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0004158/0.1021, allocations: 63.73 kB / 0.6699 GB, free: 100 kB / 0.4981 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.006822/0.1089, allocations: 6.526 MB / 0.6762 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0002352/0.1092, allocations: 239.6 kB / 0.6765 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.003/0.1122, allocations: 3.221 MB / 0.6796 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simplify1: time 0.000233/0.1124, allocations: 215.7 kB / 0.6798 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of Alias: time 0.005944/0.1184, allocations: 5.282 MB / 0.685 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0001828/0.1186, allocations: 163.8 kB / 0.6851 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0004187/0.119, allocations: 494.1 kB / 0.6856 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of Events: time 0.0006276/0.1196, allocations: 0.5408 MB / 0.6861 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0008935/0.1205, allocations: 0.8761 MB / 0.687 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of Causalize: time 0.003448/0.124, allocations: 3.208 MB / 0.6901 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.001819/0.1258, allocations: 1.903 MB / 0.692 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of Inline: time 0.00445/0.1303, allocations: 4.316 MB / 0.6962 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0002191/0.1305, allocations: 199.6 kB / 0.6964 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of Cleanup: time 0.000364/0.1309, allocations: 411.4 kB / 0.6968 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of Causalize: time 0.0133/0.1442, allocations: 11.27 MB / 0.7078 GB, free: 8.094 MB / 0.545 GB Notification: Performance of Tearing: time 0.004294/0.1485, allocations: 3.227 MB / 0.7109 GB, free: 4.789 MB / 0.545 GB Notification: Performance of Initialization: time 3.627e-06/0.1486, allocations: 0 / 0.7109 GB, free: 4.789 MB / 0.545 GB Notification: Performance of Tearing: time 0.001997/0.1506, allocations: 1.587 MB / 0.7125 GB, free: 3.148 MB / 0.545 GB Notification: Performance of Categorize: time 6.873e-05/0.1507, allocations: 7.938 kB / 0.7125 GB, free: 3.141 MB / 0.545 GB Notification: Performance of Solve: time 0.001757/0.1524, allocations: 0.6619 MB / 0.7131 GB, free: 2.473 MB / 0.545 GB Notification: Performance of Jacobian: time 3.897e-06/0.1524, allocations: 3.938 kB / 0.7131 GB, free: 2.469 MB / 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: ......... 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: ................. 28 (28) {$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: ........... 97 (scalar:93, 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: ........... 174 (scalar:169, 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: ........... 174 (scalar:169, 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 9.809e-05/0.1525, allocations: 86.28 kB / 0.7132 GB, free: 2.395 MB / 0.545 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)