Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0131/0.0131, allocations: 164.7 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.792/1.792, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001972/0.001972, allocations: 111.4 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4481/0.4481, allocations: 38.05 MB / 303.7 MB, free: 42.72 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000672/0.0006718, allocations: 15.98 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1131, allocations: 48.7 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.454/1.567, allocations: 395.4 MB / 0.7882 GB, free: 120.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/1.567, allocations: 87.19 kB / 0.7882 GB, free: 120.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008/2.576, allocations: 191.5 MB / 0.9752 GB, free: 82.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.635e-06/2.576, allocations: 0 / 0.9752 GB, free: 82.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001534/2.576, allocations: 28.89 kB / 0.9752 GB, free: 82.88 MB / 442.7 MB 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.006378/2.582, allocations: 1.45 MB / 0.9767 GB, free: 82.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/2.582, allocations: 13.25 kB / 0.9767 GB, free: 82.17 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006953/2.583, allocations: 123.8 kB / 0.9768 GB, free: 82.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008052/2.584, allocations: 125.8 kB / 0.9769 GB, free: 82.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/2.587, allocations: 0.7947 MB / 0.9777 GB, free: 81.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/2.587, allocations: 119.9 kB / 0.9778 GB, free: 81.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/2.588, allocations: 67.08 kB / 0.9779 GB, free: 81.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003704/2.591, allocations: 1.209 MB / 0.9791 GB, free: 81.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/2.591, allocations: 1.781 kB / 0.9791 GB, free: 81.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/2.592, allocations: 28.3 kB / 0.9791 GB, free: 81.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/2.592, allocations: 75.84 kB / 0.9792 GB, free: 81.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/2.596, allocations: 1.191 MB / 0.9803 GB, free: 81.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/2.611, allocations: 4.77 MB / 0.985 GB, free: 79.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/2.614, allocations: 0.6485 MB / 0.9856 GB, free: 79.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005484/2.619, allocations: 2.466 MB / 0.988 GB, free: 78.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/2.619, allocations: 38.88 kB / 0.9881 GB, free: 78.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 3.988e-06/2.619, allocations: 0 / 0.9881 GB, free: 78.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=56): time 0.01221/2.631, allocations: 2.907 MB / 0.9909 GB, free: 77.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/2.632, allocations: 168.5 kB / 0.9911 GB, free: 77.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/2.633, allocations: 0.7746 MB / 0.9918 GB, free: 77.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002511/2.634, allocations: 37.27 kB / 0.9918 GB, free: 77.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/2.634, allocations: 487.5 kB / 0.9923 GB, free: 76.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/2.634, allocations: 205.2 kB / 0.9925 GB, free: 76.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/2.634, allocations: 18.16 kB / 0.9925 GB, free: 76.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/2.635, allocations: 399.8 kB / 0.9929 GB, free: 76.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/2.636, allocations: 426.1 kB / 0.9933 GB, free: 76.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/2.637, allocations: 0.7323 MB / 0.994 GB, free: 76.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/2.639, allocations: 0.5055 MB / 0.9945 GB, free: 76.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/2.639, allocations: 0 / 0.9945 GB, free: 76.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00459/2.644, allocations: 1.507 MB / 0.996 GB, free: 75.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008598/2.645, allocations: 3.579 MB / 0.9995 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/2.645, allocations: 7.25 kB / 0.9995 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/2.648, allocations: 0.5142 MB / 1 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/2.649, allocations: 194.3 kB / 1 GB, free: 72.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/2.653, allocations: 2.921 MB / 1.003 GB, free: 69.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/2.655, allocations: 62.45 kB / 1.003 GB, free: 69.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/2.655, allocations: 52.91 kB / 1.003 GB, free: 69.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/2.655, allocations: 3.25 kB / 1.003 GB, free: 69.91 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003856/2.659, allocations: 1.298 MB / 1.004 GB, free: 69.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.346e-05/2.659, allocations: 8.969 kB / 1.004 GB, free: 69.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/2.661, allocations: 321.1 kB / 1.005 GB, free: 69.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/2.663, allocations: 197.1 kB / 1.005 GB, free: 69.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/2.665, allocations: 2.691 MB / 1.008 GB, free: 67.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/2.667, allocations: 59.91 kB / 1.008 GB, free: 67.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/2.667, allocations: 53.94 kB / 1.008 GB, free: 67.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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.0009566/2.668, allocations: 374.4 kB / 1.008 GB, free: 67.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/2.669, allocations: 96.08 kB / 1.008 GB, free: 67.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/2.673, allocations: 1.357 MB / 1.009 GB, free: 66.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/2.673, allocations: 6.125 kB / 1.009 GB, free: 66.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/2.673, allocations: 0 / 1.009 GB, free: 66.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/2.673, allocations: 3.844 kB / 1.009 GB, free: 66.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006479/2.679, allocations: 2.305 MB / 1.012 GB, free: 65.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/2.68, allocations: 0 / 1.012 GB, free: 65.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009405/2.68, allocations: 92.81 kB / 1.012 GB, free: 65.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/2.683, allocations: 0.5067 MB / 1.012 GB, free: 65.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/2.683, allocations: 19.77 kB / 1.012 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00324/2.687, allocations: 2.92 MB / 1.015 GB, free: 63.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/2.687, allocations: 10.27 kB / 1.015 GB, free: 63.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/2.691, allocations: 1.762 MB / 1.017 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/2.693, allocations: 281.5 kB / 1.017 GB, free: 62.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/2.693, allocations: 15.64 kB / 1.017 GB, free: 62.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/2.694, allocations: 45.23 kB / 1.017 GB, free: 62.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/2.695, allocations: 54.81 kB / 1.017 GB, free: 62.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/2.695, allocations: 28.42 kB / 1.017 GB, free: 62.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001292/2.696, allocations: 0.5904 MB / 1.018 GB, free: 61.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.696, allocations: 0 / 1.018 GB, free: 61.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004384/2.7, allocations: 0.8573 MB / 1.019 GB, free: 61.57 MB / 442.7 MB 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 () * Number of clocked 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.007998/2.709, allocations: 3.184 MB / 1.022 GB, free: 59.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006639/2.715, allocations: 1.901 MB / 1.024 GB, free: 59.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/2.715, allocations: 6.5 kB / 1.024 GB, free: 59.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/2.717, allocations: 0.5657 MB / 1.024 GB, free: 58.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/2.72, allocations: 343.6 kB / 1.025 GB, free: 58.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/2.731, allocations: 9.483 MB / 1.034 GB, free: 50.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/2.732, allocations: 1.078 MB / 1.035 GB, free: 49.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00235/2.734, allocations: 409.4 kB / 1.035 GB, free: 49.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008174/2.735, allocations: 347 kB / 1.036 GB, free: 49.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/2.735, allocations: 0 / 1.036 GB, free: 49.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/2.843, allocations: 35.15 MB / 1.07 GB, free: 32.79 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/2.843, allocations: 267.1 kB / 1.07 GB, free: 32.43 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.207/7.05, allocations: 0 / 1.07 GB, free: 32.43 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat