Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",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.001214/0.001214, allocations: 175.1 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.664/1.664, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.001134/0.001134, allocations: 92.2 kB / 285.6 MB, free: 12.99 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.002956/0.002956, allocations: 0.56 MB / 337 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.711e-05/4.738e-05, allocations: 4 kB / 395.6 MB, free: 70.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 50.58 MB / 446.1 MB, free: 19.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.6286, allocations: 75.15 MB / 0.5091 GB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.629, allocations: 67.75 kB / 0.5091 GB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002782/0.6318, allocations: 0.9021 MB / 0.51 GB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6318, allocations: 0 / 0.51 GB, free: 11.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.6319, allocations: 0 / 0.51 GB, free: 11.71 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.0004976/0.6324, allocations: 366.2 kB / 0.5104 GB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.812e-05/0.6324, allocations: 8.031 kB / 0.5104 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.6325, allocations: 40.88 kB / 0.5104 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.6326, allocations: 4 kB / 0.5104 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.6328, allocations: 178.9 kB / 0.5106 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.6328, allocations: 3.312 kB / 0.5106 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.6328, allocations: 12.97 kB / 0.5106 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.633, allocations: 66.56 kB / 0.5107 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.633, allocations: 0 / 0.5107 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6331, allocations: 7.969 kB / 0.5107 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.6331, allocations: 3.953 kB / 0.5107 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.6332, allocations: 34.67 kB / 0.5107 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006525/0.6338, allocations: 306.1 kB / 0.511 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.6341, allocations: 106.4 kB / 0.5111 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.6342, allocations: 35.42 kB / 0.5111 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.6342, allocations: 0 / 0.5111 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.6343, allocations: 38.52 kB / 0.5112 GB, free: 10.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.6343, allocations: 0 / 0.5112 GB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.003322/0.6376, allocations: 0.8396 MB / 0.512 GB, free: 9.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.6376, allocations: 51.41 kB / 0.512 GB, free: 9.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.6378, allocations: 96.5 kB / 0.5121 GB, free: 9.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.6378, allocations: 33.45 kB / 0.5122 GB, free: 9.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.6379, allocations: 95.22 kB / 0.5123 GB, free: 9.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.638, allocations: 54.56 kB / 0.5123 GB, free: 9.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.638, allocations: 0 / 0.5123 GB, free: 9.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.6382, allocations: 326.5 kB / 0.5126 GB, free: 8.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.891e-05/0.6382, allocations: 38.44 kB / 0.5127 GB, free: 8.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.125e-05/0.6383, allocations: 54.94 kB / 0.5127 GB, free: 8.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.849e-05/0.6384, allocations: 43.36 kB / 0.5128 GB, free: 8.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6384, allocations: 7.953 kB / 0.5128 GB, free: 8.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009054/0.6393, allocations: 262.9 kB / 0.513 GB, free: 8.648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.6394, allocations: 5.719 kB / 0.513 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6394, allocations: 0 / 0.513 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000922/0.6403, allocations: 155.7 kB / 0.5132 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.6404, allocations: 27.86 kB / 0.5132 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.643, allocations: 1.73 MB / 0.5149 GB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.6431, allocations: 3.938 kB / 0.5149 GB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.6431, allocations: 4 kB / 0.5149 GB, free: 6.762 MB / 330.7 MB 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 (12): * Single equations (assignments): 11 * 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 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.6433, allocations: 115.8 kB / 0.515 GB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.6433, allocations: 7.906 kB / 0.515 GB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/0.6434, allocations: 15.12 kB / 0.515 GB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.6434, allocations: 4.031 kB / 0.515 GB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6434, allocations: 4 kB / 0.515 GB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6434, allocations: 4 kB / 0.515 GB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.6437, allocations: 200 kB / 0.5152 GB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.6437, allocations: 0 / 0.5152 GB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.6437, allocations: 19.92 kB / 0.5152 GB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.6456, allocations: 280.9 kB / 0.5155 GB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.6456, allocations: 0 / 0.5155 GB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.648, allocations: 1.734 MB / 0.5172 GB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.648, allocations: 0 / 0.5172 GB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.6491, allocations: 400.8 kB / 0.5176 GB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.6492, allocations: 88.95 kB / 0.5177 GB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.6492, allocations: 0 / 0.5177 GB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.6493, allocations: 4 kB / 0.5177 GB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.6494, allocations: 15.39 kB / 0.5177 GB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6494, allocations: 4 kB / 0.5177 GB, free: 3.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.6495, allocations: 85.66 kB / 0.5178 GB, free: 3.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6495, allocations: 3.938 kB / 0.5178 GB, free: 3.844 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003591/0.6499, allocations: 34.25 kB / 0.5178 GB, free: 3.816 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * 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 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/0.6513, allocations: 0.9409 MB / 0.5187 GB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.6519, allocations: 272.5 kB / 0.519 GB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6519, allocations: 0 / 0.519 GB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.6522, allocations: 215.2 kB / 0.5192 GB, free: 2.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.6524, allocations: 2.188 kB / 0.5192 GB, free: 2.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.653, allocations: 228 kB / 0.5194 GB, free: 2.246 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.6534, allocations: 0.7088 MB / 0.5201 GB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.628e-05/0.6535, allocations: 4.562 kB / 0.5201 GB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.6535, allocations: 26.17 kB / 0.5201 GB, free: 1.488 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.6535, allocations: 0 / 0.5201 GB, free: 1.488 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.6728, allocations: 2.708 MB / 0.5228 GB, free: 15.04 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/0.6732, allocations: 229.4 kB / 0.523 GB, free: 14.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.523, allocations: 9.188 kB / 0.523 GB, free: 14.73 MB / 346.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)