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.001637/0.001637, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.484/1.484, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 92.19 kB / 285.6 MB, free: 12.98 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.002646/0.002646, allocations: 0.5654 MB / 337.1 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.52e-05, allocations: 0 / 395.6 MB, free: 70.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.08944, allocations: 50.58 MB / 446.1 MB, free: 19.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3301/0.4196, allocations: 75.18 MB / 0.5091 GB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.4198, allocations: 64.5 kB / 0.5092 GB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002457/0.4223, allocations: 0.9123 MB / 0.5101 GB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4223, allocations: 0 / 0.5101 GB, free: 11.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.4223, allocations: 0 / 0.5101 GB, free: 11.65 MB / 330.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.0004189/0.4228, allocations: 370.3 kB / 0.5104 GB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.4228, allocations: 8.031 kB / 0.5104 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.4229, allocations: 41.62 kB / 0.5105 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.4229, allocations: 7.125 kB / 0.5105 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.4231, allocations: 174.2 kB / 0.5106 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4231, allocations: 3.375 kB / 0.5106 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.4231, allocations: 8 kB / 0.5106 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.4233, allocations: 71.56 kB / 0.5107 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4233, allocations: 0 / 0.5107 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4233, allocations: 352 / 0.5107 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.4233, allocations: 3.953 kB / 0.5107 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.4234, allocations: 41.42 kB / 0.5108 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.424, allocations: 309.2 kB / 0.5111 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.4243, allocations: 122 kB / 0.5112 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.4243, allocations: 36.98 kB / 0.5112 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.4244, allocations: 3.938 kB / 0.5112 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.4244, allocations: 38.02 kB / 0.5112 GB, free: 10.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.4244, allocations: 0 / 0.5112 GB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.003404/0.4278, allocations: 0.9076 MB / 0.5121 GB, free: 9.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4279, allocations: 59.31 kB / 0.5122 GB, free: 9.426 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.428, allocations: 104.6 kB / 0.5123 GB, free: 9.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.428, allocations: 25.7 kB / 0.5123 GB, free: 9.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.4281, allocations: 87.53 kB / 0.5124 GB, free: 9.203 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.4281, allocations: 60.16 kB / 0.5125 GB, free: 9.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.4281, allocations: 7.375 kB / 0.5125 GB, free: 9.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4283, allocations: 322.2 kB / 0.5128 GB, free: 8.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.4283, allocations: 42.38 kB / 0.5128 GB, free: 8.801 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-05/0.4284, allocations: 63 kB / 0.5129 GB, free: 8.754 MB / 330.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.002551/0.431, allocations: 462.9 kB / 0.5133 GB, free: 8.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.431, allocations: 4 kB / 0.5133 GB, free: 8.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001135/0.4322, allocations: 273.1 kB / 0.5136 GB, free: 8.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.4322, allocations: 8 kB / 0.5136 GB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4322, allocations: 4.031 kB / 0.5136 GB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.4333, allocations: 158.8 kB / 0.5137 GB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.4334, allocations: 15.98 kB / 0.5138 GB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.4365, allocations: 1.783 MB / 0.5155 GB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.4367, allocations: 7.688 kB / 0.5155 GB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.4367, allocations: 11.38 kB / 0.5155 GB, free: 6.125 MB / 330.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 0.0001286/0.4368, allocations: 116.4 kB / 0.5156 GB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.4369, allocations: 7.906 kB / 0.5156 GB, free: 6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.437, allocations: 22.97 kB / 0.5157 GB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.437, allocations: 0 / 0.5157 GB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.437, allocations: 4 kB / 0.5157 GB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.437, allocations: 0 / 0.5157 GB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.4386, allocations: 0.5645 MB / 0.5162 GB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4387, allocations: 4.031 kB / 0.5162 GB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.4387, allocations: 15.98 kB / 0.5162 GB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/0.4406, allocations: 282.8 kB / 0.5165 GB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.4407, allocations: 3.984 kB / 0.5165 GB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.4431, allocations: 1.785 MB / 0.5182 GB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4431, allocations: 0 / 0.5182 GB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.4442, allocations: 444.1 kB / 0.5187 GB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.4443, allocations: 88.97 kB / 0.5188 GB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.4443, allocations: 0.875 kB / 0.5188 GB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4444, allocations: 7.188 kB / 0.5188 GB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.4444, allocations: 16.02 kB / 0.5188 GB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.4445, allocations: 7.875 kB / 0.5188 GB, free: 2.848 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.4445, allocations: 83.28 kB / 0.5189 GB, free: 2.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4445, allocations: 0 / 0.5189 GB, free: 2.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.4449, allocations: 35.19 kB / 0.5189 GB, free: 2.738 MB / 330.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.00135/0.4462, allocations: 1.04 MB / 0.5199 GB, free: 1.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007726/0.447, allocations: 304.7 kB / 0.5202 GB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.447, allocations: 0 / 0.5202 GB, free: 1.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.4476, allocations: 253.7 kB / 0.5204 GB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.4477, allocations: 10.78 kB / 0.5205 GB, free: 1.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.4482, allocations: 249.7 kB / 0.5207 GB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.4485, allocations: 0.7048 MB / 0.5214 GB, free: 248 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.96e-05/0.4486, allocations: 4.891 kB / 0.5214 GB, free: 244 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.4486, allocations: 24.91 kB / 0.5214 GB, free: 228 kB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4486, allocations: 0 / 0.5214 GB, free: 228 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.4629, allocations: 2.762 MB / 0.5241 GB, free: 13.72 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.4631, allocations: 243.7 kB / 0.5243 GB, free: 13.39 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.058, allocations: 0 / 0.5243 GB, free: 13.39 MB / 346.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)