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+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 172.5 kB / 7.646 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.771/1.771, allocations: 221.5 MB / 229.6 MB, free: 7.551 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.001744/0.001744, allocations: 90.17 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002433/0.002433, allocations: 0.5532 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.654e-05/1.645e-05, allocations: 0 / 388.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3376, allocations: 50.56 MB / 439.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4755, allocations: 74.61 MB / 0.5018 GB, free: 8.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.4759, allocations: 63.91 kB / 0.5019 GB, free: 8.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003668/0.4796, allocations: 0.9981 MB / 0.5029 GB, free: 7.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4796, allocations: 0 / 0.5029 GB, free: 7.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.4797, allocations: 4 kB / 0.5029 GB, free: 7.477 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.0005783/0.4803, allocations: 359.1 kB / 0.5032 GB, free: 7.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.651e-05/0.4803, allocations: 15.98 kB / 0.5032 GB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.4804, allocations: 4 kB / 0.5032 GB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.4807, allocations: 182.8 kB / 0.5034 GB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.4807, allocations: 0 / 0.5034 GB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.4808, allocations: 4 kB / 0.5034 GB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001318/0.4809, allocations: 39.97 kB / 0.5034 GB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.4811, allocations: 53.69 kB / 0.5035 GB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4811, allocations: 352 / 0.5035 GB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.4811, allocations: 3.953 kB / 0.5035 GB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4811, allocations: 4 kB / 0.5035 GB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.4818, allocations: 277.4 kB / 0.5038 GB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.4822, allocations: 106.7 kB / 0.5039 GB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.4823, allocations: 28.86 kB / 0.5039 GB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.4823, allocations: 4 kB / 0.5039 GB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.4824, allocations: 34.56 kB / 0.5039 GB, free: 6.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.4824, allocations: 4 kB / 0.5039 GB, free: 6.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.00272/0.4851, allocations: 0.7229 MB / 0.5046 GB, free: 5.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.4852, allocations: 51.41 kB / 0.5047 GB, free: 5.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4853, allocations: 108.9 kB / 0.5048 GB, free: 5.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.4853, allocations: 25.7 kB / 0.5048 GB, free: 5.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.4854, allocations: 96.41 kB / 0.5049 GB, free: 5.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.4855, allocations: 55.16 kB / 0.505 GB, free: 5.086 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.4855, allocations: 3.938 kB / 0.505 GB, free: 5.082 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4857, allocations: 322.8 kB / 0.5053 GB, free: 4.758 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.4858, allocations: 36.38 kB / 0.5053 GB, free: 4.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.4859, allocations: 58.41 kB / 0.5054 GB, free: 4.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.4885, allocations: 457 kB / 0.5058 GB, free: 4.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4885, allocations: 0 / 0.5058 GB, free: 4.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001624/0.4901, allocations: 356.2 kB / 0.5061 GB, free: 3.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4901, allocations: 4 kB / 0.5061 GB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4902, allocations: 4 kB / 0.5061 GB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.492, allocations: 281.1 kB / 0.5064 GB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.926e-05/0.4921, allocations: 15.94 kB / 0.5064 GB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/0.496, allocations: 2.039 MB / 0.5084 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.4961, allocations: 0 / 0.5084 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.4962, allocations: 7.938 kB / 0.5084 GB, free: 1.383 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.0002338/0.4964, allocations: 109 kB / 0.5085 GB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009507/0.4974, allocations: 251.5 kB / 0.5088 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.4974, allocations: 7.953 kB / 0.5088 GB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.4975, allocations: 20.75 kB / 0.5088 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4975, allocations: 0 / 0.5088 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.4975, allocations: 4 kB / 0.5088 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4975, allocations: 7.922 kB / 0.5088 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.4989, allocations: 0.5107 MB / 0.5093 GB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.4989, allocations: 7.953 kB / 0.5093 GB, free: 416 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.499, allocations: 20.02 kB / 0.5093 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00201/0.501, allocations: 284.5 kB / 0.5096 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.5011, allocations: 7.984 kB / 0.5096 GB, free: 100 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.5041, allocations: 1.731 MB / 0.5113 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5041, allocations: 0 / 0.5113 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.5053, allocations: 430.4 kB / 0.5117 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.5054, allocations: 85.02 kB / 0.5118 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.5054, allocations: 4.031 kB / 0.5118 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5055, allocations: 4 kB / 0.5118 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.5056, allocations: 11.98 kB / 0.5118 GB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.5056, allocations: 7.953 kB / 0.5118 GB, free: 13.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.5057, allocations: 95.2 kB / 0.5119 GB, free: 13.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5057, allocations: 0 / 0.5119 GB, free: 13.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004667/0.5061, allocations: 28 kB / 0.5119 GB, free: 13.55 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.001468/0.5076, allocations: 1.02 MB / 0.5129 GB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007246/0.5084, allocations: 281.5 kB / 0.5132 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5084, allocations: 0 / 0.5132 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.5089, allocations: 241.5 kB / 0.5134 GB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.5091, allocations: 3.953 kB / 0.5134 GB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005613/0.5097, allocations: 233.2 kB / 0.5137 GB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.5101, allocations: 0.7046 MB / 0.5144 GB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.15e-05/0.5101, allocations: 4.891 kB / 0.5144 GB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.5102, allocations: 27.42 kB / 0.5144 GB, free: 10.93 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5102, allocations: 0 / 0.5144 GB, free: 10.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.5375, allocations: 2.969 MB / 0.5173 GB, free: 8.012 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003338/0.5379, allocations: 236.1 kB / 0.5175 GB, free: 7.727 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.382, allocations: 0 / 0.5175 GB, free: 7.727 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)