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.002096/0.002096, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 221.5 MB / 229.6 MB, free: 3.199 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.001054/0.001054, allocations: 80.28 kB / 280.5 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002983/0.002983, allocations: 0.5595 MB / 331.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.188e-05, allocations: 3.984 kB / 388.7 MB, free: 75.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 50.56 MB / 439.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.571/0.7164, allocations: 74.49 MB / 0.5017 GB, free: 5.352 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.7167, allocations: 66.91 kB / 0.5018 GB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002469/0.7192, allocations: 0.8959 MB / 0.5026 GB, free: 4.547 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7193, allocations: 0 / 0.5026 GB, free: 4.547 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.7193, allocations: 0 / 0.5026 GB, free: 4.547 MB / 314.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.0003788/0.7197, allocations: 369.7 kB / 0.503 GB, free: 4.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.7198, allocations: 8.031 kB / 0.503 GB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.7198, allocations: 4 kB / 0.503 GB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.72, allocations: 171.1 kB / 0.5032 GB, free: 3.934 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.72, allocations: 7.281 kB / 0.5032 GB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.7201, allocations: 4 kB / 0.5032 GB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001155/0.7202, allocations: 41.05 kB / 0.5032 GB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.7203, allocations: 60.09 kB / 0.5033 GB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.7204, allocations: 4 kB / 0.5033 GB, free: 3.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.7204, allocations: 7.891 kB / 0.5033 GB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.7204, allocations: 3.984 kB / 0.5033 GB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.721, allocations: 277.1 kB / 0.5036 GB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.7213, allocations: 99.17 kB / 0.5036 GB, free: 3.453 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.7214, allocations: 35.3 kB / 0.5037 GB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.7214, allocations: 4 kB / 0.5037 GB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.7214, allocations: 30.56 kB / 0.5037 GB, free: 3.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.7214, allocations: 0 / 0.5037 GB, free: 3.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002499/0.7239, allocations: 0.697 MB / 0.5044 GB, free: 2.707 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.724, allocations: 55.41 kB / 0.5044 GB, free: 2.641 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.7241, allocations: 103.6 kB / 0.5045 GB, free: 2.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.7241, allocations: 25.7 kB / 0.5046 GB, free: 2.504 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.7242, allocations: 94.44 kB / 0.5047 GB, free: 2.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.7242, allocations: 49.17 kB / 0.5047 GB, free: 2.367 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.7242, allocations: 0 / 0.5047 GB, free: 2.367 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7244, allocations: 325.3 kB / 0.505 GB, free: 2.047 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.7244, allocations: 32.81 kB / 0.505 GB, free: 2.027 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.7246, allocations: 60.88 kB / 0.5051 GB, free: 1.977 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.241e-05/0.7247, allocations: 40.64 kB / 0.5051 GB, free: 1.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7247, allocations: 0 / 0.5051 GB, free: 1.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008205/0.7255, allocations: 245.8 kB / 0.5054 GB, free: 1.734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.7256, allocations: 5.562 kB / 0.5054 GB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7256, allocations: 3.953 kB / 0.5054 GB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008389/0.7264, allocations: 148.4 kB / 0.5055 GB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.7265, allocations: 19.92 kB / 0.5055 GB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.7286, allocations: 1.675 MB / 0.5072 GB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.7287, allocations: 4 kB / 0.5072 GB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.7288, allocations: 11.75 kB / 0.5072 GB, free: 15.92 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.0001287/0.7289, allocations: 105 kB / 0.5073 GB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009071/0.7298, allocations: 241.3 kB / 0.5075 GB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.7299, allocations: 15.89 kB / 0.5075 GB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.7299, allocations: 15.62 kB / 0.5076 GB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.7299, allocations: 0 / 0.5076 GB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.7299, allocations: 4 kB / 0.5076 GB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.73, allocations: 0 / 0.5076 GB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.7302, allocations: 162.7 kB / 0.5077 GB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7302, allocations: 3 kB / 0.5077 GB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.7302, allocations: 23.48 kB / 0.5077 GB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.732, allocations: 277.4 kB / 0.508 GB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.732, allocations: 4 kB / 0.508 GB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.7343, allocations: 1.687 MB / 0.5097 GB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7343, allocations: 3.938 kB / 0.5097 GB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009953/0.7353, allocations: 382.1 kB / 0.51 GB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.7354, allocations: 84.97 kB / 0.5101 GB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.7354, allocations: 8.031 kB / 0.5101 GB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.7356, allocations: 0 / 0.5101 GB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.7356, allocations: 7.984 kB / 0.5101 GB, free: 13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.7356, allocations: 11.88 kB / 0.5101 GB, free: 13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.872e-05/0.7357, allocations: 87.33 kB / 0.5102 GB, free: 12.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7357, allocations: 0 / 0.5102 GB, free: 12.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.7361, allocations: 28 kB / 0.5102 GB, free: 12.88 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.001351/0.7374, allocations: 0.9137 MB / 0.5111 GB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.738, allocations: 249.2 kB / 0.5114 GB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.738, allocations: 3.938 kB / 0.5114 GB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.7383, allocations: 203 kB / 0.5116 GB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.7385, allocations: 9.781 kB / 0.5116 GB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.739, allocations: 224 kB / 0.5118 GB, free: 11.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.7395, allocations: 0.7047 MB / 0.5125 GB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.7395, allocations: 4.562 kB / 0.5125 GB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.7396, allocations: 21.11 kB / 0.5125 GB, free: 10.6 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7396, allocations: 4 kB / 0.5125 GB, free: 10.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.7661, allocations: 2.284 MB / 0.5147 GB, free: 8.352 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/0.7665, allocations: 198.2 kB / 0.5149 GB, free: 8.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.605, allocations: 2.188 kB / 0.5149 GB, free: 8.07 MB / 330.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)