Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",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.001463/0.001463, allocations: 180.9 kB / 7.651 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.499/1.499, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.001048/0.001048, allocations: 99.78 kB / 280.5 MB, free: 5.344 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.002482/0.002482, allocations: 0.561 MB / 331.8 MB, free: 14.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.586e-05, allocations: 0 / 388.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2755, allocations: 50.56 MB / 439.3 MB, free: 19.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09599/0.3715, allocations: 74.52 MB / 0.5017 GB, free: 8.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.3718, allocations: 68.78 kB / 0.5018 GB, free: 8.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00224/0.374, allocations: 0.9201 MB / 0.5027 GB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.374, allocations: 4 kB / 0.5027 GB, free: 7.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3741, allocations: 4 kB / 0.5027 GB, free: 7.648 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.0003232/0.3744, allocations: 354.3 kB / 0.503 GB, free: 7.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3744, allocations: 12.03 kB / 0.5031 GB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.3745, allocations: 4 kB / 0.5031 GB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3746, allocations: 171 kB / 0.5032 GB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3746, allocations: 0 / 0.5032 GB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3747, allocations: 11.94 kB / 0.5032 GB, free: 7.023 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.59e-05/0.3747, allocations: 36 kB / 0.5033 GB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.736e-05/0.3748, allocations: 61.67 kB / 0.5033 GB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3749, allocations: 352 / 0.5033 GB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3749, allocations: 3.953 kB / 0.5033 GB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3749, allocations: 4 kB / 0.5033 GB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.3753, allocations: 281.4 kB / 0.5036 GB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3756, allocations: 110.7 kB / 0.5037 GB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.3757, allocations: 32.86 kB / 0.5037 GB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3757, allocations: 4 kB / 0.5037 GB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.3757, allocations: 30.56 kB / 0.5038 GB, free: 6.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.3757, allocations: 0 / 0.5038 GB, free: 6.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.002419/0.3781, allocations: 0.7307 MB / 0.5045 GB, free: 5.617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.3782, allocations: 55.41 kB / 0.5045 GB, free: 5.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.3783, allocations: 100.9 kB / 0.5046 GB, free: 5.445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3783, allocations: 25.7 kB / 0.5047 GB, free: 5.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.3783, allocations: 88.47 kB / 0.5047 GB, free: 5.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.3784, allocations: 59.09 kB / 0.5048 GB, free: 5.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.3784, allocations: 3.938 kB / 0.5048 GB, free: 5.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3785, allocations: 322.8 kB / 0.5051 GB, free: 4.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.3786, allocations: 36.38 kB / 0.5051 GB, free: 4.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.3787, allocations: 55.97 kB / 0.5052 GB, free: 4.84 MB / 346.7 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 100000.0 (200000.0 = 100000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.3811, allocations: 464.3 kB / 0.5056 GB, free: 4.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3812, allocations: 0 / 0.5056 GB, free: 4.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008828/0.3821, allocations: 266 kB / 0.5059 GB, free: 4.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3821, allocations: 4 kB / 0.5059 GB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3821, allocations: 4 kB / 0.5059 GB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008528/0.3829, allocations: 152.7 kB / 0.5061 GB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3831, allocations: 23.94 kB / 0.5061 GB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.3854, allocations: 1.74 MB / 0.5078 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.3855, allocations: 0 / 0.5078 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3855, allocations: 4 kB / 0.5078 GB, free: 2.062 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: p1 = 100000.0. 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 (13): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 8.559e-05/0.3856, allocations: 101 kB / 0.5079 GB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000866/0.3865, allocations: 263.6 kB / 0.5081 GB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3865, allocations: 7.906 kB / 0.5081 GB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.3866, allocations: 20.73 kB / 0.5082 GB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3866, allocations: 0 / 0.5082 GB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3866, allocations: 4 kB / 0.5082 GB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3866, allocations: 0 / 0.5082 GB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.3878, allocations: 0.5219 MB / 0.5087 GB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3878, allocations: 8.031 kB / 0.5087 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.3879, allocations: 8.188 kB / 0.5087 GB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.3898, allocations: 288.3 kB / 0.509 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3898, allocations: 7.938 kB / 0.509 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.392, allocations: 1.732 MB / 0.5107 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.392, allocations: 0 / 0.5107 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009746/0.393, allocations: 424.7 kB / 0.5111 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.393, allocations: 85.3 kB / 0.5111 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3931, allocations: 0 / 0.5111 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3932, allocations: 7.953 kB / 0.5111 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.3932, allocations: 19.92 kB / 0.5112 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3932, allocations: 11.97 kB / 0.5112 GB, free: 14.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.349e-05/0.3933, allocations: 87.59 kB / 0.5113 GB, free: 14.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3933, allocations: 0 / 0.5113 GB, free: 14.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.3936, allocations: 24 kB / 0.5113 GB, free: 14.23 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.001278/0.3949, allocations: 1.016 MB / 0.5123 GB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007868/0.3957, allocations: 281.5 kB / 0.5125 GB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3957, allocations: 4 kB / 0.5125 GB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.3963, allocations: 241.4 kB / 0.5128 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.3964, allocations: 4.234 kB / 0.5128 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.3969, allocations: 229.3 kB / 0.513 GB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3972, allocations: 0.7085 MB / 0.5137 GB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.3972, allocations: 0.8906 kB / 0.5137 GB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.3973, allocations: 27.42 kB / 0.5137 GB, free: 11.62 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3973, allocations: 4.188 kB / 0.5137 GB, free: 11.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.4181, allocations: 2.302 MB / 0.516 GB, free: 9.352 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.4184, allocations: 231.1 kB / 0.5162 GB, free: 9.059 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/1.917, allocations: 0 / 0.5162 GB, free: 9.059 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)