Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001374/0.001374, 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.001354/0.001354, 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8925/0.8925, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.789e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05747/0.05751, allocations: 61.14 MB / 0.6459 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.07822, allocations: 11.98 MB / 0.6576 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004393/0.08268, allocations: 59.62 kB / 0.6577 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.08561, allocations: 0.6752 MB / 0.6583 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008222/0.09385, allocations: 1.955 MB / 0.6602 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004202/0.09819, allocations: 1.206 MB / 0.6614 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006427/0.1046, allocations: 3.567 MB / 0.6649 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/0.1067, allocations: 1.189 MB / 0.6661 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004109/0.1108, allocations: 1.458 MB / 0.6675 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.1124, allocations: 0.9218 MB / 0.6684 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.1126, allocations: 116 kB / 0.6685 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.1159, allocations: 1.47 MB / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.001817/0.1178, allocations: 2.315 MB / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001055/0.1188, allocations: 1.522 MB / 0.6737 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.1193, allocations: 259.2 kB / 0.6739 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0005868/0.1199, allocations: 71.67 kB / 0.674 GB, free: 12.58 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.006418/0.1263, allocations: 6.52 MB / 0.6804 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0002882/0.1266, allocations: 235.3 kB / 0.6806 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.003397/0.13, allocations: 3.236 MB / 0.6837 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0002464/0.1303, allocations: 207.8 kB / 0.6839 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of Alias: time 0.007191/0.1375, allocations: 5.278 MB / 0.6891 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0002855/0.1378, allocations: 159.8 kB / 0.6893 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of Events: time 0.0007167/0.1385, allocations: 0.5525 MB / 0.6898 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0006298/0.1392, allocations: 0.5702 MB / 0.6903 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.001057/0.1402, allocations: 0.8761 MB / 0.6912 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of Causalize: time 0.004057/0.1443, allocations: 3.169 MB / 0.6943 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.002193/0.1465, allocations: 1.91 MB / 0.6962 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of Inline: time 0.005378/0.1519, allocations: 4.341 MB / 0.7004 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0002775/0.1522, allocations: 211.6 kB / 0.7006 GB, free: 288 kB / 0.5294 GB Notification: Performance of Cleanup: time 0.0004643/0.1527, allocations: 423.4 kB / 0.701 GB, free: 15.85 MB / 0.545 GB Notification: Performance of Causalize: time 0.01795/0.1706, allocations: 11.3 MB / 0.712 GB, free: 4.449 MB / 0.545 GB Notification: Performance of Tearing: time 0.002298/0.173, allocations: 1.828 MB / 0.7138 GB, free: 2.52 MB / 0.545 GB Notification: Performance of Initialization: time 2.204e-06/0.173, allocations: 0 / 0.7138 GB, free: 2.52 MB / 0.545 GB Notification: Performance of Tearing: time 0.001042/0.1741, allocations: 0.9364 MB / 0.7147 GB, free: 1.527 MB / 0.545 GB Notification: Performance of Categorize: time 7.8e-05/0.1741, allocations: 7.938 kB / 0.7148 GB, free: 1.52 MB / 0.545 GB Notification: Performance of Solve: time 0.001854/0.176, allocations: 0.6385 MB / 0.7154 GB, free: 0.875 MB / 0.545 GB Notification: Performance of Jacobian: time 8.165e-06/0.176, allocations: 3.938 kB / 0.7154 GB, free: 0.8711 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 181 (scalar:176, 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: ........... 181 (scalar:176, 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.0001256/0.1762, allocations: 78.69 kB / 0.7155 GB, free: 0.7891 MB / 0.545 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)