Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 104.5 kB / 16.35 MB, free: 5.824 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.001635/0.001635, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.16 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.00258/0.00258, allocations: 0.5629 MB / 291.7 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 353 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1776, allocations: 49.59 MB / 402.6 MB, free: 35.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001502/0.1791, allocations: 0.5712 MB / 403.2 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001596/0.1793, allocations: 51.8 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.1793, allocations: 0 / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.1793, allocations: 7.938 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.1794, allocations: 3.938 kB / 403.2 MB, free: 35.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.348e-05/0.1795, allocations: 11.97 kB / 403.2 MB, free: 35.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.1796, allocations: 51.83 kB / 403.3 MB, free: 35.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1796, allocations: 0.5312 kB / 403.3 MB, free: 35.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.1796, allocations: 27.58 kB / 403.3 MB, free: 35.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.1797, allocations: 31.84 kB / 403.3 MB, free: 35.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1797, allocations: 0 / 403.3 MB, free: 35.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.1797, allocations: 4 kB / 403.3 MB, free: 35.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.1797, allocations: 11.98 kB / 403.4 MB, free: 35.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.1798, allocations: 27.8 kB / 403.4 MB, free: 35.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.632e-05/0.1798, allocations: 27.88 kB / 403.4 MB, free: 35.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1798, allocations: 0 / 403.4 MB, free: 35.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1799, allocations: 0 / 403.4 MB, free: 35.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1799, allocations: 4 kB / 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.0003647/0.1802, allocations: 378.3 kB / 403.8 MB, free: 34.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.1803, allocations: 11.89 kB / 403.8 MB, free: 34.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.1803, allocations: 8.844 kB / 403.8 MB, free: 34.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.631e-05/0.1804, allocations: 176.2 kB / 404 MB, free: 34.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1804, allocations: 4.375 kB / 404 MB, free: 34.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1804, allocations: 12.36 kB / 404 MB, free: 34.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.83e-05/0.1805, allocations: 70.22 kB / 404.1 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1805, allocations: 192 / 404.1 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1806, allocations: 7.938 kB / 404.1 MB, free: 34.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1806, allocations: 4 kB / 404.1 MB, free: 34.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.1806, allocations: 43.86 kB / 404.1 MB, free: 34.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.181, allocations: 312.9 kB / 404.4 MB, free: 33.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.1812, allocations: 130.5 kB / 404.5 MB, free: 33.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.1813, allocations: 40.84 kB / 404.6 MB, free: 33.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1813, allocations: 4 kB / 404.6 MB, free: 33.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.091e-05/0.1813, allocations: 30.56 kB / 404.6 MB, free: 33.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.1813, allocations: 0 / 404.6 MB, free: 33.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002978/0.1843, allocations: 0.9268 MB / 405.5 MB, free: 32.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.654e-05/0.1843, allocations: 55.34 kB / 405.6 MB, free: 32.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.1844, allocations: 109.8 kB / 405.7 MB, free: 32.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.1844, allocations: 29.7 kB / 405.7 MB, free: 32.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.1844, allocations: 92.45 kB / 405.8 MB, free: 32.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1845, allocations: 59.11 kB / 405.9 MB, free: 32.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.1845, allocations: 41.64 kB / 405.9 MB, free: 32.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.1846, allocations: 322.8 kB / 406.2 MB, free: 31.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.1846, allocations: 35.98 kB / 406.3 MB, free: 31.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.1847, allocations: 67 kB / 406.3 MB, free: 31.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.1871, allocations: 0.5655 MB / 406.9 MB, free: 31.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1871, allocations: 0 / 406.9 MB, free: 31.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008274/0.188, allocations: 282 kB / 407.2 MB, free: 31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.188, allocations: 4 kB / 407.2 MB, free: 31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.188, allocations: 4 kB / 407.2 MB, free: 30.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008103/0.1888, allocations: 152.7 kB / 407.3 MB, free: 30.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.1889, allocations: 27.88 kB / 407.4 MB, free: 30.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.1909, allocations: 1.97 MB / 409.3 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.191, allocations: 8 kB / 409.3 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.191, allocations: 4.312 kB / 409.3 MB, free: 28.69 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 8.828e-05/0.1911, allocations: 133.9 kB / 409.5 MB, free: 28.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.1911, allocations: 15.78 kB / 409.5 MB, free: 28.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.1912, allocations: 16.84 kB / 409.5 MB, free: 28.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1912, allocations: 4.094 kB / 409.5 MB, free: 28.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1912, allocations: 0 / 409.5 MB, free: 28.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1912, allocations: 3.984 kB / 409.5 MB, free: 28.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.1923, allocations: 0.5662 MB / 410.1 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1923, allocations: 4 kB / 410.1 MB, free: 27.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.1924, allocations: 12 kB / 410.1 MB, free: 27.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.1942, allocations: 292.4 kB / 410.4 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1942, allocations: 0 / 410.4 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.1961, allocations: 1.979 MB / 412.4 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1961, allocations: 4 kB / 412.4 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.197, allocations: 440.6 kB / 412.8 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.1971, allocations: 81.02 kB / 412.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1971, allocations: 4 kB / 412.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1972, allocations: 4 kB / 412.9 MB, free: 24.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.1972, allocations: 19.95 kB / 412.9 MB, free: 24.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1973, allocations: 4 kB / 412.9 MB, free: 24.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.1973, allocations: 95.19 kB / 413 MB, free: 24.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1973, allocations: 4.188 kB / 413 MB, free: 24.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.1976, allocations: 36 kB / 413 MB, free: 24.74 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.124e-05/0.1977, allocations: 99.19 kB / 413.1 MB, free: 24.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000629/0.1983, allocations: 313.4 kB / 413.4 MB, free: 24.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1984, allocations: 0 / 413.4 MB, free: 24.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.1988, allocations: 258.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.0002201/0.1991, allocations: 8 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.0003258/0.1994, allocations: 253.5 kB / 414 MB, free: 23.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.565e-05/0.1995, allocations: 0.7085 MB / 414.7 MB, free: 23.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.522e-05/0.1995, 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.124e-05/0.1996, allocations: 11.44 kB / 414.7 MB, free: 23.01 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1996, allocations: 0 / 414.7 MB, free: 23.01 MB / 302.1 MB Notification: Performance of Templates: time 0.003451/0.203, allocations: 1.742 MB / 416.4 MB, free: 21.32 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)