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.006422/0.006422, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001512/0.001512, allocations: 202.6 kB / 16.68 MB, free: 5.973 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.003816/0.003816, allocations: 0.5658 MB / 291.1 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.167/0.167, allocations: 58.45 kB / 401.9 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.2708, allocations: 49.6 MB / 451.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001987/0.2729, allocations: 0.592 MB / 452.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002502/0.2732, allocations: 47.8 kB / 452.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.2732, allocations: 0 / 452.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.2733, allocations: 7.938 kB / 452.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.033e-05/0.2734, allocations: 7.922 kB / 452.2 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001077/0.2735, allocations: 15.97 kB / 452.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.676e-05/0.2736, allocations: 47.84 kB / 452.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.2736, allocations: 4 kB / 452.3 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.2737, allocations: 19.92 kB / 452.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.2738, allocations: 27.84 kB / 452.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.2738, allocations: 4 kB / 452.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.2738, allocations: 4 kB / 452.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.2738, allocations: 15.97 kB / 452.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.2739, allocations: 27.86 kB / 452.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.935e-05/0.274, allocations: 34.5 kB / 452.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.274, allocations: 0 / 452.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.274, allocations: 0 / 452.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.547e-06/0.274, allocations: 0 / 452.4 MB, free: 5.039 MB / 318.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.0005512/0.2746, allocations: 368.3 kB / 452.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2746, allocations: 15.89 kB / 452.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.2747, allocations: 38.75 kB / 452.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.2747, allocations: 8.891 kB / 452.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2749, allocations: 184.2 kB / 453 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2749, allocations: 12.38 kB / 453 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.2749, allocations: 4.375 kB / 453 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.2751, allocations: 66.23 kB / 453.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2751, allocations: 3.938 kB / 453.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2751, allocations: 4 kB / 453.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2751, allocations: 7.984 kB / 453.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/0.2752, allocations: 47.78 kB / 453.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.2757, allocations: 308.9 kB / 453.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.276, allocations: 118.5 kB / 453.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.872e-05/0.2761, allocations: 40.84 kB / 453.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.2761, allocations: 4 kB / 453.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2761, allocations: 34.56 kB / 453.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.2761, allocations: 0 / 453.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.003423/0.2796, allocations: 0.9223 MB / 454.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.2796, allocations: 55.41 kB / 454.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/0.2797, allocations: 113.8 kB / 454.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2797, allocations: 29.7 kB / 454.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.2798, allocations: 92.36 kB / 454.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.2799, allocations: 67.48 kB / 454.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.2799, allocations: 33.72 kB / 454.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2801, allocations: 318.8 kB / 455.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.2801, allocations: 43.97 kB / 455.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.2802, allocations: 70.64 kB / 455.4 MB, free: 1.785 MB / 318.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.2829, allocations: 0.5683 MB / 455.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2829, allocations: 0 / 455.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009084/0.2838, allocations: 282.1 kB / 456.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2839, allocations: 8 kB / 456.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2839, allocations: 0 / 456.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008913/0.2848, allocations: 148.7 kB / 456.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.2849, allocations: 31.86 kB / 456.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.2876, allocations: 1.979 MB / 458.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.2877, allocations: 4 kB / 458.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.2877, allocations: 8.062 kB / 458.4 MB, free: 14.59 MB / 334.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 = 1e5. 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.0001231/0.2879, allocations: 128 kB / 458.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.2879, allocations: 11.95 kB / 458.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.288, allocations: 20.78 kB / 458.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.288, allocations: 4 kB / 458.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.288, allocations: 0 / 458.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.288, allocations: 4.031 kB / 458.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.2893, allocations: 0.574 MB / 459.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2893, allocations: 4 kB / 459.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.2894, allocations: 8 kB / 459.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.2912, allocations: 284.5 kB / 459.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.2913, allocations: 3.984 kB / 459.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.2939, allocations: 1.991 MB / 461.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2939, allocations: 3.938 kB / 461.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.2949, allocations: 432.7 kB / 461.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.295, allocations: 81.06 kB / 461.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.295, allocations: 8.031 kB / 461.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2951, allocations: 4 kB / 461.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.2952, allocations: 15.92 kB / 461.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2952, allocations: 8 kB / 461.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.496e-05/0.2953, allocations: 91.5 kB / 462 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2953, allocations: 4 kB / 462 MB, free: 10.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.2956, allocations: 36 kB / 462.1 MB, free: 10.65 MB / 334.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.001336/0.297, allocations: 0.957 MB / 463 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.2978, allocations: 321.3 kB / 463.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2978, allocations: 0 / 463.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005532/0.2983, allocations: 254.5 kB / 463.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2986, allocations: 11.94 kB / 463.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.3017, allocations: 1.957 MB / 465.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3021, allocations: 0.7123 MB / 466.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.439e-05/0.3021, allocations: 8.875 kB / 466.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.3022, allocations: 23.44 kB / 466.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3022, allocations: 0 / 466.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.3291, allocations: 3.15 MB / 469.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.259/9.588, allocations: 21 kB / 469.5 MB, free: 3.293 MB / 334.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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)