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/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.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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002308/0.002308, allocations: 176.5 kB / 7.461 MB, free: 2.488 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.039/1.039, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.0008334/0.0008334, allocations: 100.1 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002356/0.002356, allocations: 0.5549 MB / 331.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.319e-06/4.339e-06, allocations: 0 / 388 MB, free: 76.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0625/0.06252, allocations: 50.57 MB / 438.6 MB, free: 26.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.254, allocations: 74.54 MB / 0.5011 GB, free: 5.543 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001689/0.2542, allocations: 66.47 kB / 0.5012 GB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.002217/0.2564, allocations: 0.6918 MB / 0.5018 GB, free: 4.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.2565, allocations: 0 / 0.5018 GB, free: 4.973 MB / 314.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.0002803/0.2567, allocations: 361.2 kB / 0.5022 GB, free: 4.582 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2568, allocations: 11.97 kB / 0.5022 GB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.2568, allocations: 11.91 kB / 0.5022 GB, free: 4.559 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.2569, allocations: 171 kB / 0.5024 GB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2569, allocations: 0 / 0.5024 GB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.257, allocations: 11.98 kB / 0.5024 GB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.889e-05/0.257, allocations: 32.19 kB / 0.5024 GB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.785e-05/0.2571, allocations: 64.52 kB / 0.5025 GB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.2571, allocations: 2.734 kB / 0.5025 GB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.2571, allocations: 0 / 0.5025 GB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2572, allocations: 0 / 0.5025 GB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.2575, allocations: 282.3 kB / 0.5027 GB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.2576, allocations: 50.66 kB / 0.5028 GB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.2576, allocations: 34.73 kB / 0.5028 GB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.2576, allocations: 3.312 kB / 0.5028 GB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.2577, allocations: 34.56 kB / 0.5029 GB, free: 3.852 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.2577, allocations: 0 / 0.5029 GB, free: 3.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.002277/0.2599, allocations: 0.73 MB / 0.5036 GB, free: 3.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.675e-05/0.26, allocations: 59.31 kB / 0.5036 GB, free: 3.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.953e-05/0.26, allocations: 100.1 kB / 0.5037 GB, free: 2.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.26, allocations: 25.7 kB / 0.5038 GB, free: 2.941 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.2601, allocations: 88.34 kB / 0.5038 GB, free: 2.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.2601, allocations: 58.03 kB / 0.5039 GB, free: 2.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.2601, allocations: 0 / 0.5039 GB, free: 2.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.2602, allocations: 322.8 kB / 0.5042 GB, free: 2.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.387e-05/0.2602, allocations: 33.31 kB / 0.5042 GB, free: 2.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.2603, allocations: 56.28 kB / 0.5043 GB, free: 2.418 MB / 314.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.p1 = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.2627, allocations: 466.1 kB / 0.5047 GB, free: 1.969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2627, allocations: 0 / 0.5047 GB, free: 1.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00147/0.2642, allocations: 355 kB / 0.5051 GB, free: 1.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2642, allocations: 7.938 kB / 0.5051 GB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2642, allocations: 0 / 0.5051 GB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.2659, allocations: 287.3 kB / 0.5054 GB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.266, allocations: 12 kB / 0.5054 GB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.269, allocations: 2.036 MB / 0.5074 GB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.2691, allocations: 3.875 kB / 0.5074 GB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.2691, allocations: 4 kB / 0.5074 GB, free: 15.45 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.p1 = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real p2: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 (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: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.2693, allocations: 117 kB / 0.5075 GB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.2693, allocations: 7.906 kB / 0.5075 GB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.2693, allocations: 14.69 kB / 0.5075 GB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2693, allocations: 7.844 kB / 0.5075 GB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2694, allocations: 4 kB / 0.5075 GB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2694, allocations: 0 / 0.5075 GB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.2705, allocations: 0.5257 MB / 0.508 GB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2705, allocations: 1.688 kB / 0.508 GB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.2706, allocations: 12 kB / 0.508 GB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.2725, allocations: 286.9 kB / 0.5083 GB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2725, allocations: 0 / 0.5083 GB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.2747, allocations: 1.747 MB / 0.51 GB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2747, allocations: 0 / 0.51 GB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009533/0.2757, allocations: 419.5 kB / 0.5104 GB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.2757, allocations: 85.45 kB / 0.5105 GB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2758, allocations: 4.062 kB / 0.5105 GB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.2759, allocations: 0 / 0.5105 GB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.2759, allocations: 18.56 kB / 0.5105 GB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.2759, allocations: 11.92 kB / 0.5105 GB, free: 12.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.307e-05/0.276, allocations: 90.36 kB / 0.5106 GB, free: 12.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003115/0.2763, allocations: 28 kB / 0.5106 GB, free: 12.15 MB / 330.7 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 () * 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 (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 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.183e-05/0.2764, allocations: 99.5 kB / 0.5107 GB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005335/0.2769, allocations: 268.8 kB / 0.511 GB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2769, allocations: 3.938 kB / 0.511 GB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.2774, allocations: 216.2 kB / 0.5112 GB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.2776, allocations: 9.062 kB / 0.5112 GB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.2779, allocations: 204.6 kB / 0.5114 GB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.2781, allocations: 0.7151 MB / 0.5121 GB, free: 10.65 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2781, allocations: 0 / 0.5121 GB, free: 10.65 MB / 330.7 MB Notification: Performance of Templates: time 0.003958/0.2821, allocations: 2.302 MB / 0.5144 GB, free: 8.422 MB / 330.7 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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)