Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",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.001794/0.001794, allocations: 175.2 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.679/1.679, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.001337/0.001337, allocations: 93.25 kB / 285.6 MB, free: 12.96 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.004694/0.004693, allocations: 0.5536 MB / 337 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.473e-05, allocations: 4 kB / 395.6 MB, free: 70.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 50.58 MB / 446.1 MB, free: 19.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5394/0.6603, allocations: 75.16 MB / 0.5091 GB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/0.6608, allocations: 67.58 kB / 0.5092 GB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003255/0.6641, allocations: 0.9016 MB / 0.51 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.6642, allocations: 4 kB / 0.51 GB, free: 11.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.6642, allocations: 0 / 0.51 GB, free: 11.69 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.0005811/0.6648, allocations: 362 kB / 0.5104 GB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.511e-05/0.6649, allocations: 12.03 kB / 0.5104 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.151e-05/0.665, allocations: 34.12 kB / 0.5104 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.665, allocations: 4 kB / 0.5104 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.6653, allocations: 174.9 kB / 0.5106 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.6654, allocations: 7.625 kB / 0.5106 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.6654, allocations: 14.27 kB / 0.5106 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.6656, allocations: 68.8 kB / 0.5107 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6656, allocations: 4 kB / 0.5107 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.6657, allocations: 4.344 kB / 0.5107 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.6657, allocations: 3.953 kB / 0.5107 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.6658, allocations: 38.36 kB / 0.5107 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/0.6665, allocations: 309.6 kB / 0.511 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.6669, allocations: 115 kB / 0.5111 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.667, allocations: 38.42 kB / 0.5112 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.667, allocations: 4 kB / 0.5112 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.6671, allocations: 42.44 kB / 0.5112 GB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.6671, allocations: 0 / 0.5112 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.003941/0.671, allocations: 0.9105 MB / 0.5121 GB, free: 9.535 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.6711, allocations: 55.31 kB / 0.5122 GB, free: 9.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.6713, allocations: 95.88 kB / 0.5122 GB, free: 9.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.6713, allocations: 32.89 kB / 0.5123 GB, free: 9.336 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.6714, allocations: 87.45 kB / 0.5124 GB, free: 9.246 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.6715, allocations: 60.55 kB / 0.5124 GB, free: 9.195 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.6715, allocations: 3.125 kB / 0.5124 GB, free: 9.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.6717, allocations: 325.8 kB / 0.5127 GB, free: 8.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.6719, allocations: 41.56 kB / 0.5128 GB, free: 8.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.672, allocations: 60.78 kB / 0.5128 GB, free: 8.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.6749, allocations: 473.5 kB / 0.5133 GB, free: 8.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6749, allocations: 0 / 0.5133 GB, free: 8.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001035/0.6759, allocations: 276.4 kB / 0.5135 GB, free: 8.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.676, allocations: 4 kB / 0.5136 GB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.676, allocations: 0 / 0.5136 GB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.677, allocations: 156.3 kB / 0.5137 GB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.6771, allocations: 27.67 kB / 0.5137 GB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/0.6806, allocations: 1.771 MB / 0.5155 GB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.6807, allocations: 3.562 kB / 0.5155 GB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.6808, allocations: 6.25 kB / 0.5155 GB, free: 6.176 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.0002237/0.681, allocations: 123.6 kB / 0.5156 GB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.681, allocations: 7.906 kB / 0.5156 GB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.044e-05/0.6811, allocations: 18.06 kB / 0.5156 GB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.6811, allocations: 4 kB / 0.5156 GB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.6812, allocations: 0 / 0.5156 GB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6812, allocations: 4.031 kB / 0.5156 GB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.6827, allocations: 0.5667 MB / 0.5162 GB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.6827, allocations: 4 kB / 0.5162 GB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.6828, allocations: 8.281 kB / 0.5162 GB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.6848, allocations: 296.7 kB / 0.5165 GB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.6848, allocations: 7.938 kB / 0.5165 GB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003196/0.688, allocations: 1.792 MB / 0.5182 GB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6881, allocations: 0 / 0.5182 GB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.6893, allocations: 429.8 kB / 0.5186 GB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.6894, allocations: 93 kB / 0.5187 GB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.6895, allocations: 4 kB / 0.5187 GB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.6896, allocations: 3.688 kB / 0.5187 GB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.6897, allocations: 15.3 kB / 0.5187 GB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.6897, allocations: 7.984 kB / 0.5188 GB, free: 2.887 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.574e-05/0.6898, allocations: 86.72 kB / 0.5188 GB, free: 2.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6898, allocations: 0 / 0.5188 GB, free: 2.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004525/0.6903, allocations: 35 kB / 0.5189 GB, free: 2.777 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.001954/0.6923, allocations: 1.035 MB / 0.5199 GB, free: 1.773 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.6933, allocations: 309.5 kB / 0.5202 GB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6934, allocations: 0 / 0.5202 GB, free: 1.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.6941, allocations: 250.2 kB / 0.5204 GB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.6943, allocations: 13.44 kB / 0.5204 GB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/0.6952, allocations: 242.1 kB / 0.5207 GB, free: 1.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.6959, allocations: 0.7088 MB / 0.5213 GB, free: 292 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.696, allocations: 4.891 kB / 0.5214 GB, free: 288 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.504e-05/0.6961, allocations: 27.8 kB / 0.5214 GB, free: 272 kB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6961, allocations: 0 / 0.5214 GB, free: 272 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.7218, allocations: 2.744 MB / 0.5241 GB, free: 13.78 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/0.7222, allocations: 222.3 kB / 0.5243 GB, free: 13.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.603, allocations: 4.062 kB / 0.5243 GB, free: 13.52 MB / 346.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)