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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 99.52 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003542/0.003543, allocations: 0.5536 MB / 337 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.677e-05, allocations: 5.797 kB / 395.5 MB, free: 70.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 50.57 MB / 446 MB, free: 19.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4759/0.5971, allocations: 75.24 MB / 0.5091 GB, free: 12.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.5974, allocations: 60.84 kB / 0.5091 GB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002536/0.6, allocations: 0.9784 MB / 0.5101 GB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.6, allocations: 0 / 0.5101 GB, free: 11.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.6, allocations: 3.938 kB / 0.5101 GB, free: 11.7 MB / 330.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.0003835/0.6004, allocations: 362.4 kB / 0.5104 GB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.6005, allocations: 8.031 kB / 0.5104 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.6005, allocations: 4 kB / 0.5104 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.6007, allocations: 170.9 kB / 0.5106 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.6007, allocations: 3.812 kB / 0.5106 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.6007, allocations: 8 kB / 0.5106 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.6009, allocations: 75.39 kB / 0.5107 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6009, allocations: 0 / 0.5107 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.6009, allocations: 352 / 0.5107 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.934e-06/0.601, allocations: 3.953 kB / 0.5107 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.6011, allocations: 39.19 kB / 0.5107 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.6016, allocations: 302 kB / 0.511 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.6019, allocations: 113.3 kB / 0.5111 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.6019, allocations: 33.73 kB / 0.5111 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.602, allocations: 4 kB / 0.5111 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.602, allocations: 38.45 kB / 0.5112 GB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.602, allocations: 0 / 0.5112 GB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.002509/0.6045, allocations: 0.7253 MB / 0.5119 GB, free: 9.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.6046, allocations: 59.39 kB / 0.5119 GB, free: 9.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/0.6047, allocations: 100.9 kB / 0.512 GB, free: 9.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.6047, allocations: 25.7 kB / 0.5121 GB, free: 9.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.6048, allocations: 99.09 kB / 0.5122 GB, free: 9.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.6049, allocations: 53.94 kB / 0.5122 GB, free: 9.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.6049, allocations: 7.438 kB / 0.5122 GB, free: 9.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.605, allocations: 318.7 kB / 0.5125 GB, free: 9.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.6051, allocations: 42.44 kB / 0.5126 GB, free: 9.102 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.6052, allocations: 57.75 kB / 0.5126 GB, free: 9.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.2e-05/0.6053, allocations: 44.11 kB / 0.5127 GB, free: 9.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.6053, allocations: 0 / 0.5127 GB, free: 9.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001528/0.6068, allocations: 354.6 kB / 0.513 GB, free: 8.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6069, allocations: 9.75 kB / 0.513 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6069, allocations: 4.5 kB / 0.513 GB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.6085, allocations: 278.4 kB / 0.5133 GB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.6086, allocations: 11.98 kB / 0.5133 GB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/0.6126, allocations: 2.072 MB / 0.5153 GB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.6127, allocations: 4 kB / 0.5153 GB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.6127, allocations: 7.688 kB / 0.5153 GB, free: 6.484 MB / 330.7 MB 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 0.0001507/0.6129, allocations: 109.9 kB / 0.5154 GB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.6129, allocations: 11.86 kB / 0.5154 GB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.613, allocations: 19.84 kB / 0.5155 GB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.613, allocations: 4 kB / 0.5155 GB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.613, allocations: 0 / 0.5155 GB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.613, allocations: 0 / 0.5155 GB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.6133, allocations: 205.2 kB / 0.5157 GB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6133, allocations: 0 / 0.5157 GB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.6134, allocations: 19.88 kB / 0.5157 GB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/0.6152, allocations: 274.5 kB / 0.5159 GB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.6152, allocations: 3.688 kB / 0.5159 GB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.6175, allocations: 1.736 MB / 0.5176 GB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6175, allocations: 0 / 0.5176 GB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.6186, allocations: 407.1 kB / 0.518 GB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.6186, allocations: 81.02 kB / 0.5181 GB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.6187, allocations: 2.875 kB / 0.5181 GB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6188, allocations: 8.031 kB / 0.5181 GB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.6188, allocations: 14.61 kB / 0.5181 GB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.6188, allocations: 8 kB / 0.5181 GB, free: 3.645 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.6189, allocations: 95.23 kB / 0.5182 GB, free: 3.555 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6189, allocations: 0 / 0.5182 GB, free: 3.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003921/0.6193, allocations: 39.44 kB / 0.5183 GB, free: 3.523 MB / 330.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.0001965/0.6195, allocations: 98.12 kB / 0.5184 GB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00071/0.6203, allocations: 287.1 kB / 0.5186 GB, free: 3.172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6203, allocations: 0 / 0.5186 GB, free: 3.172 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.6206, allocations: 214.3 kB / 0.5188 GB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.6208, allocations: 13.77 kB / 0.5189 GB, free: 2.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.6212, allocations: 188.9 kB / 0.519 GB, free: 2.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.6216, allocations: 0.7012 MB / 0.5197 GB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.051e-05/0.6216, allocations: 8.547 kB / 0.5197 GB, free: 2.043 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.6217, allocations: 7.438 kB / 0.5197 GB, free: 2.035 MB / 330.7 MB Notification: Performance of SimCode: time 1.913e-06/0.6217, allocations: 4 kB / 0.5197 GB, free: 2.031 MB / 330.7 MB Notification: Performance of Templates: time 0.005741/0.6274, allocations: 2.241 MB / 0.5219 GB, free: 15.86 MB / 346.7 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)