Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 109.2 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 211.6 kB / 23 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.299/1.299, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002998/0.002998, allocations: 0.572 MB / 313.8 MB, free: 2.34 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/1.944e-05, allocations: 5.797 kB / 436.3 MB, free: 16.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001305/0.001325, allocations: 0.5549 MB / 436.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001746/0.001499, allocations: 51.86 kB / 436.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.001531, allocations: 0 / 436.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.001544, allocations: 3.938 kB / 436.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.001611, allocations: 3.938 kB / 436.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.604e-05/0.001697, allocations: 15.91 kB / 436.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.934e-05/0.001766, allocations: 55.83 kB / 437 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.00181, allocations: 8 kB / 437 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.92e-05/0.001839, allocations: 23.91 kB / 437 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.00189, allocations: 35.84 kB / 437.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.001906, allocations: 4 kB / 437.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.001917, allocations: 4 kB / 437.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of combineBinaries: time 7.148e-05/0.001989, allocations: 110.8 kB / 437.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.633e-05/0.002005, allocations: 63.16 kB / 437.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.002025, allocations: 4 kB / 437.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.298e-06/0.002034, allocations: 4 kB / 437.2 MB, free: 15.52 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 (13) * Number of variables: 13 (13) Notification: Performance of [SIM] Bindings: time 0.0003423/0.002376, allocations: 418 kB / 437.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.386e-05/0.00242, allocations: 52 kB / 437.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001011/0.002521, allocations: 180.1 kB / 437.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.81e-05/0.002609, allocations: 88.72 kB / 438 MB, free: 14.59 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0003226/0.002932, allocations: 212.8 kB / 438.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.678e-05/0.002989, allocations: 88.7 kB / 438.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.401e-05/0.003013, allocations: 56.34 kB / 438.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001034/0.003116, allocations: 116.7 kB / 438.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of [SIM] Events: time 1.445e-05/0.003131, allocations: 4 kB / 438.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 6.884e-05/0.003199, allocations: 64.27 kB / 438.5 MB, free: 13.86 MB / 302.1 MB Error: Internal error NBSorting.tarjan failed to sort system: System Variables (26/26) ************************** (1|1) [DDER] (1) Real $DER.M1 (2|2) [DDER] (1) Real $DER.E2 (3|3) [DDER] (1) Real $DER.M2 (4|4) [STAT] (1) Real p1 (StateSelect = prefer) (5|5) [STAT] (1) Real T2 (StateSelect = prefer) (6|6) [STAT] (1) Real T1 (StateSelect = prefer) (7|7) [DSTA] (1) Real w2 (8|8) [DSTA] (1) Real w1 (9|9) [DSTA] (1) Real h2 (10|10) [DSTA] (1) Real h1 (11|11) [DDER] (1) Real $DER.E1 (12|12) [DDER] (1) Real $DER.$DER.E2 (13|13) [DDER] (1) Real $DER.$DER.M2 (14|14) [DDER] (1) Real $DER.$DER.E1 (15|15) [DDER] (1) Real $DER.w1 (16|16) [DER-] (1) Real $DER.$DER.M1 (17|17) [DDER] (1) Real $DER.h1 (18|18) [DER-] (1) Real $DER.T2 (19|19) [DDER] (1) Real $DER.h2 (20|20) [DER-] (1) Real $DER.T1 (21|21) [DER-] (1) Real $DER.p1 (22|22) [DDER] (1) Real $DER.w2 (23|23) [DSTA] (1) Real M2 (StateSelect = avoid) (24|24) [DSTA] (1) Real M1 (StateSelect = avoid) (25|25) [DSTA] (1) Real E2 (StateSelect = avoid) (26|26) [DSTA] (1) Real E1 (StateSelect = avoid) System Equations (22/22) ************************** (1|1) [SCAL] (1) M2 = (p1 * V) / (T2 * R) ($RES_SIM_11) (2|2) [SCAL] (1) M1 = (p1 * V) / (T1 * R) ($RES_SIM_12) (3|3) [SCAL] (1) $DER.E2 = w1 * h1 - w2 * h2 ($RES_SIM_13) (4|4) [SCAL] (1) $DER.M2 = w1 - w2 ($RES_SIM_14) (5|5) [SCAL] (1) $DER.E1 = 0.01 * h0 - w1 * h1 ($RES_SIM_15) (6|6) [SCAL] (1) $DER.M1 = 0.01 - w1 ($RES_SIM_16) (7|7) [SCAL] (1) E2 = cv * M2 * T2 ($RES_SIM_9) (8|8) [SCAL] (1) h1 = cp * T1 ($RES_SIM_8) (9|9) [SCAL] (1) h2 = cp * T2 ($RES_SIM_7) (10|10) [SCAL] (1) E1 = cv * M1 * T1 ($RES_SIM_10) (11|11) [SCAL] (1) w2 = Kv * p1 ($RES_SIM_5) (12|12) [SCAL] (1) $DER.M2 = (($DER.p1 * V) * T2 * R - ($DER.T2 * R) * p1 * V) / (T2 * R) ^ 2.0 ($RES_SIM_17) (13|13) [SCAL] (1) $DER.M1 = (($DER.p1 * V) * T1 * R - ($DER.T1 * R) * p1 * V) / (T1 * R) ^ 2.0 ($RES_SIM_18) (14|14) [SCAL] (1) $DER.$DER.E2 = ($DER.w1 * h1 + w1 * $DER.h1) - ($DER.w2 * h2 + w2 * $DER.h2) ($RES_SIM_19) (15|15) [SCAL] (1) $DER.$DER.M2 = $DER.w1 - $DER.w2 ($RES_SIM_20) (16|16) [SCAL] (1) $DER.$DER.E1 = -($DER.w1 * h1 + w1 * $DER.h1) ($RES_SIM_21) (17|17) [SCAL] (1) $DER.$DER.M1 = -$DER.w1 ($RES_SIM_22) (18|18) [SCAL] (1) $DER.E2 = cv * $DER.M2 * T2 + cv * M2 * $DER.T2 ($RES_SIM_23) (19|19) [SCAL] (1) $DER.h1 = cp * $DER.T1 ($RES_SIM_24) (20|20) [SCAL] (1) $DER.h2 = cp * $DER.T2 ($RES_SIM_25) (21|21) [SCAL] (1) $DER.E1 = cv * $DER.M1 * T1 + cv * M1 * $DER.T1 ($RES_SIM_26) (22|22) [SCAL] (1) $DER.w2 = Kv * $DER.p1 ($RES_SIM_27) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 6 var 2 --> eqn 18 var 3 --> eqn 4 var 4 --> eqn 11 var 5 --> eqn 1 var 6 --> eqn 8 var 7 --> eqn -1 var 8 --> eqn 3 var 9 --> eqn 9 var 10 --> eqn 5 var 11 --> eqn 21 var 12 --> eqn -1 var 13 --> eqn -1 var 14 --> eqn 16 var 15 --> eqn 15 var 16 --> eqn 17 var 17 --> eqn 14 var 18 --> eqn 12 var 19 --> eqn 20 var 20 --> eqn 19 var 21 --> eqn 13 var 22 --> eqn 22 var 23 --> eqn 7 var 24 --> eqn 2 var 25 --> eqn -1 var 26 --> eqn 10 equation to variable ********************** eqn 1 --> var 5 eqn 2 --> var 24 eqn 3 --> var 8 eqn 4 --> var 3 eqn 5 --> var 10 eqn 6 --> var 1 eqn 7 --> var 23 eqn 8 --> var 6 eqn 9 --> var 9 eqn 10 --> var 26 eqn 11 --> var 4 eqn 12 --> var 18 eqn 13 --> var 21 eqn 14 --> var 17 eqn 15 --> var 15 eqn 16 --> var 14 eqn 17 --> var 16 eqn 18 --> var 2 eqn 19 --> var 20 eqn 20 --> var 19 eqn 21 --> var 11 eqn 22 --> var 22 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.0525651380303316] Failed to read output from testmodel.py, exit status != 0: 0.00946948496857658 0.019168824 0.014557204 Calling exit ...