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.0009825/0.0009824, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008122/0.0008123, allocations: 92.05 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002314/0.002315, allocations: 0.5643 MB / 337.1 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.71e-05, allocations: 4 kB / 395.5 MB, free: 70.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 50.57 MB / 446 MB, free: 20 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4088/0.525, allocations: 75.19 MB / 0.509 GB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.5253, allocations: 65.89 kB / 0.5091 GB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002432/0.5277, allocations: 0.9251 MB / 0.51 GB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5277, allocations: 0 / 0.51 GB, free: 11.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.5278, allocations: 0 / 0.51 GB, free: 11.82 MB / 330.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.0004245/0.5282, allocations: 362.9 kB / 0.5103 GB, free: 11.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5282, allocations: 8.031 kB / 0.5103 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.5283, allocations: 8 kB / 0.5103 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.5285, allocations: 170.9 kB / 0.5105 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.5285, allocations: 3.5 kB / 0.5105 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.5286, allocations: 9.125 kB / 0.5105 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.5287, allocations: 67.55 kB / 0.5106 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5288, allocations: 2.734 kB / 0.5106 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.5288, allocations: 352 / 0.5106 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5288, allocations: 7.953 kB / 0.5106 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.5289, allocations: 34.56 kB / 0.5106 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.5296, allocations: 313.8 kB / 0.5109 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.5299, allocations: 114.1 kB / 0.511 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.53, allocations: 41.86 kB / 0.5111 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.53, allocations: 3.984 kB / 0.5111 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.53, allocations: 38.56 kB / 0.5111 GB, free: 10.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.53, allocations: 0 / 0.5111 GB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.003478/0.5335, allocations: 0.9058 MB / 0.512 GB, free: 9.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.5336, allocations: 55.41 kB / 0.512 GB, free: 9.652 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.5337, allocations: 111.1 kB / 0.5121 GB, free: 9.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.5337, allocations: 28.7 kB / 0.5122 GB, free: 9.512 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.5338, allocations: 91.41 kB / 0.5123 GB, free: 9.418 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.5338, allocations: 62.33 kB / 0.5123 GB, free: 9.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.5339, allocations: 7 kB / 0.5123 GB, free: 9.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.534, allocations: 318.3 kB / 0.5126 GB, free: 9.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.5341, allocations: 42.19 kB / 0.5127 GB, free: 9.016 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.409e-05/0.5342, allocations: 61.16 kB / 0.5127 GB, free: 8.969 MB / 330.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.002428/0.5366, allocations: 473.7 kB / 0.5132 GB, free: 8.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5366, allocations: 0 / 0.5132 GB, free: 8.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009337/0.5376, allocations: 274.1 kB / 0.5134 GB, free: 8.281 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5376, allocations: 7.953 kB / 0.5134 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5376, allocations: 3.938 kB / 0.5135 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008809/0.5385, allocations: 156.2 kB / 0.5136 GB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.5386, allocations: 19.12 kB / 0.5136 GB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.5411, allocations: 1.778 MB / 0.5154 GB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.5411, allocations: 0 / 0.5154 GB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.5412, allocations: 7.562 kB / 0.5154 GB, free: 6.348 MB / 330.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.0001083/0.5413, allocations: 124.3 kB / 0.5155 GB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.5413, allocations: 7.906 kB / 0.5155 GB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.5414, allocations: 23.06 kB / 0.5155 GB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5414, allocations: 4 kB / 0.5155 GB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5414, allocations: 0 / 0.5155 GB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.5414, allocations: 0 / 0.5155 GB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.5427, allocations: 0.5697 MB / 0.5161 GB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5427, allocations: 0 / 0.5161 GB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.5427, allocations: 12 kB / 0.5161 GB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.5446, allocations: 286.8 kB / 0.5164 GB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.5446, allocations: 3.062 kB / 0.5164 GB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.5469, allocations: 1.794 MB / 0.5181 GB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5469, allocations: 4 kB / 0.5181 GB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.548, allocations: 443.9 kB / 0.5185 GB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.5481, allocations: 93.84 kB / 0.5186 GB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.5481, allocations: 0 / 0.5186 GB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5482, allocations: 7.125 kB / 0.5186 GB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.5483, allocations: 15.58 kB / 0.5186 GB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5483, allocations: 4 kB / 0.5187 GB, free: 3.055 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.5483, allocations: 91.08 kB / 0.5187 GB, free: 2.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5483, allocations: 0 / 0.5187 GB, free: 2.969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.5487, allocations: 34.25 kB / 0.5188 GB, free: 2.941 MB / 330.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.0001375/0.5488, allocations: 95.25 kB / 0.5189 GB, free: 2.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007993/0.5496, allocations: 305.6 kB / 0.5192 GB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5496, allocations: 0 / 0.5192 GB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.5502, allocations: 253.1 kB / 0.5194 GB, free: 2.344 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.5503, allocations: 14.8 kB / 0.5194 GB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.5507, allocations: 197 kB / 0.5196 GB, free: 2.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.551, allocations: 0.701 MB / 0.5203 GB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.5511, allocations: 8.875 kB / 0.5203 GB, free: 1.406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.5511, allocations: 15.44 kB / 0.5203 GB, free: 1.391 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5511, allocations: 3.938 kB / 0.5203 GB, free: 1.387 MB / 330.7 MB Notification: Performance of Templates: time 0.004047/0.5551, allocations: 1.599 MB / 0.5219 GB, free: 15.84 MB / 346.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)