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.001367/0.001367, allocations: 114.8 kB / 17.08 MB, free: 5.957 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.001359/0.001359, allocations: 191.7 kB / 20.03 MB, free: 3.031 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.462/1.462, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.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.1337/0.1337, allocations: 0.5542 MB / 298.5 MB, free: 4.641 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.001978/0.001978, allocations: 68.08 kB / 411.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2675, allocations: 49.6 MB / 461.4 MB, free: 23.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001355/0.2689, allocations: 0.5901 MB / 462 MB, free: 23.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000173/0.269, allocations: 43.84 kB / 462.1 MB, free: 23.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.2691, allocations: 0 / 462.1 MB, free: 23.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.2691, allocations: 3.938 kB / 462.1 MB, free: 23.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.699e-05/0.2692, allocations: 7.938 kB / 462.1 MB, free: 23.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.205e-05/0.2693, allocations: 21.23 kB / 462.1 MB, free: 23.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.2694, allocations: 48.14 kB / 462.1 MB, free: 23.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.2694, allocations: 9.375 kB / 462.1 MB, free: 23.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.2694, allocations: 22.41 kB / 462.2 MB, free: 23.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.2695, allocations: 27.41 kB / 462.2 MB, free: 23.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2695, allocations: 2.906 kB / 462.2 MB, free: 23.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.2696, allocations: 3.188 kB / 462.2 MB, free: 23.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.2696, allocations: 10.55 kB / 462.2 MB, free: 23.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.2696, allocations: 25.75 kB / 462.2 MB, free: 23.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.221e-05/0.2697, allocations: 42.89 kB / 462.3 MB, free: 23.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2697, allocations: 3.938 kB / 462.3 MB, free: 23.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2697, allocations: 0 / 462.3 MB, free: 23.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.2697, allocations: 0 / 462.3 MB, free: 23.28 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.000404/0.2701, allocations: 370 kB / 462.6 MB, free: 22.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.2702, allocations: 13.58 kB / 462.7 MB, free: 22.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.2702, allocations: 8.141 kB / 462.7 MB, free: 22.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.2703, allocations: 173.6 kB / 462.8 MB, free: 22.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2703, allocations: 7.312 kB / 462.8 MB, free: 22.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.2703, allocations: 6.438 kB / 462.9 MB, free: 22.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.2704, allocations: 65.19 kB / 462.9 MB, free: 22.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2705, allocations: 192 / 462.9 MB, free: 22.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.2705, allocations: 10.97 kB / 462.9 MB, free: 22.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2705, allocations: 0.75 kB / 462.9 MB, free: 22.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.099e-05/0.2706, allocations: 38.42 kB / 463 MB, free: 22.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.2709, allocations: 320.2 kB / 463.3 MB, free: 22.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.2712, allocations: 127.5 kB / 463.4 MB, free: 22.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.2713, allocations: 42.08 kB / 463.4 MB, free: 22.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2713, allocations: 2.969 kB / 463.4 MB, free: 22.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.2713, allocations: 38.56 kB / 463.5 MB, free: 22.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.2713, allocations: 0 / 463.5 MB, free: 22.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003003/0.2743, allocations: 0.9241 MB / 464.4 MB, free: 21.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.2743, allocations: 55.41 kB / 464.5 MB, free: 21.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.702e-05/0.2744, allocations: 109.7 kB / 464.6 MB, free: 21.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.2744, allocations: 25.7 kB / 464.6 MB, free: 21.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.2744, allocations: 88.42 kB / 464.7 MB, free: 21.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.2745, allocations: 68.94 kB / 464.7 MB, free: 21.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.2745, allocations: 45.64 kB / 464.8 MB, free: 21.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.2746, allocations: 321.3 kB / 465.1 MB, free: 21.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.2746, allocations: 42.53 kB / 465.1 MB, free: 21.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.2747, allocations: 71.55 kB / 465.2 MB, free: 21.03 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.002438/0.2771, allocations: 0.5703 MB / 465.8 MB, free: 20.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2772, allocations: 0 / 465.8 MB, free: 20.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008287/0.278, allocations: 279.2 kB / 466.1 MB, free: 20.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.278, allocations: 5.781 kB / 466.1 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.278, allocations: 0 / 466.1 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008338/0.2789, allocations: 156.8 kB / 466.2 MB, free: 20.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/0.2789, allocations: 23.14 kB / 466.2 MB, free: 20.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.281, allocations: 1.972 MB / 468.2 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.2811, allocations: 4 kB / 468.2 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.2811, allocations: 6.438 kB / 468.2 MB, free: 18.97 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 7.687e-05/0.2812, allocations: 124.8 kB / 468.3 MB, free: 18.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.2812, allocations: 10.08 kB / 468.4 MB, free: 18.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.2813, allocations: 23.88 kB / 468.4 MB, free: 18.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2813, allocations: 4 kB / 468.4 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2813, allocations: 3 kB / 468.4 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2813, allocations: 0 / 468.4 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.2824, allocations: 0.5752 MB / 469 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2824, allocations: 3.156 kB / 469 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.2825, allocations: 16.81 kB / 469 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.2843, allocations: 286.3 kB / 469.3 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2843, allocations: 7.156 kB / 469.3 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.2863, allocations: 1.974 MB / 471.2 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2863, allocations: 0 / 471.2 MB, free: 16.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/0.2872, allocations: 441.3 kB / 471.7 MB, free: 16.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.2872, allocations: 85 kB / 471.8 MB, free: 16.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2872, allocations: 3.844 kB / 471.8 MB, free: 16.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2874, allocations: 4 kB / 471.8 MB, free: 16.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.2874, allocations: 15.8 kB / 471.8 MB, free: 16.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2874, allocations: 11.92 kB / 471.8 MB, free: 16.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.825e-05/0.2875, allocations: 85.42 kB / 471.9 MB, free: 16.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2875, allocations: 0 / 471.9 MB, free: 16.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003385/0.2878, allocations: 34.5 kB / 471.9 MB, free: 16.21 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 7.363e-05/0.2879, allocations: 107.8 kB / 472 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006852/0.2886, allocations: 322.3 kB / 472.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2886, allocations: 0 / 472.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.2891, allocations: 258.2 kB / 472.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.2893, allocations: 13.22 kB / 472.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.2897, allocations: 281 kB / 472.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.2898, allocations: 0.7022 MB / 473.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.2899, allocations: 11.44 kB / 473.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2899, allocations: 3.938 kB / 473.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Templates: time 0.003774/0.2937, allocations: 1.616 MB / 475.2 MB, free: 14.75 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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.344166656024754] Failed to read output from testmodel.py, exit status != 0: 0.3003106740070507 0.31063403999999994 0.038758544000000006 Calling exit ...