Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 113.1 kB / 16.37 MB, free: 6.008 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.001152/0.001152, allocations: 192.7 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.353/1.353, 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.002658/0.002657, allocations: 0.5678 MB / 291.7 MB, free: 14.22 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 63.89 kB / 353 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2014, allocations: 49.6 MB / 402.6 MB, free: 36.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001643/0.2031, allocations: 0.5744 MB / 403.2 MB, free: 35.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001838/0.2033, allocations: 47.8 kB / 403.2 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.2034, allocations: 0 / 403.2 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.2034, allocations: 7.938 kB / 403.2 MB, free: 35.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.2035, allocations: 7.875 kB / 403.2 MB, free: 35.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.72e-05/0.2036, allocations: 19.95 kB / 403.3 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.2037, allocations: 51.84 kB / 403.3 MB, free: 35.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.2037, allocations: 4 kB / 403.3 MB, free: 35.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.2037, allocations: 19.92 kB / 403.3 MB, free: 35.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.2038, allocations: 35.83 kB / 403.4 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.2038, allocations: 4 kB / 403.4 MB, free: 35.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.2039, allocations: 4 kB / 403.4 MB, free: 35.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.2039, allocations: 7.984 kB / 403.4 MB, free: 35.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.2039, allocations: 27.8 kB / 403.4 MB, free: 35.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.607e-05/0.204, allocations: 31.88 kB / 403.4 MB, free: 35.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.204, allocations: 0 / 403.4 MB, free: 35.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.204, allocations: 4 kB / 403.4 MB, free: 35.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.204, allocations: 0 / 403.4 MB, free: 35.24 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.000429/0.2044, allocations: 373.2 kB / 403.8 MB, free: 34.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.2045, allocations: 11.89 kB / 403.8 MB, free: 34.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.2045, allocations: 12.84 kB / 403.8 MB, free: 34.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.283e-05/0.2046, allocations: 176.2 kB / 404 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.2046, allocations: 4.375 kB / 404 MB, free: 34.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.2047, allocations: 16.36 kB / 404 MB, free: 34.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.2048, allocations: 70.17 kB / 404.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2048, allocations: 192 / 404.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.2048, allocations: 3.938 kB / 404.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2048, allocations: 4 kB / 404.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.2049, allocations: 35.98 kB / 404.1 MB, free: 34.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.2053, allocations: 312.7 kB / 404.4 MB, free: 34.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.2055, allocations: 122.7 kB / 404.6 MB, free: 33.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.2056, allocations: 44.78 kB / 404.6 MB, free: 33.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.2056, allocations: 3.984 kB / 404.6 MB, free: 33.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.2056, allocations: 34.56 kB / 404.6 MB, free: 33.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.2056, allocations: 0 / 404.6 MB, free: 33.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002475/0.2081, allocations: 0.7835 MB / 405.4 MB, free: 33.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2081, allocations: 55.41 kB / 405.5 MB, free: 32.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.2082, allocations: 109.8 kB / 405.6 MB, free: 32.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2082, allocations: 25.7 kB / 405.6 MB, free: 32.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.2083, allocations: 96.45 kB / 405.7 MB, free: 32.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.2083, allocations: 59.09 kB / 405.8 MB, free: 32.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.2084, allocations: 45.64 kB / 405.8 MB, free: 32.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.2085, allocations: 318.8 kB / 406.1 MB, free: 32.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.2085, allocations: 39.98 kB / 406.2 MB, free: 32.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.2086, allocations: 67.38 kB / 406.2 MB, free: 32.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.2111, allocations: 0.565 MB / 406.8 MB, free: 31.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2111, allocations: 7.938 kB / 406.8 MB, free: 31.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001482/0.2126, allocations: 365.9 kB / 407.1 MB, free: 31.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2126, allocations: 12.02 kB / 407.2 MB, free: 31.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2126, allocations: 7.875 kB / 407.2 MB, free: 31.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.2143, allocations: 282.1 kB / 407.4 MB, free: 30.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.2144, allocations: 15.98 kB / 407.5 MB, free: 30.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.2176, allocations: 2.371 MB / 409.8 MB, free: 28.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.193e-05/0.2177, allocations: 12 kB / 409.8 MB, free: 28.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.2177, allocations: 7.938 kB / 409.9 MB, free: 28.38 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.p2 = 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 9.639e-05/0.2178, allocations: 125.7 kB / 410 MB, free: 28.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.2179, allocations: 7.906 kB / 410 MB, free: 28.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.2179, allocations: 20.88 kB / 410 MB, free: 28.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2179, allocations: 0 / 410 MB, free: 28.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2179, allocations: 4 kB / 410 MB, free: 28.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2179, allocations: 0 / 410 MB, free: 28.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.2191, allocations: 0.5662 MB / 410.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2191, allocations: 0 / 410.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.2192, allocations: 12 kB / 410.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.221, allocations: 284.4 kB / 410.9 MB, free: 27.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.221, allocations: 8 kB / 410.9 MB, free: 27.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.223, allocations: 1.987 MB / 412.9 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2231, allocations: 0 / 412.9 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009261/0.224, allocations: 436.6 kB / 413.3 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.224, allocations: 89 kB / 413.4 MB, free: 24.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.224, allocations: 4 kB / 413.4 MB, free: 24.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2242, allocations: 8 kB / 413.4 MB, free: 24.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.2242, allocations: 11.98 kB / 413.4 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2242, allocations: 3.984 kB / 413.4 MB, free: 24.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.771e-05/0.2243, allocations: 91.22 kB / 413.5 MB, free: 24.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2243, allocations: 0 / 413.5 MB, free: 24.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000367/0.2246, allocations: 40 kB / 413.5 MB, free: 24.45 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 8.284e-05/0.2247, allocations: 103.1 kB / 413.6 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005641/0.2253, allocations: 317 kB / 413.9 MB, free: 24.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2253, allocations: 0 / 413.9 MB, free: 24.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000465/0.2258, allocations: 261.9 kB / 414.2 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.226, allocations: 8.703 kB / 414.2 MB, free: 23.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.2263, allocations: 253.1 kB / 414.4 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.2265, allocations: 0.7046 MB / 415.2 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.542e-05/0.2265, allocations: 8.875 kB / 415.2 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.2265, allocations: 11.44 kB / 415.2 MB, free: 22.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2265, allocations: 0 / 415.2 MB, free: 22.72 MB / 302.1 MB Notification: Performance of Templates: time 0.004545/0.2311, allocations: 2.557 MB / 417.7 MB, free: 20.22 MB / 302.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)