Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004182, allocations: 12 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3469, allocations: 54.87 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.512, allocations: 401.8 MB / 0.7535 GB, free: 81.11 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.513, allocations: 90.52 kB / 0.7536 GB, free: 81.06 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9679/2.481, allocations: 191.5 MB / 0.9406 GB, free: 94.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/2.481, allocations: 3.938 kB / 0.9406 GB, free: 94.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.85e-05/2.481, allocations: 27.28 kB / 0.9406 GB, free: 94.31 MB / 490.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.004578/2.485, allocations: 1.446 MB / 0.942 GB, free: 92.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/2.485, allocations: 12.03 kB / 0.942 GB, free: 92.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/2.486, allocations: 126.6 kB / 0.9421 GB, free: 92.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/2.488, allocations: 0.7932 MB / 0.9429 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/2.488, allocations: 127.2 kB / 0.943 GB, free: 91.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/2.489, allocations: 59.59 kB / 0.9431 GB, free: 91.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/2.491, allocations: 1.215 MB / 0.9443 GB, free: 90.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/2.491, allocations: 3.938 kB / 0.9443 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/2.492, allocations: 27.75 kB / 0.9443 GB, free: 90.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/2.492, allocations: 77.95 kB / 0.9444 GB, free: 90.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/2.495, allocations: 1.179 MB / 0.9455 GB, free: 89.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/2.507, allocations: 4.782 MB / 0.9502 GB, free: 84.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/2.509, allocations: 0.6464 MB / 0.9508 GB, free: 83.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004277/2.513, allocations: 2.469 MB / 0.9532 GB, free: 80.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/2.513, allocations: 46.92 kB / 0.9533 GB, free: 80.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 2.364e-06/2.513, allocations: 0 / 0.9533 GB, free: 80.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.01069/2.524, allocations: 2.921 MB / 0.9561 GB, free: 77.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/2.524, allocations: 166.8 kB / 0.9563 GB, free: 77.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/2.526, allocations: 0.8681 MB / 0.9571 GB, free: 76.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/2.526, allocations: 41.7 kB / 0.9572 GB, free: 76.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/2.526, allocations: 497 kB / 0.9577 GB, free: 76.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/2.526, allocations: 201.1 kB / 0.9578 GB, free: 75.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/2.526, allocations: 16 kB / 0.9579 GB, free: 75.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/2.526, allocations: 350.8 kB / 0.9582 GB, free: 75.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/2.528, allocations: 425.8 kB / 0.9586 GB, free: 75.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/2.529, allocations: 0.7403 MB / 0.9593 GB, free: 74.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/2.53, allocations: 0.5106 MB / 0.9598 GB, free: 73.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/2.53, allocations: 0 / 0.9598 GB, free: 73.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003595/2.534, allocations: 1.453 MB / 0.9612 GB, free: 72.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/2.534, allocations: 354.2 kB / 0.9616 GB, free: 71.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/2.534, allocations: 8 kB / 0.9616 GB, free: 71.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/2.536, allocations: 0.5175 MB / 0.9621 GB, free: 71.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/2.538, allocations: 191.7 kB / 0.9623 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/2.541, allocations: 2.927 MB / 0.9651 GB, free: 67.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/2.542, allocations: 59.98 kB / 0.9652 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/2.542, allocations: 51.98 kB / 0.9652 GB, free: 67.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/2.542, allocations: 4 kB / 0.9652 GB, free: 67.86 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003365/2.546, allocations: 1.3 MB / 0.9665 GB, free: 66.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/2.546, allocations: 15.95 kB / 0.9665 GB, free: 66.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/2.547, allocations: 306.6 kB / 0.9668 GB, free: 66.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/2.549, allocations: 199.7 kB / 0.967 GB, free: 66.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/2.551, allocations: 2.689 MB / 0.9696 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/2.552, allocations: 51.97 kB / 0.9697 GB, free: 63.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/2.552, allocations: 48.17 kB / 0.9697 GB, free: 63.04 MB / 490.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.0008008/2.553, allocations: 380.7 kB / 0.9701 GB, free: 62.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/2.553, allocations: 94.81 kB / 0.9702 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/2.556, allocations: 1.359 MB / 0.9715 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/2.556, allocations: 8 kB / 0.9715 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/2.556, allocations: 0 / 0.9715 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/2.557, allocations: 3.984 kB / 0.9715 GB, free: 61.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004908/2.561, allocations: 2.298 MB / 0.9738 GB, free: 58.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/2.561, allocations: 0 / 0.9738 GB, free: 58.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/2.562, allocations: 95.81 kB / 0.9739 GB, free: 58.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/2.565, allocations: 0.502 MB / 0.9744 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/2.565, allocations: 19.98 kB / 0.9744 GB, free: 58.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/2.568, allocations: 2.919 MB / 0.9772 GB, free: 55.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/2.568, allocations: 4.344 kB / 0.9772 GB, free: 55.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/2.572, allocations: 1.738 MB / 0.9789 GB, free: 53.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007228/2.573, allocations: 291.7 kB / 0.9792 GB, free: 52.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/2.573, allocations: 16 kB / 0.9792 GB, free: 52.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/2.574, allocations: 40.03 kB / 0.9793 GB, free: 52.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/2.574, allocations: 56.47 kB / 0.9793 GB, free: 52.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-05/2.574, allocations: 23.98 kB / 0.9793 GB, free: 52.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001065/2.575, allocations: 0.5927 MB / 0.9799 GB, free: 52.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.575, allocations: 4 kB / 0.9799 GB, free: 52.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003217/2.579, allocations: 0.8702 MB / 0.9808 GB, free: 51.36 MB / 490.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.002417/2.581, allocations: 0.8264 MB / 0.9816 GB, free: 50.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004883/2.586, allocations: 1.825 MB / 0.9834 GB, free: 48.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.586, allocations: 4.125 kB / 0.9834 GB, free: 48.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/2.588, allocations: 0.5641 MB / 0.9839 GB, free: 48.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/2.59, allocations: 323.6 kB / 0.9842 GB, free: 47.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/2.596, allocations: 2.433 MB / 0.9866 GB, free: 45.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/2.596, allocations: 1.078 MB / 0.9876 GB, free: 44.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000496/2.597, allocations: 99.39 kB / 0.9877 GB, free: 44.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/2.597, allocations: 0 / 0.9877 GB, free: 44.16 MB / 490.7 MB Notification: Performance of Templates: time 0.0498/2.647, allocations: 30.69 MB / 1.018 GB, free: 13.47 MB / 490.7 MB