Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002221/0.002221, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.325/2.325, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3051/0.3051, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.871e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4371, allocations: 58.86 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/1.723, allocations: 406.1 MB / 0.8626 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.723, allocations: 86.75 kB / 0.8627 GB, free: 141.3 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.054/2.778, allocations: 191.3 MB / 1.05 GB, free: 103.3 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.284e-06/2.778, allocations: 0 / 1.05 GB, free: 103.3 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001191/2.778, allocations: 30.41 kB / 1.05 GB, free: 103.3 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005403/2.783, allocations: 1.341 MB / 1.051 GB, free: 102.7 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/2.783, allocations: 10.8 kB / 1.051 GB, free: 102.7 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/2.784, allocations: 116.7 kB / 1.051 GB, free: 102.6 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/2.787, allocations: 0.7887 MB / 1.052 GB, free: 102.4 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/2.787, allocations: 93.84 kB / 1.052 GB, free: 102.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/2.788, allocations: 35.22 kB / 1.052 GB, free: 102.3 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002757/2.791, allocations: 1.064 MB / 1.053 GB, free: 102.3 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/2.793, allocations: 1.097 MB / 1.054 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/2.793, allocations: 0 / 1.054 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/2.794, allocations: 14.64 kB / 1.054 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/2.794, allocations: 72.08 kB / 1.054 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/2.807, allocations: 4.534 MB / 1.058 GB, free: 100.5 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/2.809, allocations: 0.6573 MB / 1.059 GB, free: 100.5 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009163/2.81, allocations: 404.8 kB / 1.06 GB, free: 100.5 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005394/2.815, allocations: 2.591 MB / 1.062 GB, free: 99.03 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/2.815, allocations: 37.88 kB / 1.062 GB, free: 98.99 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=50): time 4.478e-06/2.816, allocations: 0 / 1.062 GB, free: 98.99 MB / 0.4952 GB Notification: Performance of matching and sorting (n=55): time 0.01532/2.831, allocations: 3.051 MB / 1.065 GB, free: 98.43 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/2.831, allocations: 169.4 kB / 1.065 GB, free: 98.25 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/2.832, allocations: 0.6254 MB / 1.066 GB, free: 98.12 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0002613/2.833, allocations: 29.27 kB / 1.066 GB, free: 98.09 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/2.833, allocations: 0.4934 MB / 1.066 GB, free: 97.77 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/2.833, allocations: 192 kB / 1.067 GB, free: 97.64 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/2.833, allocations: 0 / 1.067 GB, free: 97.64 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001045/2.833, allocations: 348 kB / 1.067 GB, free: 97.33 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009824/2.834, allocations: 434.5 kB / 1.067 GB, free: 97.33 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/2.836, allocations: 0.65 MB / 1.068 GB, free: 97.07 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/2.848, allocations: 1.62 MB / 1.069 GB, free: 97.07 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.706e-05/2.848, allocations: 3.312 kB / 1.069 GB, free: 97.07 MB / 0.4952 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01593/2.864, allocations: 2.49 MB / 1.072 GB, free: 96.88 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006949/2.865, allocations: 2.435 MB / 1.074 GB, free: 94.34 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/2.865, allocations: 10.5 kB / 1.074 GB, free: 94.34 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/2.867, allocations: 437.4 kB / 1.075 GB, free: 94.32 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/2.869, allocations: 191.3 kB / 1.075 GB, free: 94.32 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005031/2.874, allocations: 3.14 MB / 1.078 GB, free: 92.08 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/2.876, allocations: 40.47 kB / 1.078 GB, free: 92.08 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/2.876, allocations: 46.16 kB / 1.078 GB, free: 92.08 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/2.876, allocations: 7.25 kB / 1.078 GB, free: 92.08 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01455/2.891, allocations: 2.325 MB / 1.08 GB, free: 91.94 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/2.891, allocations: 11.69 kB / 1.08 GB, free: 91.94 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/2.892, allocations: 379.4 kB / 1.081 GB, free: 91.92 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/2.894, allocations: 183.9 kB / 1.081 GB, free: 91.92 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/2.898, allocations: 2.952 MB / 1.084 GB, free: 89.68 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/2.899, allocations: 38.34 kB / 1.084 GB, free: 89.68 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/2.899, allocations: 41.58 kB / 1.084 GB, free: 89.68 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004078/2.9, allocations: 131 kB / 1.084 GB, free: 89.57 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004687/2.904, allocations: 1.242 MB / 1.085 GB, free: 89.37 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/2.905, allocations: 86.09 kB / 1.085 GB, free: 89.32 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005325/2.91, allocations: 1.456 MB / 1.087 GB, free: 89.13 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/2.91, allocations: 7.875 kB / 1.087 GB, free: 89.13 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/2.91, allocations: 1.5 kB / 1.087 GB, free: 89.13 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/2.91, allocations: 5.719 kB / 1.087 GB, free: 89.13 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007407/2.918, allocations: 2.407 MB / 1.089 GB, free: 88.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/2.918, allocations: 3.953 kB / 1.089 GB, free: 88.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/2.919, allocations: 96.19 kB / 1.089 GB, free: 88.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/2.92, allocations: 423.1 kB / 1.09 GB, free: 88.68 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-05/2.92, allocations: 10.7 kB / 1.09 GB, free: 88.68 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004515/2.925, allocations: 3.085 MB / 1.093 GB, free: 86.44 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.925, allocations: 2.844 kB / 1.093 GB, free: 86.44 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/2.931, allocations: 1.905 MB / 1.094 GB, free: 86.07 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/2.932, allocations: 288 kB / 1.095 GB, free: 85.93 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/2.932, allocations: 10.81 kB / 1.095 GB, free: 85.93 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/2.933, allocations: 27.16 kB / 1.095 GB, free: 85.93 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/2.933, allocations: 56.02 kB / 1.095 GB, free: 85.93 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/2.933, allocations: 30.66 kB / 1.095 GB, free: 85.93 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0008606/2.934, allocations: 493 kB / 1.095 GB, free: 85.84 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.51e-07/2.934, allocations: 0 / 1.095 GB, free: 85.84 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.003739/2.938, allocations: 0.8381 MB / 1.096 GB, free: 85.69 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008678/2.947, allocations: 3.337 MB / 1.099 GB, free: 84.46 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.005371/2.952, allocations: 1.772 MB / 1.101 GB, free: 83.75 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.952, allocations: 0 / 1.101 GB, free: 83.75 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/2.954, allocations: 0.5331 MB / 1.102 GB, free: 83.5 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/2.957, allocations: 323.6 kB / 1.102 GB, free: 83.44 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006931/2.964, allocations: 1.881 MB / 1.104 GB, free: 82.64 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/2.964, allocations: 1.078 MB / 1.105 GB, free: 81.91 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009218/2.965, allocations: 349 kB / 1.105 GB, free: 81.66 MB / 0.4952 GB Notification: Performance of SimCode: time 1.553e-06/2.965, allocations: 0 / 1.105 GB, free: 81.66 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.61/6.575, allocations: 34.89 MB / 1.139 GB, free: 70.85 MB / 0.4952 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)