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.004889/0.004889, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001108/0.001108, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.458/1.458, allocations: 222.9 MB / 240.5 MB, free: 4.547 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.002708/0.002708, allocations: 0.5661 MB / 291.2 MB, free: 1.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 63.89 kB / 351.5 MB, free: 2.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.09978, allocations: 49.59 MB / 401.1 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001867/0.1017, allocations: 0.6534 MB / 401.8 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.1019, allocations: 51.73 kB / 401.8 MB, free: 420 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.102, allocations: 0 / 401.8 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.102, allocations: 0 / 401.8 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.344e-05/0.1021, allocations: 7.938 kB / 401.8 MB, free: 412 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.093e-05/0.1022, allocations: 11.98 kB / 401.8 MB, free: 400 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.084e-05/0.1023, allocations: 47.89 kB / 401.9 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.1023, allocations: 4 kB / 401.9 MB, free: 348 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.1024, allocations: 23.92 kB / 401.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.1024, allocations: 35.83 kB / 402 MB, free: 288 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1024, allocations: 4 kB / 402 MB, free: 284 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.1025, allocations: 4 kB / 402 MB, free: 280 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.1025, allocations: 19.86 kB / 402 MB, free: 260 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.1025, allocations: 19.86 kB / 402 MB, free: 240 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.933e-05/0.1026, allocations: 11.97 kB / 402 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1026, allocations: 0 / 402 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1026, allocations: 4 kB / 402 MB, free: 224 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1026, allocations: 0 / 402 MB, free: 224 kB / 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.1672/0.2699, allocations: 371.2 kB / 402.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2699, allocations: 10.25 kB / 402.4 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.27, allocations: 7.656 kB / 402.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2701, allocations: 181.2 kB / 402.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.2701, allocations: 2.938 kB / 402.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.2702, allocations: 8.734 kB / 402.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.2703, allocations: 75.98 kB / 402.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2703, allocations: 3.75 kB / 402.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2704, allocations: 8 kB / 402.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2704, allocations: 2.219 kB / 402.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.2705, allocations: 36.98 kB / 402.7 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.271, allocations: 309.2 kB / 403 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.2713, allocations: 125.3 kB / 403.1 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.2714, allocations: 39.27 kB / 403.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2714, allocations: 8.047 kB / 403.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.2715, allocations: 31.98 kB / 403.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.2715, allocations: 0.8125 kB / 403.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003784/0.2753, allocations: 0.9292 MB / 404.1 MB, free: 9.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.2753, allocations: 58.17 kB / 404.2 MB, free: 9.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.2754, allocations: 108.7 kB / 404.3 MB, free: 9.668 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2754, allocations: 30.36 kB / 404.3 MB, free: 9.637 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.2755, allocations: 85.36 kB / 404.4 MB, free: 9.551 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.2755, allocations: 60.03 kB / 404.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.2756, allocations: 41.45 kB / 404.5 MB, free: 9.492 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.2756, allocations: 319.6 kB / 404.8 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.2757, allocations: 41.89 kB / 404.9 MB, free: 9.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.2758, allocations: 68.84 kB / 404.9 MB, free: 9.16 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.002866/0.2787, allocations: 0.5675 MB / 405.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2787, allocations: 0 / 405.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009806/0.2797, allocations: 281.4 kB / 405.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.2798, allocations: 5.25 kB / 405.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.2798, allocations: 2.75 kB / 405.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009727/0.2807, allocations: 163.1 kB / 405.9 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.2808, allocations: 16.78 kB / 406 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.2832, allocations: 1.799 MB / 407.8 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.2834, allocations: 0 / 407.8 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2834, allocations: 7.531 kB / 407.8 MB, free: 7.34 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 system: 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.0001072/0.2835, allocations: 122.3 kB / 407.9 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.2835, allocations: 11.69 kB / 407.9 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.2836, allocations: 22.3 kB / 407.9 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2836, allocations: 0.6562 kB / 407.9 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.2836, allocations: 3.781 kB / 407.9 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2836, allocations: 0.5625 kB / 407.9 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.285, allocations: 0.5628 MB / 408.5 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.285, allocations: 0 / 408.5 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.285, allocations: 21.02 kB / 408.5 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/0.287, allocations: 291.8 kB / 408.8 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.2871, allocations: 2.016 kB / 408.8 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/0.2894, allocations: 1.792 MB / 410.6 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2894, allocations: 1.281 kB / 410.6 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2906, allocations: 435.2 kB / 411 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.2906, allocations: 84.03 kB / 411.1 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2906, allocations: 7.016 kB / 411.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2908, allocations: 5.156 kB / 411.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.2908, allocations: 13.08 kB / 411.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.2908, allocations: 12.38 kB / 411.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.2909, allocations: 88.48 kB / 411.2 MB, free: 4.785 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2909, allocations: 4 kB / 411.2 MB, free: 4.781 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.2913, allocations: 34.56 kB / 411.3 MB, free: 4.773 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.193e-05/0.2914, allocations: 96.53 kB / 411.3 MB, free: 4.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008229/0.2922, allocations: 314.8 kB / 411.7 MB, free: 4.504 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2922, allocations: 0 / 411.7 MB, free: 4.504 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005602/0.2928, allocations: 254.7 kB / 411.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.293, allocations: 12.08 kB / 411.9 MB, free: 4.336 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.2936, allocations: 312.7 kB / 412.2 MB, free: 4.086 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2937, allocations: 0.7014 MB / 412.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.2938, allocations: 11.78 kB / 412.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2938, allocations: 0 / 412.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of Templates: time 0.004638/0.2984, allocations: 1.607 MB / 414.5 MB, free: 3.316 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)