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.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.001377/0.001377, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001634/0.001634, allocations: 213 kB / 22.99 MB, free: 4.945 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.003091/0.003091, allocations: 0.5761 MB / 313.8 MB, free: 2.316 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.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.002023/0.002023, allocations: 67.89 kB / 436.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1027, allocations: 53.52 MB / 489.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001831/0.1045, allocations: 0.5783 MB / 490.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002439/0.1048, allocations: 55.8 kB / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.1048, allocations: 0 / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.1049, allocations: 3.938 kB / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.1049, allocations: 3.938 kB / 490.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000103/0.105, allocations: 15.97 kB / 490.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.1051, allocations: 47.84 kB / 490.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.424e-05/0.1052, allocations: 4 kB / 490.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.1052, allocations: 23.86 kB / 490.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.1053, allocations: 27.89 kB / 490.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1053, allocations: 4 kB / 490.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.1053, allocations: 8 kB / 490.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.1054, allocations: 11.92 kB / 490.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.1054, allocations: 19.92 kB / 490.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1055, allocations: 39.75 kB / 490.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1055, allocations: 0 / 490.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1055, allocations: 0 / 490.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1055, allocations: 0 / 490.7 MB, free: 9.914 MB / 350.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.0005441/0.1061, allocations: 298.2 kB / 491 MB, free: 9.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1061, allocations: 12.03 kB / 491 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.1062, allocations: 4.938 kB / 491 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.1064, allocations: 114.4 kB / 491.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1064, allocations: 12.31 kB / 491.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1064, allocations: 8.375 kB / 491.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1066, allocations: 72.34 kB / 491.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1066, allocations: 4.172 kB / 491.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1066, allocations: 7.938 kB / 491.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1066, allocations: 4 kB / 491.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.1067, allocations: 31.98 kB / 491.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.1072, allocations: 256.4 kB / 491.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.1075, allocations: 118.6 kB / 491.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.1076, allocations: 36.84 kB / 491.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1076, allocations: 3.938 kB / 491.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1076, allocations: 34.56 kB / 491.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.1076, allocations: 0 / 491.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003623/0.1113, allocations: 0.846 MB / 492.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.1113, allocations: 63.28 kB / 492.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.1115, allocations: 109.8 kB / 492.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1115, allocations: 29.7 kB / 492.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.1116, allocations: 88.47 kB / 492.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8e-05/0.1116, allocations: 71.41 kB / 492.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.1117, allocations: 33.72 kB / 493 MB, free: 7.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000252/0.112, allocations: 326.8 kB / 493.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.112, allocations: 39.98 kB / 493.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1123, allocations: 63.56 kB / 493.4 MB, free: 7.059 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.002745/0.115, allocations: 0.4974 MB / 493.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.115, allocations: 4 kB / 493.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009633/0.116, allocations: 270.1 kB / 494.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.116, allocations: 12.03 kB / 494.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.116, allocations: 0 / 494.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009097/0.1169, allocations: 156.6 kB / 494.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.117, allocations: 16 kB / 494.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.12, allocations: 1.849 MB / 496.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.12, allocations: 0 / 496.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.1201, allocations: 11.98 kB / 496.2 MB, free: 4.133 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.0001592/0.1202, allocations: 115.5 kB / 496.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.1203, allocations: 19.77 kB / 496.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.1203, allocations: 20.84 kB / 496.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1203, allocations: 8 kB / 496.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1203, allocations: 4 kB / 496.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1203, allocations: 4.125 kB / 496.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.1217, allocations: 0.5033 MB / 496.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1217, allocations: 3.984 kB / 496.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1218, allocations: 15.94 kB / 496.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.1237, allocations: 284.5 kB / 497.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.1238, allocations: 11.98 kB / 497.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.1265, allocations: 1.821 MB / 499 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.1265, allocations: 4.031 kB / 499 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.1276, allocations: 431.6 kB / 499.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.1276, allocations: 7.953 kB / 499.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.1276, allocations: 8 kB / 499.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1277, allocations: 4 kB / 499.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1278, allocations: 16.02 kB / 499.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1278, allocations: 4 kB / 499.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.003e-05/0.1278, allocations: 91.27 kB / 499.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1278, allocations: 4.125 kB / 499.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.1283, allocations: 32 kB / 499.6 MB, free: 0.5664 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.0001237/0.1284, allocations: 99.19 kB / 499.7 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.1292, allocations: 306.3 kB / 500 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1292, allocations: 0 / 500 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.1299, allocations: 265.6 kB / 0.4885 GB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1301, allocations: 11.94 kB / 0.4885 GB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.1306, allocations: 282.1 kB / 0.4888 GB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.1307, allocations: 91.75 kB / 0.4889 GB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.1308, allocations: 11.44 kB / 0.4889 GB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1308, allocations: 0 / 0.4889 GB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.004096/0.1349, allocations: 1.644 MB / 0.4905 GB, free: 13.79 MB / 366.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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.7062433091923594] Failed to read output from testmodel.py, exit status != 0: 0.14300914155319333 0.36078280399999996 0.050196651 Calling exit ...