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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009773/0.0009773, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.136/1.136, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.00608/0.00608, allocations: 428.2 kB / 260.7 MB, free: 12.52 MB / 250.7 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 277.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.207e-05, allocations: 2.312 kB / 277.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.004516/0.004538, allocations: 0.5902 MB / 277.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001892/0.004727, allocations: 55.73 kB / 278 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.004759, allocations: 0 / 278 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.004773, allocations: 0 / 278 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.653e-05/0.004849, allocations: 11.88 kB / 278 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.328e-05/0.004923, allocations: 11.97 kB / 278 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.004995, allocations: 47.83 kB / 278 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.005033, allocations: 4 kB / 278 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.005092, allocations: 31.95 kB / 278.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.005157, allocations: 27.89 kB / 278.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.005178, allocations: 0 / 278.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.005188, allocations: 4 kB / 278.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.005207, allocations: 4 kB / 278.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.00523, allocations: 19.91 kB / 278.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.429e-05/0.005304, allocations: 43.73 kB / 278.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005307, allocations: 8 kB / 278.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005308, allocations: 0 / 278.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.005311, allocations: 0 / 278.2 MB, free: 11.01 MB / 266.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.0003594/0.00567, allocations: 276.8 kB / 278.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.005704, allocations: 8.031 kB / 278.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.005734, allocations: 4.938 kB / 278.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.607e-05/0.005821, allocations: 113.7 kB / 278.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.005832, allocations: 4.375 kB / 278.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.00586, allocations: 20.33 kB / 278.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.326e-05/0.005953, allocations: 62.16 kB / 278.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005961, allocations: 192 / 278.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.005969, allocations: 384 / 278.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.005976, allocations: 4.359 kB / 278.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.006017, allocations: 23.92 kB / 278.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.00633, allocations: 196.3 kB / 278.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.006512, allocations: 94.53 kB / 279 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.006546, allocations: 32.78 kB / 279 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.006556, allocations: 4 kB / 279 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.006577, allocations: 30.56 kB / 279 MB, free: 10.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.006578, allocations: 0 / 279 MB, free: 10.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.00217/0.008748, allocations: 0.8487 MB / 279.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.008777, allocations: 63.33 kB / 280 MB, free: 9.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/0.008838, allocations: 114.7 kB / 280.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.008852, allocations: 33.69 kB / 280.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.008893, allocations: 96.41 kB / 280.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.008928, allocations: 59.47 kB / 280.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.008977, allocations: 41.64 kB / 280.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.009057, allocations: 318.8 kB / 280.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.009087, allocations: 20 kB / 280.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.865e-05/0.009135, allocations: 48.94 kB / 280.7 MB, free: 8.34 MB / 266.7 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.009306, allocations: 116.5 kB / 280.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.009307, allocations: 0 / 280.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004655/0.009773, allocations: 198.2 kB / 281 MB, free: 8.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.009786, allocations: 11.98 kB / 281 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.009792, allocations: 3.938 kB / 281 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.01039, allocations: 184.6 kB / 281.2 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.01045, allocations: 19.98 kB / 281.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.01221, allocations: 1.602 MB / 282.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.01226, allocations: 15.92 kB / 282.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.01227, allocations: 4 kB / 282.8 MB, free: 6.094 MB / 266.7 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 8.353e-05/0.01235, allocations: 121.8 kB / 282.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.01238, allocations: 8 kB / 282.9 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.01241, allocations: 20.77 kB / 283 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01241, allocations: 4 kB / 283 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.01242, allocations: 0 / 283 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01242, allocations: 0 / 283 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.01312, allocations: 408 kB / 283.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01312, allocations: 4 kB / 283.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.01316, allocations: 15.98 kB / 283.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.01423, allocations: 316.4 kB / 283.7 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01424, allocations: 4 kB / 283.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.0156, allocations: 1.614 MB / 285.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0156, allocations: 0 / 285.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.01612, allocations: 355.4 kB / 285.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.01613, allocations: 11.95 kB / 285.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.01615, allocations: 4 kB / 285.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.01622, allocations: 4 kB / 285.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.01625, allocations: 15.97 kB / 285.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.01625, allocations: 7.984 kB / 285.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.557e-05/0.01627, allocations: 8.859 kB / 285.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01627, allocations: 0 / 285.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.01657, allocations: 36 kB / 285.7 MB, free: 3.012 MB / 266.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 () * 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 8.489e-05/0.01666, allocations: 84.36 kB / 285.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004311/0.01709, allocations: 285.8 kB / 286.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.01709, allocations: 0 / 286.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.01739, allocations: 235.2 kB / 286.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.01754, allocations: 15.98 kB / 286.3 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.01788, allocations: 229.9 kB / 286.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.781e-05/0.01793, allocations: 71.83 kB / 286.6 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.01796, allocations: 4.984 kB / 286.6 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.018, allocations: 55.38 kB / 286.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.018, allocations: 0 / 286.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of Templates: time 0.1108/0.1288, allocations: 2.096 MB / 288.8 MB, free: 27.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.makefile [Timeout 660] (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=240 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.9081200980581343]