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) 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/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009523, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002735/0.002734, allocations: 0.5579 MB / 292.6 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 8 kB / 353.9 MB, free: 2.516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2726, allocations: 50.57 MB / 404.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.0007973/0.2734, allocations: 317.5 kB / 404.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002123/0.2737, allocations: 49.52 kB / 404.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.2737, allocations: 0 / 404.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.2737, allocations: 8.969 kB / 404.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/0.2738, allocations: 1.891 kB / 404.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.478e-05/0.2739, allocations: 14.83 kB / 404.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.148e-05/0.274, allocations: 47.55 kB / 404.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.2741, allocations: 3.922 kB / 404.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.2741, allocations: 22.89 kB / 405 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.2742, allocations: 30.39 kB / 405 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.2743, allocations: 4 kB / 405 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.2743, allocations: 7.656 kB / 405 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.2743, allocations: 14.52 kB / 405 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.935e-05/0.2744, allocations: 52.78 kB / 405.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.68e-05/0.2744, allocations: 14.67 kB / 405.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2744, allocations: 0.6875 kB / 405.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2745, allocations: 3.938 kB / 405.1 MB, free: 10.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2745, allocations: 1.156 kB / 405.1 MB, free: 10.51 MB / 286.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.0004352/0.2749, allocations: 364.3 kB / 405.4 MB, free: 10.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.275, allocations: 13.97 kB / 405.5 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.275, allocations: 10.5 kB / 405.5 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2751, allocations: 170.8 kB / 405.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2751, allocations: 6.375 kB / 405.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.2752, allocations: 11.22 kB / 405.7 MB, free: 9.938 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.2753, allocations: 70.45 kB / 405.7 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2754, allocations: 2.812 kB / 405.7 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2754, allocations: 7.625 kB / 405.7 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2754, allocations: 1.469 kB / 405.7 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.2755, allocations: 36.64 kB / 405.8 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.276, allocations: 316.7 kB / 406.1 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.2763, allocations: 122.1 kB / 406.2 MB, free: 9.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.488e-05/0.2764, allocations: 38.02 kB / 406.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.2764, allocations: 5.5 kB / 406.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.2765, allocations: 33.75 kB / 406.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.2765, allocations: 1.125 kB / 406.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0038/0.2803, allocations: 0.9364 MB / 407.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2803, allocations: 55.14 kB / 407.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.2804, allocations: 115.9 kB / 407.4 MB, free: 9.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2804, allocations: 31.36 kB / 407.4 MB, free: 9.039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.2805, allocations: 92.7 kB / 407.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.2805, allocations: 60.06 kB / 407.6 MB, free: 8.898 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.2806, allocations: 22.56 kB / 407.6 MB, free: 8.879 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.2806, allocations: 324.8 kB / 407.9 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.2807, allocations: 47.67 kB / 407.9 MB, free: 8.539 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.585e-05/0.2808, allocations: 64.08 kB / 408 MB, free: 8.508 MB / 286.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 100000.0 (200000.0 = 100000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.2842, allocations: 0.5983 MB / 408.6 MB, free: 8.297 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2842, allocations: 0 / 408.6 MB, free: 8.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001087/0.2853, allocations: 279.8 kB / 408.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2853, allocations: 10.09 kB / 408.9 MB, free: 8.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2853, allocations: 0 / 408.9 MB, free: 8.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.2866, allocations: 193.5 kB / 409.1 MB, free: 8.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.2868, allocations: 16.8 kB / 409.1 MB, free: 8.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.2893, allocations: 1.811 MB / 410.9 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.2894, allocations: 4.938 kB / 410.9 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.2894, allocations: 4.453 kB / 410.9 MB, free: 6.609 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: p1 = 100000.0. 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.0001127/0.2896, allocations: 123.6 kB / 411 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.2896, allocations: 12.19 kB / 411 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.2897, allocations: 21.92 kB / 411.1 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2897, allocations: 1.688 kB / 411.1 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.2897, allocations: 3.5 kB / 411.1 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2897, allocations: 0.6562 kB / 411.1 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.2911, allocations: 0.5727 MB / 411.6 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2911, allocations: 0 / 411.6 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.2911, allocations: 12.77 kB / 411.7 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.2936, allocations: 313.9 kB / 412 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2936, allocations: 7.078 kB / 412 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/0.2961, allocations: 1.808 MB / 413.8 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2961, allocations: 1.094 kB / 413.8 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.2973, allocations: 437.3 kB / 414.2 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.2973, allocations: 88.42 kB / 414.3 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2973, allocations: 6.531 kB / 414.3 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2974, allocations: 6.578 kB / 414.3 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.2975, allocations: 13 kB / 414.3 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2975, allocations: 4.234 kB / 414.3 MB, free: 4.125 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.2976, allocations: 88.62 kB / 414.4 MB, free: 4.047 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2976, allocations: 0 / 414.4 MB, free: 4.047 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.298, allocations: 34.94 kB / 414.4 MB, free: 4.039 MB / 286.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 9.47e-05/0.2981, allocations: 101.6 kB / 414.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000797/0.2989, allocations: 313 kB / 414.9 MB, free: 3.766 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2989, allocations: 4.062 kB / 414.9 MB, free: 3.762 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.2994, allocations: 262.7 kB / 415.1 MB, free: 3.598 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.2997, allocations: 11.72 kB / 415.1 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.3001, allocations: 319.8 kB / 415.4 MB, free: 3.336 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3003, allocations: 0.7022 MB / 416.1 MB, free: 2.641 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.3003, allocations: 15.56 kB / 416.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3003, allocations: 0 / 416.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of Templates: time 0.003701/0.304, allocations: 1.623 MB / 417.8 MB, free: 2.559 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.makefile (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)