Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 192.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002826/0.002826, allocations: 0.579 MB / 306.7 MB, free: 8.18 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 80.05 kB / 426.9 MB, free: 23.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1063, allocations: 52.29 MB / 479.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001917/0.1082, allocations: 0.6022 MB / 479.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.1085, allocations: 47.81 kB / 479.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.1085, allocations: 0 / 479.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.1085, allocations: 0 / 479.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.1086, allocations: 7.922 kB / 479.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001099/0.1087, allocations: 19.91 kB / 479.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1088, allocations: 51.83 kB / 479.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.084e-05/0.1089, allocations: 4 kB / 480 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.1089, allocations: 23.92 kB / 480 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.109, allocations: 31.84 kB / 480 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.109, allocations: 4 kB / 480 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.109, allocations: 0 / 480 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.1091, allocations: 11.98 kB / 480 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.1091, allocations: 27.84 kB / 480.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.295e-05/0.1092, allocations: 31.77 kB / 480.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1092, allocations: 4 kB / 480.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1092, allocations: 0 / 480.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1092, allocations: 0 / 480.1 MB, free: 2.406 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005812/0.1098, allocations: 371.3 kB / 480.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.1099, allocations: 15.89 kB / 480.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.1099, allocations: 12.83 kB / 480.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1101, allocations: 176.2 kB / 480.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1101, allocations: 8.375 kB / 480.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1101, allocations: 8.375 kB / 480.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1103, allocations: 69.73 kB / 480.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1103, allocations: 4.188 kB / 480.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1103, allocations: 7.938 kB / 480.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1103, allocations: 0 / 480.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.1104, allocations: 35.97 kB / 480.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.111, allocations: 316.7 kB / 481.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.1113, allocations: 122.6 kB / 481.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.553e-05/0.1113, allocations: 32.84 kB / 481.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.1114, allocations: 4 kB / 481.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1114, allocations: 38.5 kB / 481.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.1114, allocations: 0 / 481.3 MB, free: 1.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00355/0.1149, allocations: 0.9177 MB / 482.2 MB, free: 76 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.115, allocations: 55.41 kB / 482.3 MB, free: 8 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1151, allocations: 109.8 kB / 482.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1151, allocations: 33.7 kB / 482.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.1152, allocations: 88.41 kB / 482.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.1153, allocations: 63.44 kB / 482.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.1153, allocations: 41.64 kB / 482.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1155, allocations: 318.8 kB / 482.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.1156, allocations: 43.98 kB / 482.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1157, allocations: 69.69 kB / 483 MB, free: 15.21 MB / 350.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.1185, allocations: 0.5647 MB / 483.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1185, allocations: 0 / 483.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009599/0.1194, allocations: 278.1 kB / 483.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1194, allocations: 6.656 kB / 483.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1194, allocations: 320 / 483.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009087/0.1204, allocations: 160.7 kB / 484 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.1204, allocations: 16 kB / 484 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.1235, allocations: 1.986 MB / 486 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.237e-05/0.1236, allocations: 8.062 kB / 486 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1236, allocations: 4 kB / 486 MB, free: 12.03 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: p1 = 1e5. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.1237, allocations: 129.7 kB / 486.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1238, allocations: 15.92 kB / 486.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.1238, allocations: 20.84 kB / 486.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1238, allocations: 0 / 486.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1238, allocations: 4 kB / 486.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1238, allocations: 0 / 486.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1252, allocations: 0.5621 MB / 486.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.1252, allocations: 0 / 486.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.1252, allocations: 23.97 kB / 486.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/0.1272, allocations: 280.5 kB / 487 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1272, allocations: 4 kB / 487 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/0.13, allocations: 1.991 MB / 489 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.13, allocations: 4 kB / 489 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.1311, allocations: 420.9 kB / 489.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.1311, allocations: 85.06 kB / 489.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1311, allocations: 0 / 489.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1313, allocations: 8 kB / 489.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.1313, allocations: 23.89 kB / 489.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1313, allocations: 8 kB / 489.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.972e-05/0.1314, allocations: 87.28 kB / 489.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1314, allocations: 0 / 489.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000347/0.1317, allocations: 28 kB / 489.7 MB, free: 8.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.1318, allocations: 103.3 kB / 489.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008502/0.1327, allocations: 310.3 kB / 490.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1327, allocations: 0 / 490.1 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.1333, allocations: 250.5 kB / 490.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1335, allocations: 8.766 kB / 490.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.1341, allocations: 271.6 kB / 490.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.1344, allocations: 0.7085 MB / 491.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.195e-05/0.1345, allocations: 4.875 kB / 491.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.1345, allocations: 11.44 kB / 491.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1345, allocations: 0 / 491.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of Templates: time 0.005214/0.1397, allocations: 1.872 MB / 493.2 MB, free: 4.547 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.400190239306539] Failed to read output from testmodel.py, exit status != 0: 0.1477247211150825 0.163105639 0.050896132000000004 Calling exit ...