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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000951/0.0009504, allocations: 97.72 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003445/0.003445, allocations: 0.5506 MB / 331.8 MB, free: 14.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.116e-05/1.118e-05, allocations: 0 / 388.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3194, allocations: 50.56 MB / 439.2 MB, free: 19.38 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4313, allocations: 74.61 MB / 0.5017 GB, free: 8.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4316, allocations: 67.95 kB / 0.5018 GB, free: 8.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002723/0.4343, allocations: 0.9977 MB / 0.5028 GB, free: 7.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4343, allocations: 0 / 0.5028 GB, free: 7.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.4343, allocations: 0 / 0.5028 GB, free: 7.605 MB / 346.7 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.000409/0.4348, allocations: 362.4 kB / 0.5031 GB, free: 7.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4348, allocations: 11.98 kB / 0.5031 GB, free: 7.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.4349, allocations: 4 kB / 0.5031 GB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.4351, allocations: 174.9 kB / 0.5033 GB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4351, allocations: 0 / 0.5033 GB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.4351, allocations: 4 kB / 0.5033 GB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/0.4352, allocations: 39.98 kB / 0.5033 GB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.4353, allocations: 57.69 kB / 0.5034 GB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4353, allocations: 352 / 0.5034 GB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4354, allocations: 7.953 kB / 0.5034 GB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.4354, allocations: 0 / 0.5034 GB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.4358, allocations: 273.4 kB / 0.5037 GB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.4361, allocations: 106.5 kB / 0.5038 GB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.4362, allocations: 36.84 kB / 0.5038 GB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.4362, allocations: 0 / 0.5038 GB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.4362, allocations: 34.56 kB / 0.5038 GB, free: 6.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.4362, allocations: 0 / 0.5038 GB, free: 6.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.002367/0.4386, allocations: 0.7035 MB / 0.5045 GB, free: 5.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.4386, allocations: 55.41 kB / 0.5046 GB, free: 5.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.4387, allocations: 101 kB / 0.5047 GB, free: 5.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4387, allocations: 25.7 kB / 0.5047 GB, free: 5.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.4388, allocations: 84.14 kB / 0.5048 GB, free: 5.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.4388, allocations: 59.11 kB / 0.5048 GB, free: 5.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.4389, allocations: 0 / 0.5048 GB, free: 5.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.439, allocations: 318.8 kB / 0.5051 GB, free: 4.941 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.4391, allocations: 40 kB / 0.5052 GB, free: 4.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.4391, allocations: 49.72 kB / 0.5052 GB, free: 4.848 MB / 346.7 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.002159/0.4413, allocations: 374.1 kB / 0.5056 GB, free: 4.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4413, allocations: 0 / 0.5056 GB, free: 4.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001301/0.4426, allocations: 311.4 kB / 0.5059 GB, free: 4.172 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4426, allocations: 8 kB / 0.5059 GB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4427, allocations: 7.922 kB / 0.5059 GB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.4442, allocations: 256.6 kB / 0.5061 GB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.4443, allocations: 27.92 kB / 0.5062 GB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/0.4473, allocations: 1.833 MB / 0.5079 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.4474, allocations: 4 kB / 0.5079 GB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.4474, allocations: 0 / 0.5079 GB, free: 1.922 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.M2 = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.4476, allocations: 114.9 kB / 0.5081 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.4476, allocations: 7.906 kB / 0.5081 GB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.4477, allocations: 16.81 kB / 0.5081 GB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4477, allocations: 4 kB / 0.5081 GB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.4477, allocations: 11.94 kB / 0.5081 GB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4477, allocations: 0 / 0.5081 GB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.4479, allocations: 170.2 kB / 0.5083 GB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4479, allocations: 0 / 0.5083 GB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.448, allocations: 8 kB / 0.5083 GB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/0.4497, allocations: 276.4 kB / 0.5085 GB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.4497, allocations: 4.266 kB / 0.5085 GB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.4517, allocations: 1.698 MB / 0.5102 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4517, allocations: 0 / 0.5102 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009342/0.4527, allocations: 385.8 kB / 0.5106 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.4527, allocations: 85.02 kB / 0.5106 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.4527, allocations: 0 / 0.5106 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.4528, allocations: 0 / 0.5106 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.4529, allocations: 23.95 kB / 0.5107 GB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.4529, allocations: 3.938 kB / 0.5107 GB, free: 14.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.664e-05/0.453, allocations: 91.23 kB / 0.5108 GB, free: 14.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.453, allocations: 0 / 0.5108 GB, free: 14.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000353/0.4533, allocations: 32 kB / 0.5108 GB, free: 14.81 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.4535, allocations: 99.23 kB / 0.5109 GB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007323/0.4542, allocations: 287.1 kB / 0.5112 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4542, allocations: 0 / 0.5112 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.4545, allocations: 201.5 kB / 0.5113 GB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.4547, allocations: 7.938 kB / 0.5114 GB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.455, allocations: 182.4 kB / 0.5115 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.4553, allocations: 0.7009 MB / 0.5122 GB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.952e-05/0.4553, allocations: 8.547 kB / 0.5122 GB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.4554, allocations: 11.44 kB / 0.5122 GB, free: 13.25 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4554, allocations: 0 / 0.5122 GB, free: 13.25 MB / 362.7 MB Notification: Performance of Templates: time 0.004805/0.4602, allocations: 1.941 MB / 0.5141 GB, free: 11.35 MB / 362.7 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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)