Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.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.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature") [: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.0009318/0.0009319, allocations: 186.5 kB / 7.462 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.01/1.01, allocations: 221.4 MB / 229.3 MB, free: 8.449 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008433/0.0008433, allocations: 90.19 kB / 280.1 MB, free: 7.801 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002023/0.002023, allocations: 0.5589 MB / 331.5 MB, free: 4.434 MB / 274.8 MB Notification: Performance of FrontEnd - loaded program: time 5.6e-06/5.64e-06, allocations: 7.938 kB / 388 MB, free: 67.24 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06585/0.06586, allocations: 50.58 MB / 438.6 MB, free: 16.79 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.2583, allocations: 74.71 MB / 0.5013 GB, free: 5.848 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.2585, allocations: 62.33 kB / 0.5013 GB, free: 5.816 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.002307/0.2608, allocations: 0.6734 MB / 0.502 GB, free: 5.27 MB / 322.8 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2608, allocations: 0 / 0.502 GB, free: 5.27 MB / 322.8 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.0003101/0.2612, allocations: 357.3 kB / 0.5023 GB, free: 4.879 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.2612, allocations: 8.031 kB / 0.5024 GB, free: 4.871 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.2612, allocations: 11.89 kB / 0.5024 GB, free: 4.859 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2614, allocations: 175 kB / 0.5025 GB, free: 4.648 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2614, allocations: 0 / 0.5025 GB, free: 4.648 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.2614, allocations: 7.312 kB / 0.5025 GB, free: 4.645 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.787e-05/0.2615, allocations: 34.73 kB / 0.5026 GB, free: 4.617 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.637e-05/0.2616, allocations: 56.09 kB / 0.5026 GB, free: 4.562 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2616, allocations: 0 / 0.5026 GB, free: 4.562 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.2616, allocations: 0 / 0.5026 GB, free: 4.562 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2616, allocations: 4 kB / 0.5026 GB, free: 4.559 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.262, allocations: 278 kB / 0.5029 GB, free: 4.27 MB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.871e-05/0.2621, allocations: 79.5 kB / 0.503 GB, free: 4.199 MB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.2621, allocations: 30.98 kB / 0.503 GB, free: 4.176 MB / 322.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.2622, allocations: 224 / 0.503 GB, free: 4.176 MB / 322.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.2622, allocations: 35.38 kB / 0.503 GB, free: 4.133 MB / 322.8 MB Notification: Performance of pre-optimization done (n=11): time 8.52e-07/0.2622, allocations: 0 / 0.503 GB, free: 4.133 MB / 322.8 MB Notification: Performance of matching and sorting (n=15): time 0.002373/0.2646, allocations: 0.6974 MB / 0.5037 GB, free: 3.445 MB / 322.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.2646, allocations: 51.41 kB / 0.5038 GB, free: 3.383 MB / 322.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.506e-05/0.2647, allocations: 103.9 kB / 0.5039 GB, free: 3.281 MB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2647, allocations: 29.7 kB / 0.5039 GB, free: 3.246 MB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.2647, allocations: 84.84 kB / 0.504 GB, free: 3.16 MB / 322.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.2648, allocations: 62.8 kB / 0.504 GB, free: 3.105 MB / 322.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.2648, allocations: 0 / 0.504 GB, free: 3.105 MB / 322.8 MB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.2649, allocations: 318.6 kB / 0.5043 GB, free: 2.789 MB / 322.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.2649, allocations: 33.88 kB / 0.5044 GB, free: 2.77 MB / 322.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.265, allocations: 59.89 kB / 0.5044 GB, free: 2.719 MB / 322.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.443e-05/0.2651, allocations: 38.05 kB / 0.5045 GB, free: 2.695 MB / 322.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2651, allocations: 0 / 0.5045 GB, free: 2.695 MB / 322.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001407/0.2665, allocations: 336.2 kB / 0.5048 GB, free: 2.395 MB / 322.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2665, allocations: 11.84 kB / 0.5048 GB, free: 2.383 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2665, allocations: 0 / 0.5048 GB, free: 2.383 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.2682, allocations: 279.5 kB / 0.5051 GB, free: 2.125 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.2682, allocations: 15.31 kB / 0.5051 GB, free: 2.109 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.2714, allocations: 1.968 MB / 0.507 GB, free: 228 kB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.2715, allocations: 0 / 0.507 GB, free: 228 kB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2715, allocations: 8.406 kB / 0.507 GB, free: 220 kB / 322.8 MB 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 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 (7): * Single equations (assignments): 6 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 8.712e-05/0.2716, allocations: 105 kB / 0.5071 GB, free: 108 kB / 322.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.2716, allocations: 15.89 kB / 0.5071 GB, free: 92 kB / 322.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.2716, allocations: 15.62 kB / 0.5071 GB, free: 88 kB / 322.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2716, allocations: 0 / 0.5071 GB, free: 88 kB / 322.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2717, allocations: 4 kB / 0.5071 GB, free: 84 kB / 322.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2717, allocations: 4.078 kB / 0.5071 GB, free: 80 kB / 322.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.2718, allocations: 171.7 kB / 0.5073 GB, free: 15.89 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2719, allocations: 7.906 kB / 0.5073 GB, free: 15.88 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.2719, allocations: 11.98 kB / 0.5073 GB, free: 15.87 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.2737, allocations: 272.3 kB / 0.5076 GB, free: 15.61 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2737, allocations: 4 kB / 0.5076 GB, free: 15.61 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.2755, allocations: 1.676 MB / 0.5092 GB, free: 13.96 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2755, allocations: 0 / 0.5092 GB, free: 13.96 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009379/0.2764, allocations: 389.7 kB / 0.5096 GB, free: 13.61 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.2765, allocations: 85 kB / 0.5097 GB, free: 13.51 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2765, allocations: 0 / 0.5097 GB, free: 13.51 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2766, allocations: 4 kB / 0.5097 GB, free: 13.51 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.2766, allocations: 8.734 kB / 0.5097 GB, free: 13.5 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.2767, allocations: 5.375 kB / 0.5097 GB, free: 13.5 MB / 338.8 MB Notification: Performance of sort global known variables: time 3.761e-05/0.2767, allocations: 90.56 kB / 0.5098 GB, free: 13.41 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.0003259/0.277, allocations: 28 kB / 0.5098 GB, free: 13.38 MB / 338.8 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.0001023/0.2771, allocations: 99.12 kB / 0.5099 GB, free: 13.28 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.0005289/0.2777, allocations: 246.5 kB / 0.5101 GB, free: 13.06 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2777, allocations: 0 / 0.5101 GB, free: 13.06 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.278, allocations: 203.3 kB / 0.5103 GB, free: 12.88 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.2781, allocations: 5.688 kB / 0.5103 GB, free: 12.87 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.2784, allocations: 180.7 kB / 0.5105 GB, free: 12.69 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.2787, allocations: 0.7159 MB / 0.5112 GB, free: 11.94 MB / 338.8 MB Notification: Performance of SimCode: time 2.41e-07/0.2787, allocations: 0 / 0.5112 GB, free: 11.94 MB / 338.8 MB Notification: Performance of Templates: time 0.00404/0.2827, allocations: 2.273 MB / 0.5134 GB, free: 9.73 MB / 338.8 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)