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.006758/0.006758, allocations: 169.9 kB / 15.11 MB, free: 5.973 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.473/1.473, allocations: 223.2 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009476, allocations: 98.45 kB / 290.2 MB, free: 13.93 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.002534/0.002534, allocations: 0.5499 MB / 341.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004056, allocations: 8.031 kB / 403 MB, free: 98.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1178, allocations: 50.57 MB / 453.6 MB, free: 59.11 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09268/0.2106, allocations: 75.24 MB / 0.5164 GB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.2109, allocations: 59.97 kB / 0.5165 GB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002359/0.2132, allocations: 0.9139 MB / 0.5174 GB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.2133, allocations: 4 kB / 0.5174 GB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2133, allocations: 0 / 0.5174 GB, free: 14.79 MB / 362.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.0004175/0.2137, allocations: 367.2 kB / 0.5177 GB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2138, allocations: 8.031 kB / 0.5177 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.2138, allocations: 42.55 kB / 0.5178 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.2138, allocations: 7.906 kB / 0.5178 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.214, allocations: 171 kB / 0.518 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.214, allocations: 7.938 kB / 0.518 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.214, allocations: 12 kB / 0.518 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2142, allocations: 61.67 kB / 0.518 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2142, allocations: 0 / 0.518 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2142, allocations: 4.344 kB / 0.518 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2142, allocations: 3.953 kB / 0.518 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.998e-05/0.2143, allocations: 39.97 kB / 0.5181 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.2148, allocations: 312.8 kB / 0.5184 GB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.2151, allocations: 122.7 kB / 0.5185 GB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.2151, allocations: 0 / 0.5185 GB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2152, allocations: 30.56 kB / 0.5185 GB, free: 13.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.2152, allocations: 0 / 0.5185 GB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.003616/0.2188, allocations: 0.9458 MB / 0.5194 GB, free: 12.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.2189, allocations: 51.41 kB / 0.5195 GB, free: 12.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.2189, allocations: 104.9 kB / 0.5196 GB, free: 12.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.219, allocations: 33.7 kB / 0.5196 GB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.219, allocations: 92.31 kB / 0.5197 GB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.2191, allocations: 55.25 kB / 0.5198 GB, free: 12.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.2191, allocations: 4 kB / 0.5198 GB, free: 12.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2192, allocations: 318.8 kB / 0.5201 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.2193, allocations: 44.34 kB / 0.5201 GB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.2194, allocations: 65.62 kB / 0.5202 GB, free: 11.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/0.2226, allocations: 494.2 kB / 0.5206 GB, free: 11.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2226, allocations: 0 / 0.5206 GB, free: 11.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001122/0.2237, allocations: 282 kB / 0.5209 GB, free: 10.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.2237, allocations: 7.953 kB / 0.5209 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2238, allocations: 4.25 kB / 0.5209 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.2251, allocations: 196.6 kB / 0.5211 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.2252, allocations: 19.94 kB / 0.5211 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.2281, allocations: 1.815 MB / 0.5229 GB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.499e-05/0.2282, allocations: 12 kB / 0.5229 GB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2282, allocations: 4 kB / 0.5229 GB, free: 8.676 MB / 362.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 () * 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 (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.000171/0.2284, allocations: 125.7 kB / 0.523 GB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.2284, allocations: 7.906 kB / 0.5231 GB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.2285, allocations: 16.84 kB / 0.5231 GB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2285, allocations: 4 kB / 0.5231 GB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2285, allocations: 0 / 0.5231 GB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2285, allocations: 3.984 kB / 0.5231 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.2299, allocations: 0.5701 MB / 0.5236 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.23, allocations: 4 kB / 0.5236 GB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.216e-05/0.23, allocations: 8 kB / 0.5236 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/0.2325, allocations: 312.4 kB / 0.5239 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2325, allocations: 7.984 kB / 0.5239 GB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.2351, allocations: 1.819 MB / 0.5257 GB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.2351, allocations: 8.031 kB / 0.5257 GB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.2363, allocations: 442.3 kB / 0.5262 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.2364, allocations: 97 kB / 0.5262 GB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2364, allocations: 3.938 kB / 0.5263 GB, free: 5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.2365, allocations: 8 kB / 0.5263 GB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2366, allocations: 7.984 kB / 0.5263 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.2366, allocations: 7.984 kB / 0.5263 GB, free: 4.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.408e-05/0.2366, allocations: 91.28 kB / 0.5264 GB, free: 4.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2366, allocations: 0 / 0.5264 GB, free: 4.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00037/0.237, allocations: 36.12 kB / 0.5264 GB, free: 4.852 MB / 362.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 () * 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 (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.001453/0.2385, allocations: 1.049 MB / 0.5274 GB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007741/0.2393, allocations: 310.9 kB / 0.5277 GB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2393, allocations: 0 / 0.5277 GB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.2398, allocations: 254.5 kB / 0.528 GB, free: 3.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.24, allocations: 9.312 kB / 0.528 GB, free: 3.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.2419, allocations: 1.029 MB / 0.529 GB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.2422, allocations: 0.7049 MB / 0.5297 GB, free: 1.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.2422, allocations: 12.88 kB / 0.5297 GB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.2423, allocations: 23.44 kB / 0.5297 GB, free: 1.34 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2423, allocations: 0 / 0.5297 GB, free: 1.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/0.4704, allocations: 2.809 MB / 0.5324 GB, free: 85.92 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.4707, allocations: 266.2 kB / 0.5327 GB, free: 85.58 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.046, allocations: 0 / 0.5327 GB, free: 85.58 MB / 362.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)