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.006385/0.006385, allocations: 170.9 kB / 15.11 MB, free: 5.973 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.408/1.408, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 101.1 kB / 290.2 MB, free: 4.539 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.002441/0.002441, allocations: 0.5546 MB / 341.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 4 kB / 403 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2631, allocations: 50.56 MB / 453.6 MB, free: 80.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08328/0.3464, allocations: 75.25 MB / 0.5164 GB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.3467, allocations: 71.89 kB / 0.5165 GB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002057/0.3488, allocations: 0.9202 MB / 0.5174 GB, free: 3.727 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3488, allocations: 4 kB / 0.5174 GB, free: 3.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3488, allocations: 0 / 0.5174 GB, free: 3.723 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.000322/0.3491, allocations: 379.2 kB / 0.5178 GB, free: 3.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3492, allocations: 8.031 kB / 0.5178 GB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.3492, allocations: 34.56 kB / 0.5178 GB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.3492, allocations: 7.906 kB / 0.5178 GB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.032e-05/0.3493, allocations: 179 kB / 0.518 GB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3493, allocations: 0 / 0.518 GB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.3494, allocations: 12 kB / 0.518 GB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.3495, allocations: 76.98 kB / 0.5181 GB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-06/0.3495, allocations: 0 / 0.5181 GB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3495, allocations: 352 / 0.5181 GB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3495, allocations: 7.953 kB / 0.5181 GB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.758e-05/0.3496, allocations: 39.97 kB / 0.5181 GB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.35, allocations: 308.8 kB / 0.5184 GB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.3502, allocations: 122.7 kB / 0.5185 GB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.3503, allocations: 224 / 0.5185 GB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.3503, allocations: 38.48 kB / 0.5186 GB, free: 2.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 9.51e-07/0.3503, allocations: 0 / 0.5186 GB, free: 2.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.003398/0.3537, allocations: 0.9455 MB / 0.5195 GB, free: 1.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3538, allocations: 51.41 kB / 0.5195 GB, free: 1.301 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.3538, allocations: 100.9 kB / 0.5196 GB, free: 1.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3539, allocations: 29.7 kB / 0.5197 GB, free: 1.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.3539, allocations: 88.45 kB / 0.5197 GB, free: 1.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.3539, allocations: 67.09 kB / 0.5198 GB, free: 1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.354, allocations: 0 / 0.5198 GB, free: 1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.354, allocations: 318.8 kB / 0.5201 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-05/0.3541, allocations: 48.36 kB / 0.5202 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.3542, allocations: 69.56 kB / 0.5202 GB, free: 0.5625 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.003105/0.3573, allocations: 494.2 kB / 0.5207 GB, free: 64 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3573, allocations: 0 / 0.5207 GB, free: 64 kB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001121/0.3584, allocations: 280.4 kB / 0.521 GB, free: 15.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3585, allocations: 7.953 kB / 0.521 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.3585, allocations: 3.984 kB / 0.521 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.3598, allocations: 192.6 kB / 0.5212 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.3599, allocations: 15.98 kB / 0.5212 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.3628, allocations: 1.807 MB / 0.5229 GB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.363, allocations: 8 kB / 0.5229 GB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.363, allocations: 4 kB / 0.5229 GB, free: 13.61 MB / 362.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 () * Number of clocked 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 0.000133/0.3631, allocations: 129.8 kB / 0.5231 GB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.3632, allocations: 7.906 kB / 0.5231 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.3632, allocations: 16.84 kB / 0.5231 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3632, allocations: 4.25 kB / 0.5231 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3632, allocations: 0 / 0.5231 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3633, allocations: 4 kB / 0.5231 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.3647, allocations: 0.5739 MB / 0.5237 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3647, allocations: 7.938 kB / 0.5237 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.3648, allocations: 12.03 kB / 0.5237 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/0.3673, allocations: 308.4 kB / 0.524 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3674, allocations: 4 kB / 0.524 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.37, allocations: 1.831 MB / 0.5258 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3701, allocations: 0 / 0.5258 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.3713, allocations: 442.4 kB / 0.5262 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.3713, allocations: 92.97 kB / 0.5263 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3713, allocations: 0 / 0.5263 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3715, allocations: 11.94 kB / 0.5263 GB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3715, allocations: 12.02 kB / 0.5263 GB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3715, allocations: 4 kB / 0.5263 GB, free: 9.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.62e-05/0.3716, allocations: 91.27 kB / 0.5264 GB, free: 9.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3716, allocations: 0 / 0.5264 GB, free: 9.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.3719, allocations: 36 kB / 0.5264 GB, free: 9.777 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 () * Number of clocked 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.001477/0.3734, allocations: 1.048 MB / 0.5275 GB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007728/0.3742, allocations: 314.5 kB / 0.5278 GB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3742, allocations: 0 / 0.5278 GB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000569/0.3748, allocations: 262.5 kB / 0.528 GB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.375, allocations: 9.312 kB / 0.528 GB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3769, allocations: 1.011 MB / 0.529 GB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.3771, allocations: 0.7049 MB / 0.5297 GB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.393e-05/0.3772, allocations: 8.875 kB / 0.5297 GB, free: 6.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.3772, allocations: 23.44 kB / 0.5297 GB, free: 6.281 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3772, allocations: 4 kB / 0.5297 GB, free: 6.277 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.3929, allocations: 2.84 MB / 0.5325 GB, free: 3.711 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/0.3932, allocations: 274 kB / 0.5328 GB, free: 3.352 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.271, allocations: 0 / 0.5328 GB, free: 3.352 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)