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.001039/0.001039, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001009/0.001009, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.19 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.002573/0.002573, allocations: 0.5563 MB / 291.7 MB, free: 14.21 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 353 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1756, allocations: 49.59 MB / 402.6 MB, free: 35.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001547/0.1772, allocations: 0.5831 MB / 403.2 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.1774, allocations: 59.73 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.1774, allocations: 0 / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.1775, allocations: 0 / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.1775, allocations: 3.938 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.975e-05/0.1776, allocations: 19.89 kB / 403.3 MB, free: 35.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.1777, allocations: 44.62 kB / 403.3 MB, free: 35.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.1777, allocations: 4 kB / 403.3 MB, free: 35.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.493e-05/0.1778, allocations: 23.58 kB / 403.3 MB, free: 35.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.1778, allocations: 31.84 kB / 403.4 MB, free: 35.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1779, allocations: 4 kB / 403.4 MB, free: 35.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.1779, allocations: 4 kB / 403.4 MB, free: 35.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.1779, allocations: 11.92 kB / 403.4 MB, free: 35.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.1779, allocations: 27.84 kB / 403.4 MB, free: 35.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.779e-05/0.178, allocations: 27.89 kB / 403.4 MB, free: 35.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.178, allocations: 0 / 403.4 MB, free: 35.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.178, allocations: 0 / 403.4 MB, free: 35.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.178, allocations: 0 / 403.4 MB, free: 35.07 MB / 302.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.0003745/0.1784, allocations: 374.1 kB / 403.8 MB, free: 34.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.1784, allocations: 15.89 kB / 403.8 MB, free: 34.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1785, allocations: 12.84 kB / 403.8 MB, free: 34.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.1786, allocations: 180.1 kB / 404 MB, free: 34.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1786, allocations: 4.375 kB / 404 MB, free: 34.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1786, allocations: 8.375 kB / 404 MB, free: 34.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.913e-05/0.1787, allocations: 66.23 kB / 404.1 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.1787, allocations: 4.172 kB / 404.1 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1787, allocations: 11.88 kB / 404.1 MB, free: 34.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1787, allocations: 4 kB / 404.1 MB, free: 34.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.1788, allocations: 35.98 kB / 404.1 MB, free: 34.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.1792, allocations: 312.8 kB / 404.4 MB, free: 33.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1794, allocations: 126.7 kB / 404.6 MB, free: 33.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1795, allocations: 36.84 kB / 404.6 MB, free: 33.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.1795, allocations: 4 kB / 404.6 MB, free: 33.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.048e-05/0.1795, allocations: 34.5 kB / 404.6 MB, free: 33.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1795, allocations: 0 / 404.6 MB, free: 33.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.003071/0.1826, allocations: 0.9258 MB / 405.6 MB, free: 32.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.1827, allocations: 55.39 kB / 405.6 MB, free: 32.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.646e-05/0.1827, allocations: 109.8 kB / 405.7 MB, free: 32.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1827, allocations: 33.7 kB / 405.8 MB, free: 32.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.1828, allocations: 84.47 kB / 405.8 MB, free: 32.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1828, allocations: 59.11 kB / 405.9 MB, free: 32.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.1828, allocations: 41.64 kB / 405.9 MB, free: 32.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.297e-05/0.1829, allocations: 322.8 kB / 406.3 MB, free: 31.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.1829, allocations: 39.98 kB / 406.3 MB, free: 31.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.183, allocations: 63 kB / 406.4 MB, free: 31.88 MB / 302.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/0.1855, allocations: 0.57 MB / 406.9 MB, free: 31.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1855, allocations: 0 / 406.9 MB, free: 31.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008506/0.1864, allocations: 290 kB / 407.2 MB, free: 31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1864, allocations: 4 kB / 407.2 MB, free: 31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1864, allocations: 0 / 407.2 MB, free: 31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008498/0.1873, allocations: 156.7 kB / 407.4 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.1874, allocations: 16 kB / 407.4 MB, free: 30.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.1895, allocations: 1.986 MB / 409.4 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.1896, allocations: 8.062 kB / 409.4 MB, free: 28.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1896, allocations: 4 kB / 409.4 MB, free: 28.68 MB / 302.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 7.102e-05/0.1896, allocations: 129.8 kB / 409.5 MB, free: 28.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1897, allocations: 11.91 kB / 409.5 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.1897, allocations: 20.84 kB / 409.5 MB, free: 28.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1897, allocations: 0 / 409.5 MB, free: 28.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1897, allocations: 4 kB / 409.5 MB, free: 28.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1898, allocations: 0 / 409.5 MB, free: 28.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.1909, allocations: 0.5653 MB / 410.1 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1909, allocations: 0 / 410.1 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.191, allocations: 15.94 kB / 410.1 MB, free: 27.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/0.1929, allocations: 288.4 kB / 410.4 MB, free: 27.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1929, allocations: 0 / 410.4 MB, free: 27.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.1949, allocations: 1.987 MB / 412.4 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1949, allocations: 0 / 412.4 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000944/0.1959, allocations: 434.8 kB / 412.8 MB, free: 25.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.1959, allocations: 85.02 kB / 412.9 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1959, allocations: 4 kB / 412.9 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1961, allocations: 8 kB / 412.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.1961, allocations: 19.89 kB / 412.9 MB, free: 24.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1961, allocations: 4.281 kB / 412.9 MB, free: 24.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.562e-05/0.1961, allocations: 99.56 kB / 413 MB, free: 24.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1962, allocations: 0 / 413 MB, free: 24.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000345/0.1965, allocations: 32 kB / 413.1 MB, free: 24.75 MB / 302.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 6.503e-05/0.1966, allocations: 99.25 kB / 413.2 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00067/0.1972, allocations: 313.6 kB / 413.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1973, allocations: 0 / 413.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.1978, allocations: 262.6 kB / 413.7 MB, free: 24.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.198, allocations: 12.7 kB / 413.7 MB, free: 24.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.1983, allocations: 249 kB / 414 MB, free: 23.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.552e-05/0.1984, allocations: 0.7085 MB / 414.7 MB, free: 23.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.591e-05/0.1985, allocations: 8.875 kB / 414.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.1985, allocations: 11.44 kB / 414.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1985, allocations: 0 / 414.7 MB, free: 23.02 MB / 302.1 MB Notification: Performance of Templates: time 0.003674/0.2022, allocations: 1.759 MB / 416.5 MB, free: 21.31 MB / 302.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 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)