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.001451/0.001451, allocations: 110.8 kB / 16.37 MB, free: 6.004 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.001564/0.001564, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.18 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.002596/0.002596, allocations: 0.5568 MB / 291.7 MB, free: 14.21 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 55.91 kB / 353 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1732, allocations: 49.6 MB / 402.6 MB, free: 35.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.00137/0.1746, allocations: 0.5612 MB / 403.2 MB, free: 35.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001486/0.1748, allocations: 59.45 kB / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.1748, allocations: 0 / 403.2 MB, free: 35.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.1748, allocations: 7.875 kB / 403.2 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.1749, allocations: 7.922 kB / 403.2 MB, free: 35.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.751e-05/0.175, allocations: 11.97 kB / 403.3 MB, free: 35.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.175, allocations: 43.91 kB / 403.3 MB, free: 35.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.1751, allocations: 4 kB / 403.3 MB, free: 35.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.186e-05/0.1751, allocations: 23.91 kB / 403.3 MB, free: 35.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.1751, allocations: 34.78 kB / 403.4 MB, free: 35.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1752, allocations: 4 kB / 403.4 MB, free: 35.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.1752, allocations: 4 kB / 403.4 MB, free: 35.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.1752, allocations: 15.92 kB / 403.4 MB, free: 35.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.1752, allocations: 19.86 kB / 403.4 MB, free: 35.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.071e-05/0.1753, allocations: 31.88 kB / 403.4 MB, free: 35.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1753, allocations: 0 / 403.4 MB, free: 35.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1753, allocations: 0 / 403.4 MB, free: 35.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1753, allocations: 1.75 kB / 403.4 MB, free: 35.09 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.0003499/0.1757, allocations: 377.1 kB / 403.8 MB, free: 34.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.337e-05/0.1757, allocations: 8.031 kB / 403.8 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.1757, allocations: 8.844 kB / 403.8 MB, free: 34.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.842e-05/0.1758, allocations: 184.2 kB / 404 MB, free: 34.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1758, allocations: 8.359 kB / 404 MB, free: 34.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1758, allocations: 12.31 kB / 404 MB, free: 34.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.166e-05/0.1759, allocations: 66.23 kB / 404.1 MB, free: 34.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.1759, allocations: 192 / 404.1 MB, free: 34.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.176, allocations: 3.938 kB / 404.1 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.176, allocations: 7.938 kB / 404.1 MB, free: 34.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.165e-05/0.176, allocations: 39.92 kB / 404.1 MB, free: 34.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.1764, allocations: 308.9 kB / 404.4 MB, free: 33.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1766, allocations: 106.5 kB / 404.5 MB, free: 33.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.1766, allocations: 32.84 kB / 404.6 MB, free: 33.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1767, allocations: 0 / 404.6 MB, free: 33.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.135e-05/0.1767, allocations: 42.56 kB / 404.6 MB, free: 33.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.1767, allocations: 0 / 404.6 MB, free: 33.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002812/0.1795, allocations: 0.8501 MB / 405.5 MB, free: 32.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.536e-05/0.1795, allocations: 55.41 kB / 405.5 MB, free: 32.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.1796, allocations: 117.8 kB / 405.6 MB, free: 32.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.1796, allocations: 29.7 kB / 405.7 MB, free: 32.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/0.1796, allocations: 95.89 kB / 405.8 MB, free: 32.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1797, allocations: 59.19 kB / 405.8 MB, free: 32.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.1797, allocations: 25.72 kB / 405.8 MB, free: 32.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.1797, allocations: 326.8 kB / 406.2 MB, free: 32.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.1798, allocations: 43.98 kB / 406.2 MB, free: 32.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.1799, allocations: 66.14 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.002308/0.1822, allocations: 471 kB / 406.7 MB, free: 31.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1822, allocations: 0 / 406.7 MB, free: 31.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001331/0.1835, allocations: 333.9 kB / 407 MB, free: 31.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1836, allocations: 10.17 kB / 407.1 MB, free: 31.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1836, allocations: 4 kB / 407.1 MB, free: 31.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.1852, allocations: 256.5 kB / 407.3 MB, free: 30.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.1853, allocations: 23.98 kB / 407.3 MB, free: 30.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.1878, allocations: 1.934 MB / 409.3 MB, free: 28.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.1879, allocations: 11.92 kB / 409.3 MB, free: 28.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1879, allocations: 16.05 kB / 409.3 MB, free: 28.79 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 8.779e-05/0.188, allocations: 114.7 kB / 409.4 MB, free: 28.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.188, allocations: 7.844 kB / 409.4 MB, free: 28.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.1881, allocations: 20.5 kB / 409.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1881, allocations: 0 / 409.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1881, allocations: 4 kB / 409.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1881, allocations: 0 / 409.4 MB, free: 28.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1882, allocations: 197.6 kB / 409.6 MB, free: 28.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1883, allocations: 7.938 kB / 409.6 MB, free: 28.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.1883, allocations: 12 kB / 409.7 MB, free: 28.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.19, allocations: 276.4 kB / 409.9 MB, free: 28.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1901, allocations: 8 kB / 409.9 MB, free: 28.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.1917, allocations: 1.936 MB / 411.9 MB, free: 26.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1917, allocations: 4.125 kB / 411.9 MB, free: 26.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.1925, allocations: 415.3 kB / 412.3 MB, free: 25.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.1926, allocations: 81.02 kB / 412.4 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1926, allocations: 7.938 kB / 412.4 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1927, allocations: 4 kB / 412.4 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.1927, allocations: 8.031 kB / 412.4 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1928, allocations: 7.984 kB / 412.4 MB, free: 25.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.374e-05/0.1928, allocations: 87.47 kB / 412.5 MB, free: 25.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1928, allocations: 3.938 kB / 412.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000297/0.1931, allocations: 39.94 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 5.971e-05/0.1932, allocations: 104.5 kB / 412.6 MB, free: 25.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006308/0.1938, allocations: 326.4 kB / 412.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1938, allocations: 0 / 412.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.1941, allocations: 218.5 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.000208/0.1943, allocations: 12.69 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.0002813/0.1946, allocations: 243.7 kB / 413.4 MB, free: 24.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.732e-05/0.1947, allocations: 0.7045 MB / 414.1 MB, free: 23.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.233e-05/0.1947, allocations: 8.547 kB / 414.1 MB, free: 23.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.1947, allocations: 11.44 kB / 414.1 MB, free: 23.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1947, allocations: 0 / 414.1 MB, free: 23.65 MB / 302.1 MB Notification: Performance of Templates: time 0.003824/0.1986, allocations: 2.353 MB / 416.5 MB, free: 21.35 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 gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)