Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 117.7 kB / 17.1 MB, free: 5.977 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.001064/0.001064, allocations: 196.8 kB / 18.04 MB, free: 5.055 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.534/1.534, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8145/0.8145, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.488e-05, allocations: 4.25 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08341/0.08346, allocations: 70.43 MB / 0.6271 GB, free: 10.03 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03326/0.1168, allocations: 18.94 MB / 0.6455 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006027/0.1229, allocations: 67.62 kB / 0.6456 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003957/0.1269, allocations: 0.8462 MB / 0.6464 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.1412, allocations: 3.001 MB / 0.6494 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006383/0.1477, allocations: 1.657 MB / 0.651 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00866/0.1564, allocations: 4.669 MB / 0.6555 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/0.1594, allocations: 1.575 MB / 0.6571 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.1652, allocations: 1.923 MB / 0.659 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.168, allocations: 1.186 MB / 0.6601 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.1684, allocations: 172 kB / 0.6603 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.1722, allocations: 1.439 MB / 0.6617 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002623/0.1748, allocations: 2.875 MB / 0.6645 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.001574/0.1764, allocations: 1.858 MB / 0.6663 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007519/0.1772, allocations: 351.1 kB / 0.6666 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.000845/0.178, allocations: 55.75 kB / 0.6667 GB, free: 1.25 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 (245) * Number of variables: 257 (254) Notification: Performance of Bindings: time 0.008638/0.1867, allocations: 8.188 MB / 0.6747 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0005264/0.1872, allocations: 343.4 kB / 0.675 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.005459/0.1927, allocations: 4.94 MB / 0.6798 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0004923/0.1932, allocations: 331.6 kB / 0.6802 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of Alias: time 0.01064/0.2039, allocations: 8.122 MB / 0.6881 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0005639/0.2045, allocations: 239.7 kB / 0.6883 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of Events: time 0.0009826/0.2055, allocations: 0.7785 MB / 0.6891 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0007777/0.2062, allocations: 0.8041 MB / 0.6899 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0014/0.2077, allocations: 1.139 MB / 0.691 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of Causalize: time 0.005162/0.2128, allocations: 4.338 MB / 0.6952 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.002882/0.2157, allocations: 2.715 MB / 0.6979 GB, free: 40 kB / 0.5294 GB Notification: Performance of Inline: time 0.00733/0.2231, allocations: 6.056 MB / 0.7038 GB, free: 9.906 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0004695/0.2236, allocations: 263.6 kB / 0.704 GB, free: 9.633 MB / 0.545 GB Notification: Performance of Cleanup: time 0.0004576/0.2241, allocations: 227.6 kB / 0.7043 GB, free: 9.41 MB / 0.545 GB Notification: Performance of Causalize: time 0.01054/0.2346, allocations: 7.738 MB / 0.7118 GB, free: 1.609 MB / 0.545 GB Notification: Performance of Tearing: time 0.0008456/0.2355, allocations: 0.6813 MB / 0.7125 GB, free: 0.875 MB / 0.545 GB Notification: Performance of Initialization: time 1.042e-06/0.2355, allocations: 3.938 kB / 0.7125 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of Tearing: time 0.0006511/0.2362, allocations: 0.6775 MB / 0.7131 GB, free: 144 kB / 0.545 GB Notification: Performance of Categorize: time 6.129e-05/0.2363, allocations: 4 kB / 0.7131 GB, free: 140 kB / 0.545 GB Notification: Performance of Solve: time 0.001845/0.2381, allocations: 0.8594 MB / 0.714 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of Jacobian: time 4.458e-06/0.2381, allocations: 0 / 0.714 GB, free: 15.27 MB / 0.5606 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: ......... 10 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 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: ................. 39 (39) {$SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $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: ........... 132 (scalar:128, 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: ........... 233 (scalar:228, 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 9.811e-05/0.2382, allocations: 72.39 kB / 0.7141 GB, free: 15.21 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)