Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.001745/0.001745, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.2 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.002703/0.002703, allocations: 0.5721 MB / 291.7 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 63.91 kB / 353 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1894, allocations: 49.6 MB / 402.6 MB, free: 35.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001581/0.191, allocations: 0.5729 MB / 403.2 MB, free: 35.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001739/0.1912, allocations: 47.8 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.1913, allocations: 0 / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.1913, allocations: 7.875 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.1914, allocations: 11.92 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.28e-05/0.1915, allocations: 11.98 kB / 403.3 MB, free: 35.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.1915, allocations: 47.89 kB / 403.3 MB, free: 35.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.1916, allocations: 7.656 kB / 403.3 MB, free: 35.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.1916, allocations: 23.91 kB / 403.3 MB, free: 35.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.1917, allocations: 31.84 kB / 403.4 MB, free: 35.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1917, allocations: 4 kB / 403.4 MB, free: 35.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.1917, allocations: 4 kB / 403.4 MB, free: 35.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.1917, allocations: 11.92 kB / 403.4 MB, free: 35.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.1918, allocations: 23.86 kB / 403.4 MB, free: 35.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.013e-05/0.1918, allocations: 31.88 kB / 403.4 MB, free: 35.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1918, allocations: 0 / 403.4 MB, free: 35.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1919, allocations: 0 / 403.4 MB, free: 35.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1919, allocations: 1.625 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.0003819/0.1922, allocations: 377.1 kB / 403.8 MB, free: 34.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.1923, allocations: 8.031 kB / 403.8 MB, free: 34.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1923, allocations: 8.844 kB / 403.8 MB, free: 34.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.219e-05/0.1924, allocations: 176.2 kB / 404 MB, free: 34.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1924, allocations: 8.375 kB / 404 MB, free: 34.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1925, allocations: 12.31 kB / 404 MB, free: 34.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1926, allocations: 78.08 kB / 404.1 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1926, allocations: 4.188 kB / 404.1 MB, free: 34.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1926, allocations: 3.938 kB / 404.1 MB, free: 34.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1926, allocations: 4 kB / 404.1 MB, free: 34.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.1927, allocations: 35.98 kB / 404.1 MB, free: 34.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.193, allocations: 308.8 kB / 404.4 MB, free: 33.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.1933, allocations: 110.5 kB / 404.5 MB, free: 33.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.441e-05/0.1933, allocations: 32.84 kB / 404.6 MB, free: 33.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.1934, allocations: 0 / 404.6 MB, free: 33.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.1934, allocations: 38.56 kB / 404.6 MB, free: 33.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1934, allocations: 0 / 404.6 MB, free: 33.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002823/0.1962, allocations: 0.8576 MB / 405.5 MB, free: 32.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.1962, allocations: 63.34 kB / 405.5 MB, free: 32.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.351e-05/0.1963, allocations: 105.8 kB / 405.6 MB, free: 32.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1963, allocations: 29.7 kB / 405.7 MB, free: 32.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.1964, allocations: 95.91 kB / 405.8 MB, free: 32.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1964, allocations: 55.19 kB / 405.8 MB, free: 32.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.1964, allocations: 29.72 kB / 405.8 MB, free: 32.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.1965, allocations: 326.8 kB / 406.2 MB, free: 32.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.1965, allocations: 35.98 kB / 406.2 MB, free: 32.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.1966, allocations: 66.2 kB / 406.3 MB, free: 31.98 MB / 302.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/0.1989, allocations: 476.2 kB / 406.7 MB, free: 31.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1989, allocations: 0 / 406.7 MB, free: 31.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001317/0.2002, allocations: 336.3 kB / 407.1 MB, free: 31.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2002, allocations: 4 kB / 407.1 MB, free: 31.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2002, allocations: 0 / 407.1 MB, free: 31.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.2019, allocations: 264.6 kB / 407.3 MB, free: 30.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.202, allocations: 19.94 kB / 407.3 MB, free: 30.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.2045, allocations: 1.934 MB / 409.3 MB, free: 28.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.2046, allocations: 7.938 kB / 409.3 MB, free: 28.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.2046, allocations: 4.062 kB / 409.3 MB, free: 28.8 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: $DER.E1 = 0.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 (10): * Single equations (assignments): 9 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.2048, allocations: 121.8 kB / 409.4 MB, free: 28.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.2048, allocations: 15.83 kB / 409.4 MB, free: 28.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.2049, allocations: 20.5 kB / 409.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2049, allocations: 0 / 409.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2049, allocations: 0 / 409.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2049, allocations: 0 / 409.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.205, allocations: 209.7 kB / 409.6 MB, free: 28.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.205, allocations: 3.938 kB / 409.6 MB, free: 28.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.2051, allocations: 8 kB / 409.7 MB, free: 28.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.2069, allocations: 280.4 kB / 409.9 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2069, allocations: 0 / 409.9 MB, free: 28.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.2085, allocations: 1.947 MB / 411.9 MB, free: 26.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2085, allocations: 0 / 411.9 MB, free: 26.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008937/0.2094, allocations: 399.8 kB / 412.3 MB, free: 25.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.2095, allocations: 89.05 kB / 412.4 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2095, allocations: 7.938 kB / 412.4 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2096, allocations: 4 kB / 412.4 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.2096, allocations: 11.98 kB / 412.4 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.2096, allocations: 7.984 kB / 412.4 MB, free: 25.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.614e-05/0.2097, allocations: 83.28 kB / 412.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2097, allocations: 0 / 412.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.21, allocations: 40 kB / 412.5 MB, free: 25.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,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 (8): * Single equations (assignments): 7 * 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 {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.697e-05/0.2101, allocations: 105.2 kB / 412.6 MB, free: 25.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.2108, allocations: 326.5 kB / 412.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2108, allocations: 0 / 412.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.211, allocations: 222.6 kB / 413.1 MB, free: 24.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.2113, allocations: 8.688 kB / 413.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.2116, allocations: 245.4 kB / 413.4 MB, free: 24.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.427e-05/0.2117, allocations: 0.7045 MB / 414.1 MB, free: 23.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.532e-05/0.2117, allocations: 0.5625 kB / 414.1 MB, free: 23.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.2118, allocations: 15.38 kB / 414.1 MB, free: 23.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2118, allocations: 0 / 414.1 MB, free: 23.65 MB / 302.1 MB Notification: Performance of Templates: time 0.004358/0.2161, allocations: 2.365 MB / 416.5 MB, free: 21.34 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)