Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001039/0.00104, allocations: 107 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.001028/0.001028, allocations: 187.2 kB / 17.35 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.096/1.096, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6569/0.6569, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.552e-05, allocations: 2.5 kB / 0.5819 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05046/0.05048, allocations: 70.45 MB / 0.6507 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01891/0.06942, allocations: 18.91 MB / 0.6692 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.07081, allocations: 71.56 kB / 0.6693 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.07228, allocations: 0.8191 MB / 0.6701 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004543/0.07684, allocations: 2.85 MB / 0.6729 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.07956, allocations: 1.651 MB / 0.6745 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00371/0.08328, allocations: 4.657 MB / 0.679 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.08478, allocations: 1.587 MB / 0.6806 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.08737, allocations: 1.905 MB / 0.6824 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.08853, allocations: 1.179 MB / 0.6836 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.08871, allocations: 176 kB / 0.6837 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.09058, allocations: 1.443 MB / 0.6852 GB, free: 436 kB / 0.5137 GB Notification: Performance of combineBinaries: time 0.001721/0.09231, allocations: 2.875 MB / 0.688 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0009291/0.09325, allocations: 1.856 MB / 0.6898 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.09352, allocations: 351.1 kB / 0.6901 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0002686/0.09379, allocations: 71.69 kB / 0.6902 GB, free: 11.23 MB / 0.5294 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.005826/0.09962, allocations: 8.184 MB / 0.6982 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.00025/0.09988, allocations: 339.7 kB / 0.6985 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.003958/0.1038, allocations: 4.956 MB / 0.7033 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simplify1: time 0.0002625/0.1041, allocations: 323.6 kB / 0.7036 GB, free: 13.07 MB / 0.545 GB Notification: Performance of Alias: time 0.007235/0.1114, allocations: 8.126 MB / 0.7116 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simplify2: time 0.0001985/0.1116, allocations: 239.7 kB / 0.7118 GB, free: 4.113 MB / 0.545 GB Notification: Performance of Events: time 0.0007221/0.1123, allocations: 0.7899 MB / 0.7126 GB, free: 3.305 MB / 0.545 GB Notification: Performance of Detect States: time 0.0005823/0.1129, allocations: 0.7971 MB / 0.7134 GB, free: 2.492 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0009419/0.1138, allocations: 1.127 MB / 0.7145 GB, free: 1.238 MB / 0.545 GB Notification: Performance of Causalize: time 0.004186/0.118, allocations: 4.353 MB / 0.7187 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.002118/0.1202, allocations: 2.704 MB / 0.7213 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Inline: time 0.004942/0.1251, allocations: 6.057 MB / 0.7273 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002525/0.1254, allocations: 263.6 kB / 0.7275 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0001611/0.1255, allocations: 227.7 kB / 0.7277 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of Causalize: time 0.007587/0.1331, allocations: 7.744 MB / 0.7353 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0006095/0.1337, allocations: 0.6685 MB / 0.7359 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of Initialization: time 5.31e-07/0.1338, allocations: 0 / 0.7359 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of Tearing: time 0.000537/0.1343, allocations: 0.6776 MB / 0.7366 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of Categorize: time 2.489e-05/0.1343, allocations: 15.97 kB / 0.7366 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of Solve: time 0.001057/0.1354, allocations: 0.8437 MB / 0.7374 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of Jacobian: time 3.767e-06/0.1354, allocations: 7.984 kB / 0.7375 GB, free: 9.246 MB / 0.5762 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 5.694e-05/0.1355, allocations: 61.92 kB / 0.7375 GB, free: 9.195 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_32)