Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.203/2.203, allocations: 234.9 MB / 250.5 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004404, allocations: 12 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2767, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9716/1.248, allocations: 401.8 MB / 0.753 GB, free: 83.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/1.249, allocations: 91.27 kB / 0.7531 GB, free: 83.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.902/2.151, allocations: 191.5 MB / 0.9401 GB, free: 97.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.599e-06/2.151, allocations: 0 / 0.9401 GB, free: 97.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.827e-05/2.151, allocations: 27.98 kB / 0.9401 GB, free: 97.45 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.003752/2.154, allocations: 1.453 MB / 0.9415 GB, free: 95.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/2.154, allocations: 8.031 kB / 0.9415 GB, free: 95.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006754/2.155, allocations: 122.7 kB / 0.9416 GB, free: 95.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/2.157, allocations: 0.8011 MB / 0.9424 GB, free: 94.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/2.157, allocations: 120.6 kB / 0.9425 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/2.158, allocations: 59.98 kB / 0.9426 GB, free: 94.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/2.16, allocations: 1.203 MB / 0.9438 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/2.16, allocations: 3.938 kB / 0.9438 GB, free: 93.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/2.16, allocations: 35.95 kB / 0.9438 GB, free: 93.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/2.16, allocations: 73.89 kB / 0.9439 GB, free: 93.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/2.163, allocations: 1.194 MB / 0.945 GB, free: 92.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00906/2.172, allocations: 4.772 MB / 0.9497 GB, free: 87.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/2.173, allocations: 0.6514 MB / 0.9503 GB, free: 86.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003642/2.177, allocations: 2.463 MB / 0.9527 GB, free: 83.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/2.177, allocations: 39 kB / 0.9528 GB, free: 83.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.892e-06/2.177, allocations: 0 / 0.9528 GB, free: 83.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.008215/2.185, allocations: 2.902 MB / 0.9556 GB, free: 80.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/2.185, allocations: 162.8 kB / 0.9558 GB, free: 80.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/2.186, allocations: 0.7853 MB / 0.9565 GB, free: 79.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/2.187, allocations: 33.7 kB / 0.9566 GB, free: 79.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/2.187, allocations: 0.4933 MB / 0.957 GB, free: 79.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/2.187, allocations: 193.2 kB / 0.9572 GB, free: 79.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/2.187, allocations: 16 kB / 0.9572 GB, free: 79.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.608e-05/2.187, allocations: 350.8 kB / 0.9576 GB, free: 78.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008888/2.188, allocations: 429.7 kB / 0.958 GB, free: 78.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/2.189, allocations: 0.7285 MB / 0.9587 GB, free: 77.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009956/2.19, allocations: 0.5152 MB / 0.9592 GB, free: 76.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/2.19, allocations: 4 kB / 0.9592 GB, free: 76.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003071/2.193, allocations: 1.45 MB / 0.9606 GB, free: 75.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006778/2.194, allocations: 3.57 MB / 0.9641 GB, free: 71.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/2.194, allocations: 8 kB / 0.9641 GB, free: 71.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/2.196, allocations: 0.5099 MB / 0.9646 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/2.197, allocations: 199.6 kB / 0.9648 GB, free: 70.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/2.2, allocations: 2.916 MB / 0.9676 GB, free: 67.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/2.201, allocations: 67.86 kB / 0.9677 GB, free: 67.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/2.201, allocations: 47.98 kB / 0.9678 GB, free: 67.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/2.201, allocations: 4 kB / 0.9678 GB, free: 67.63 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002794/2.204, allocations: 1.302 MB / 0.969 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/2.204, allocations: 12 kB / 0.969 GB, free: 66.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/2.205, allocations: 314.5 kB / 0.9693 GB, free: 65.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/2.206, allocations: 203.6 kB / 0.9695 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/2.208, allocations: 2.682 MB / 0.9722 GB, free: 62.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/2.209, allocations: 60.17 kB / 0.9722 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/2.209, allocations: 43.98 kB / 0.9723 GB, free: 62.81 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.000708/2.21, allocations: 376.7 kB / 0.9726 GB, free: 62.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/2.21, allocations: 94.88 kB / 0.9727 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/2.213, allocations: 1.351 MB / 0.974 GB, free: 60.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/2.213, allocations: 11.95 kB / 0.974 GB, free: 60.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.499e-06/2.213, allocations: 3.938 kB / 0.974 GB, free: 60.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/2.213, allocations: 11.92 kB / 0.974 GB, free: 60.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004615/2.218, allocations: 2.291 MB / 0.9763 GB, free: 58.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.07e-06/2.218, allocations: 4 kB / 0.9763 GB, free: 58.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/2.218, allocations: 91.94 kB / 0.9764 GB, free: 58.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/2.22, allocations: 0.502 MB / 0.9769 GB, free: 57.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.613e-05/2.22, allocations: 23.98 kB / 0.9769 GB, free: 57.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/2.223, allocations: 2.912 MB / 0.9797 GB, free: 54.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.089e-06/2.223, allocations: 4.031 kB / 0.9797 GB, free: 54.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/2.226, allocations: 1.757 MB / 0.9815 GB, free: 52.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/2.227, allocations: 295.7 kB / 0.9817 GB, free: 52.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/2.227, allocations: 12 kB / 0.9817 GB, free: 52.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/2.228, allocations: 43.97 kB / 0.9818 GB, free: 52.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/2.228, allocations: 60.42 kB / 0.9818 GB, free: 52.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.053e-05/2.228, allocations: 23.98 kB / 0.9819 GB, free: 52.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009528/2.229, allocations: 0.5888 MB / 0.9824 GB, free: 51.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.39e-07/2.229, allocations: 0 / 0.9824 GB, free: 51.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003/2.232, allocations: 0.8741 MB / 0.9833 GB, free: 51.08 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.002088/2.234, allocations: 0.8327 MB / 0.9841 GB, free: 50.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004024/2.238, allocations: 1.829 MB / 0.9859 GB, free: 48.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.759e-06/2.238, allocations: 0 / 0.9859 GB, free: 48.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/2.24, allocations: 0.5724 MB / 0.9865 GB, free: 47.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/2.242, allocations: 334.2 kB / 0.9868 GB, free: 47.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/2.246, allocations: 2.407 MB / 0.9891 GB, free: 45.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/2.247, allocations: 1.074 MB / 0.9902 GB, free: 43.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/2.247, allocations: 99.33 kB / 0.9903 GB, free: 43.84 MB / 490.7 MB Notification: Performance of SimCode: time 1.629e-06/2.247, allocations: 0 / 0.9903 GB, free: 43.84 MB / 490.7 MB Notification: Performance of Templates: time 0.03992/2.287, allocations: 30.69 MB / 1.02 GB, free: 13.16 MB / 490.7 MB