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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008473/0.0008473, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.5 MB / 229.6 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009034, allocations: 97.77 kB / 280.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002475/0.002476, allocations: 0.5701 MB / 331.8 MB, free: 14.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.494e-05/1.497e-05, allocations: 4 kB / 388.6 MB, free: 5.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2491, allocations: 50.57 MB / 439.2 MB, free: 19.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3508, allocations: 74.52 MB / 0.5016 GB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.3512, allocations: 67.89 kB / 0.5017 GB, free: 8.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002676/0.3539, allocations: 0.9197 MB / 0.5026 GB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.354, allocations: 0 / 0.5026 GB, free: 7.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.354, allocations: 0 / 0.5026 GB, free: 7.727 MB / 346.7 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.0004567/0.3544, allocations: 366.3 kB / 0.503 GB, free: 7.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.3545, allocations: 11.98 kB / 0.503 GB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.3546, allocations: 4 kB / 0.503 GB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.3548, allocations: 170.9 kB / 0.5031 GB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3548, allocations: 0 / 0.5031 GB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.3548, allocations: 4 kB / 0.5031 GB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001114/0.3549, allocations: 35.98 kB / 0.5032 GB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3551, allocations: 53.69 kB / 0.5032 GB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3551, allocations: 4.344 kB / 0.5032 GB, free: 7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.3551, allocations: 11.94 kB / 0.5032 GB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.3551, allocations: 0 / 0.5032 GB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.3556, allocations: 285.4 kB / 0.5035 GB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.3559, allocations: 110.7 kB / 0.5036 GB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.356, allocations: 36.86 kB / 0.5036 GB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.356, allocations: 3.938 kB / 0.5037 GB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.356, allocations: 34.56 kB / 0.5037 GB, free: 6.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.356, allocations: 0 / 0.5037 GB, free: 6.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002411/0.3584, allocations: 0.7268 MB / 0.5044 GB, free: 5.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.3585, allocations: 51.41 kB / 0.5044 GB, free: 5.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.3586, allocations: 101 kB / 0.5045 GB, free: 5.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3586, allocations: 25.7 kB / 0.5046 GB, free: 5.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.3586, allocations: 92.38 kB / 0.5047 GB, free: 5.387 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.3587, allocations: 59.11 kB / 0.5047 GB, free: 5.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.3587, allocations: 0 / 0.5047 GB, free: 5.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.3588, allocations: 318.8 kB / 0.505 GB, free: 5.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.3589, allocations: 40.38 kB / 0.5051 GB, free: 4.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.3589, allocations: 58.45 kB / 0.5051 GB, free: 4.906 MB / 346.7 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.002409/0.3614, allocations: 458.5 kB / 0.5055 GB, free: 4.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3614, allocations: 0 / 0.5055 GB, free: 4.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008558/0.3622, allocations: 258 kB / 0.5058 GB, free: 4.184 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3623, allocations: 8 kB / 0.5058 GB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3623, allocations: 0 / 0.5058 GB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008481/0.3631, allocations: 160.6 kB / 0.506 GB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.3632, allocations: 15.98 kB / 0.506 GB, free: 4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.3656, allocations: 1.74 MB / 0.5077 GB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.3657, allocations: 0 / 0.5077 GB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3657, allocations: 4 kB / 0.5077 GB, free: 2.141 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.3658, allocations: 111.5 kB / 0.5078 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.3658, allocations: 15.8 kB / 0.5078 GB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.3659, allocations: 20.69 kB / 0.5078 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3659, allocations: 0 / 0.5078 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3659, allocations: 4 kB / 0.5078 GB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3659, allocations: 0 / 0.5078 GB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.3672, allocations: 0.5177 MB / 0.5083 GB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3672, allocations: 7.938 kB / 0.5083 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.3672, allocations: 11.98 kB / 0.5083 GB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.3691, allocations: 284.5 kB / 0.5086 GB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3691, allocations: 3.984 kB / 0.5086 GB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.3713, allocations: 1.732 MB / 0.5103 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3713, allocations: 0 / 0.5103 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.3723, allocations: 438.4 kB / 0.5107 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.3724, allocations: 81.02 kB / 0.5108 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3724, allocations: 4 kB / 0.5108 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3725, allocations: 4.031 kB / 0.5108 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.3726, allocations: 15.94 kB / 0.5108 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.3726, allocations: 4 kB / 0.5108 GB, free: 14.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.921e-05/0.3726, allocations: 95.58 kB / 0.5109 GB, free: 14.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3726, allocations: 0 / 0.5109 GB, free: 14.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000361/0.373, allocations: 24 kB / 0.5109 GB, free: 14.57 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.3731, allocations: 103.3 kB / 0.511 GB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000694/0.3738, allocations: 281.6 kB / 0.5113 GB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3739, allocations: 0 / 0.5113 GB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.3744, allocations: 237.7 kB / 0.5115 GB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.3746, allocations: 12.16 kB / 0.5115 GB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.3749, allocations: 195.5 kB / 0.5117 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3753, allocations: 0.7085 MB / 0.5124 GB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.256e-05/0.3753, allocations: 4.875 kB / 0.5124 GB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.3753, allocations: 11.44 kB / 0.5124 GB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3753, allocations: 0 / 0.5124 GB, free: 12.95 MB / 362.7 MB Notification: Performance of Templates: time 0.003956/0.3793, allocations: 1.538 MB / 0.5139 GB, free: 11.46 MB / 362.7 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)