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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 176.2 kB / 7.649 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.571/1.571, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.001062/0.001062, allocations: 95.36 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.004384/0.004384, allocations: 0.5661 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.683e-05, allocations: 4 kB / 388.6 MB, free: 5.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3269, allocations: 50.58 MB / 439.2 MB, free: 19.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.4406, allocations: 74.6 MB / 0.5017 GB, free: 8.652 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4408, allocations: 67.89 kB / 0.5018 GB, free: 8.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003055/0.4439, allocations: 0.9938 MB / 0.5028 GB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4439, allocations: 4 kB / 0.5028 GB, free: 7.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.444, allocations: 0 / 0.5028 GB, free: 7.59 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.0004813/0.4444, allocations: 358.3 kB / 0.5031 GB, free: 7.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.4445, allocations: 12.03 kB / 0.5031 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.4446, allocations: 4 kB / 0.5031 GB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.4448, allocations: 174.9 kB / 0.5033 GB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.4448, allocations: 0 / 0.5033 GB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.4449, allocations: 8 kB / 0.5033 GB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/0.445, allocations: 35.98 kB / 0.5033 GB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.4452, allocations: 53.69 kB / 0.5034 GB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4452, allocations: 4.281 kB / 0.5034 GB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4452, allocations: 3.953 kB / 0.5034 GB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4452, allocations: 7.938 kB / 0.5034 GB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.4458, allocations: 273.4 kB / 0.5037 GB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.4462, allocations: 106.8 kB / 0.5038 GB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.4463, allocations: 32.86 kB / 0.5038 GB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.4463, allocations: 7.938 kB / 0.5038 GB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.4463, allocations: 34.56 kB / 0.5038 GB, free: 6.348 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.4463, allocations: 0 / 0.5038 GB, free: 6.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002822/0.4492, allocations: 0.7269 MB / 0.5045 GB, free: 5.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.4492, allocations: 51.41 kB / 0.5046 GB, free: 5.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.4493, allocations: 101 kB / 0.5047 GB, free: 5.395 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.4494, allocations: 25.7 kB / 0.5047 GB, free: 5.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.4495, allocations: 100.2 kB / 0.5048 GB, free: 5.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.4495, allocations: 59.16 kB / 0.5049 GB, free: 5.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.4495, allocations: 0 / 0.5049 GB, free: 5.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4497, allocations: 322.8 kB / 0.5052 GB, free: 4.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.764e-05/0.4497, allocations: 36.38 kB / 0.5052 GB, free: 4.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.4498, allocations: 54.47 kB / 0.5053 GB, free: 4.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0024/0.4522, allocations: 456.8 kB / 0.5057 GB, free: 4.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4523, allocations: 0 / 0.5057 GB, free: 4.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001536/0.4538, allocations: 353.8 kB / 0.506 GB, free: 3.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4538, allocations: 4 kB / 0.506 GB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4539, allocations: 4 kB / 0.506 GB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.4556, allocations: 287.9 kB / 0.5063 GB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.4556, allocations: 16 kB / 0.5063 GB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/0.4593, allocations: 2.033 MB / 0.5083 GB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.4594, allocations: 0 / 0.5083 GB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4594, allocations: 11.94 kB / 0.5083 GB, free: 1.5 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.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.0001846/0.4596, allocations: 101 kB / 0.5084 GB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.4596, allocations: 11.91 kB / 0.5084 GB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.4597, allocations: 24.7 kB / 0.5085 GB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4597, allocations: 0 / 0.5085 GB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.4597, allocations: 4 kB / 0.5085 GB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4597, allocations: 4.031 kB / 0.5085 GB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.4609, allocations: 0.5145 MB / 0.509 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4609, allocations: 0 / 0.509 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.461, allocations: 15.98 kB / 0.509 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.4628, allocations: 284.4 kB / 0.5093 GB, free: 500 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4628, allocations: 11.94 kB / 0.5093 GB, free: 488 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.4652, allocations: 1.732 MB / 0.511 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4652, allocations: 4.344 kB / 0.511 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.4663, allocations: 429.9 kB / 0.5114 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.4663, allocations: 85.02 kB / 0.5115 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.4664, allocations: 4.031 kB / 0.5115 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4665, allocations: 4 kB / 0.5115 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.4665, allocations: 11.98 kB / 0.5115 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.4665, allocations: 4 kB / 0.5115 GB, free: 14.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.564e-05/0.4666, allocations: 95.25 kB / 0.5116 GB, free: 13.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4666, allocations: 0 / 0.5116 GB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.4669, allocations: 36 kB / 0.5116 GB, free: 13.92 MB / 362.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 0.0001415/0.4671, allocations: 103.1 kB / 0.5117 GB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.4677, allocations: 285.4 kB / 0.512 GB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4677, allocations: 0 / 0.512 GB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.4682, allocations: 237.4 kB / 0.5122 GB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.4684, allocations: 9.922 kB / 0.5122 GB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.4687, allocations: 180 kB / 0.5124 GB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.469, allocations: 0.7085 MB / 0.5131 GB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.717e-05/0.469, allocations: 4.875 kB / 0.5131 GB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.4691, allocations: 11.44 kB / 0.5131 GB, free: 12.32 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4691, allocations: 4 kB / 0.5131 GB, free: 12.32 MB / 362.7 MB Notification: Performance of Templates: time 0.004918/0.474, allocations: 2.189 MB / 0.5152 GB, free: 10.18 MB / 362.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)