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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001445, allocations: 190.7 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003389/0.003389, allocations: 0.5698 MB / 290.6 MB, free: 1.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.89 kB / 351.2 MB, free: 2.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1107, allocations: 49.59 MB / 400.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001825/0.1126, allocations: 0.648 MB / 401.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.1128, allocations: 49.88 kB / 401.5 MB, free: 220 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.1128, allocations: 0 / 401.5 MB, free: 220 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.1129, allocations: 0 / 401.5 MB, free: 220 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.813e-05/0.113, allocations: 11.88 kB / 401.5 MB, free: 208 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.509e-05/0.1131, allocations: 7.984 kB / 401.5 MB, free: 200 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.158e-05/0.1132, allocations: 59.81 kB / 401.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.1132, allocations: 0 / 401.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.1133, allocations: 23.92 kB / 401.6 MB, free: 116 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.1134, allocations: 31.84 kB / 401.6 MB, free: 84 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1134, allocations: 0 / 401.6 MB, free: 84 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.1134, allocations: 4 kB / 401.6 MB, free: 80 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.1134, allocations: 15.98 kB / 401.6 MB, free: 64 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.1135, allocations: 23.8 kB / 401.6 MB, free: 40 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.293e-05/0.1135, allocations: 31.89 kB / 401.7 MB, free: 8 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1135, allocations: 0 / 401.7 MB, free: 8 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1136, allocations: 0 / 401.7 MB, free: 8 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1136, allocations: 0 / 401.7 MB, free: 8 kB / 286.1 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.1664/0.28, allocations: 371.1 kB / 402 MB, free: 10.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.2801, allocations: 13.7 kB / 402 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.2801, allocations: 37.64 kB / 402.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.2802, allocations: 9 kB / 402.1 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2803, allocations: 179.6 kB / 402.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.2803, allocations: 3.656 kB / 402.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.2803, allocations: 8 kB / 402.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.2805, allocations: 67.25 kB / 402.3 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2805, allocations: 8.422 kB / 402.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2805, allocations: 8.453 kB / 402.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2805, allocations: 1.062 kB / 402.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.2806, allocations: 37.41 kB / 402.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.2811, allocations: 310.6 kB / 402.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.2815, allocations: 123.6 kB / 402.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/0.2815, allocations: 40.33 kB / 402.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2816, allocations: 2.406 kB / 402.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.2816, allocations: 34.89 kB / 402.9 MB, free: 9.988 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.2816, allocations: 0 / 402.9 MB, free: 9.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003597/0.2852, allocations: 0.9275 MB / 403.8 MB, free: 9.691 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.2852, allocations: 58.11 kB / 403.9 MB, free: 9.625 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.462e-05/0.2853, allocations: 115 kB / 404 MB, free: 9.523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2853, allocations: 30.08 kB / 404 MB, free: 9.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.2854, allocations: 86.25 kB / 404.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.2854, allocations: 62.55 kB / 404.2 MB, free: 9.367 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.2855, allocations: 38.06 kB / 404.2 MB, free: 9.352 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.2855, allocations: 319.1 kB / 404.5 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.2856, allocations: 46.03 kB / 404.5 MB, free: 9.035 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.363e-05/0.2857, allocations: 63.53 kB / 404.6 MB, free: 9.02 MB / 286.1 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.002825/0.2885, allocations: 0.5737 MB / 405.2 MB, free: 8.883 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2886, allocations: 1.219 kB / 405.2 MB, free: 8.883 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000914/0.2895, allocations: 273.1 kB / 405.5 MB, free: 8.785 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2895, allocations: 11.36 kB / 405.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2895, allocations: 0.9062 kB / 405.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009014/0.2904, allocations: 160.1 kB / 405.6 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.2905, allocations: 21.86 kB / 405.6 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.2929, allocations: 1.977 MB / 407.6 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.293, allocations: 6.5 kB / 407.6 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2931, allocations: 4.344 kB / 407.6 MB, free: 7.031 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.2932, allocations: 134.6 kB / 407.8 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.2932, allocations: 8.281 kB / 407.8 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.2933, allocations: 18.62 kB / 407.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2933, allocations: 1.797 kB / 407.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.2933, allocations: 2.469 kB / 407.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2933, allocations: 1.266 kB / 407.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.2946, allocations: 0.5693 MB / 408.4 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2946, allocations: 1.281 kB / 408.4 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.2947, allocations: 16.66 kB / 408.4 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.2966, allocations: 291.3 kB / 408.7 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.2967, allocations: 6.438 kB / 408.7 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.2989, allocations: 1.974 MB / 410.6 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2989, allocations: 2.062 kB / 410.6 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3001, allocations: 432.1 kB / 411.1 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.3001, allocations: 85.61 kB / 411.2 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.3002, allocations: 6.188 kB / 411.2 MB, free: 4.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3003, allocations: 6.875 kB / 411.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3004, allocations: 23.25 kB / 411.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.3004, allocations: 5.984 kB / 411.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.3004, allocations: 89.45 kB / 411.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3004, allocations: 5.656 kB / 411.3 MB, free: 4.277 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.3008, allocations: 30.16 kB / 411.3 MB, free: 4.273 MB / 286.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/0.302, allocations: 0.961 MB / 412.3 MB, free: 3.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008081/0.3029, allocations: 317.4 kB / 412.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3029, allocations: 4.062 kB / 412.6 MB, free: 3.316 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.3034, allocations: 250.2 kB / 412.8 MB, free: 3.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3037, allocations: 12.22 kB / 412.8 MB, free: 3.152 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.3067, allocations: 1.973 MB / 414.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.3068, allocations: 0.7023 MB / 415.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.397e-05/0.3069, allocations: 5.844 kB / 415.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.3069, allocations: 24.66 kB / 415.6 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3069, allocations: 0.75 kB / 415.6 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.3332, allocations: 3.05 MB / 418.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.3335, allocations: 310.2 kB / 418.9 MB, free: 228 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.136, allocations: 4 kB / 418.9 MB, free: 224 kB / 286.1 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/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)