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.001362/0.001362, allocations: 105.1 kB / 16.41 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003037/0.003037, allocations: 0.5705 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.89 kB / 403.1 MB, free: 32.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07269/0.07409, allocations: 49.59 MB / 452.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001726/0.07586, allocations: 0.6011 MB / 453.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.0761, allocations: 47.8 kB / 453.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.07615, allocations: 0 / 453.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.07621, allocations: 0 / 453.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.07629, allocations: 7.922 kB / 453.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.0764, allocations: 15.92 kB / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.994e-05/0.07649, allocations: 47.83 kB / 453.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.07656, allocations: 8 kB / 453.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.0766, allocations: 19.92 kB / 453.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.483e-05/0.07668, allocations: 31.89 kB / 453.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.07671, allocations: 7.938 kB / 453.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.07673, allocations: 4 kB / 453.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.07675, allocations: 7.984 kB / 453.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.0768, allocations: 31.86 kB / 453.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.265e-05/0.0769, allocations: 31.83 kB / 453.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.07691, allocations: 0 / 453.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.07691, allocations: 3.984 kB / 453.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.07692, allocations: 0 / 453.6 MB, free: 13.63 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.0004797/0.07741, allocations: 375.3 kB / 453.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.07745, allocations: 11.89 kB / 453.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.0775, allocations: 12.83 kB / 454 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.07765, allocations: 168.3 kB / 454.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.07766, allocations: 4.375 kB / 454.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.0777, allocations: 12.28 kB / 454.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.07783, allocations: 62.23 kB / 454.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.07785, allocations: 4.188 kB / 454.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.07787, allocations: 11.94 kB / 454.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.07788, allocations: 0 / 454.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.07796, allocations: 39.97 kB / 454.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.07844, allocations: 308.8 kB / 454.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.07873, allocations: 122.7 kB / 454.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.0788, allocations: 41.02 kB / 454.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.07883, allocations: 7.969 kB / 454.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.07885, allocations: 34.5 kB / 454.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.07886, allocations: 0 / 454.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.003317/0.08218, allocations: 0.9279 MB / 455.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.08223, allocations: 55.41 kB / 455.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.08232, allocations: 109.8 kB / 455.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.08236, allocations: 29.7 kB / 455.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.08242, allocations: 96.36 kB / 456 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.08246, allocations: 55.11 kB / 456 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.08253, allocations: 41.64 kB / 456.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.08265, allocations: 322.8 kB / 456.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.08273, allocations: 39.98 kB / 456.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.597e-05/0.08282, allocations: 67.75 kB / 456.5 MB, free: 10.44 MB / 334.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.08544, allocations: 0.5715 MB / 457.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.08545, allocations: 4 kB / 457.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008968/0.08635, allocations: 278 kB / 457.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.08638, allocations: 4 kB / 457.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.08639, allocations: 0 / 457.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008632/0.08726, allocations: 160.7 kB / 457.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.08735, allocations: 19.98 kB / 457.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.08997, allocations: 1.971 MB / 459.5 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.09007, allocations: 8 kB / 459.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.09009, allocations: 8.172 kB / 459.5 MB, free: 7.25 MB / 334.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.0001207/0.09021, allocations: 134.3 kB / 459.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.09026, allocations: 7.906 kB / 459.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.09032, allocations: 20.88 kB / 459.7 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.09033, allocations: 0 / 459.7 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.09034, allocations: 4 kB / 459.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.09035, allocations: 0 / 459.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.09162, allocations: 0.5739 MB / 460.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.09163, allocations: 0 / 460.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.0917, allocations: 15.94 kB / 460.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.09357, allocations: 288.4 kB / 460.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.0936, allocations: 8 kB / 460.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.09614, allocations: 1.985 MB / 462.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.09615, allocations: 0 / 462.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.09721, allocations: 432.8 kB / 462.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.09726, allocations: 85.02 kB / 463 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.09728, allocations: 0 / 463 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.0974, allocations: 8 kB / 463 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.09745, allocations: 15.86 kB / 463.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.09748, allocations: 15.98 kB / 463.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.09753, allocations: 83.47 kB / 463.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09754, allocations: 0 / 463.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.09789, allocations: 39.94 kB / 463.2 MB, free: 3.312 MB / 334.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.993e-05/0.098, allocations: 106.4 kB / 463.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007651/0.09877, allocations: 315.9 kB / 463.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.09878, allocations: 0 / 463.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005516/0.09934, allocations: 261.8 kB / 463.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.09958, allocations: 11.98 kB / 463.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.1, allocations: 278.6 kB / 464.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1003, allocations: 0.7085 MB / 464.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1004, allocations: 11.44 kB / 464.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1004, allocations: 0 / 464.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of Templates: time 0.003214/0.1036, allocations: 1.612 MB / 466.5 MB, free: 15.95 MB / 350.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)