Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 1.877/1.877, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004371, allocations: 16 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3452, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.393, allocations: 340 MB / 0.6561 GB, free: 115.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/1.393, allocations: 90.59 kB / 0.6562 GB, free: 115.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461/2.854, allocations: 303.6 MB / 0.9527 GB, free: 23.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/2.854, allocations: 3.938 kB / 0.9527 GB, free: 23.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002307/2.855, allocations: 56.06 kB / 0.9527 GB, free: 23.89 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.0105/2.865, allocations: 2.269 MB / 0.9549 GB, free: 21.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/2.865, allocations: 8.031 kB / 0.9549 GB, free: 21.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/2.867, allocations: 205.7 kB / 0.9551 GB, free: 21.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004876/2.872, allocations: 1.266 MB / 0.9564 GB, free: 20.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/2.872, allocations: 198.8 kB / 0.9566 GB, free: 19.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006856/2.873, allocations: 115.6 kB / 0.9567 GB, free: 19.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/2.879, allocations: 1.964 MB / 0.9586 GB, free: 17.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.798e-05/2.879, allocations: 4 kB / 0.9586 GB, free: 17.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003251/2.879, allocations: 55.64 kB / 0.9586 GB, free: 17.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/2.88, allocations: 118.2 kB / 0.9588 GB, free: 17.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006237/2.886, allocations: 1.953 MB / 0.9607 GB, free: 15.62 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/2.908, allocations: 7.032 MB / 0.9675 GB, free: 8.328 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003796/2.912, allocations: 1.36 MB / 0.9689 GB, free: 6.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/2.923, allocations: 4.443 MB / 0.9732 GB, free: 2.148 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/2.923, allocations: 55.56 kB / 0.9733 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002027/2.925, allocations: 226.4 kB / 0.9735 GB, free: 1.867 MB / 442.7 MB Notification: Performance of pre-optimization done (n=117): time 9.638e-06/2.925, allocations: 3.938 kB / 0.9735 GB, free: 1.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.3694/3.294, allocations: 6.524 MB / 0.9798 GB, free: 54.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/3.294, allocations: 223.7 kB / 0.9801 GB, free: 54.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/3.297, allocations: 1.366 MB / 0.9814 GB, free: 53.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004849/3.298, allocations: 51.58 kB / 0.9814 GB, free: 53.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/3.298, allocations: 0.6196 MB / 0.982 GB, free: 53.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/3.299, allocations: 452.9 kB / 0.9825 GB, free: 53.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/3.299, allocations: 29.81 kB / 0.9825 GB, free: 53.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/3.299, allocations: 376.4 kB / 0.9829 GB, free: 53.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/3.302, allocations: 0.7685 MB / 0.9836 GB, free: 53.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/3.304, allocations: 1.099 MB / 0.9847 GB, free: 52.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/3.307, allocations: 0.8891 MB / 0.9856 GB, free: 52.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/3.307, allocations: 2.938 kB / 0.9856 GB, free: 52.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007242/3.314, allocations: 2.354 MB / 0.9879 GB, free: 52.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/3.314, allocations: 322.6 kB / 0.9882 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.9e-05/3.314, allocations: 9.875 kB / 0.9882 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/3.328, allocations: 1.503 MB / 0.9896 GB, free: 52.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/3.331, allocations: 327.6 kB / 0.99 GB, free: 52.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/3.335, allocations: 1.709 MB / 0.9916 GB, free: 51.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/3.338, allocations: 100.7 kB / 0.9917 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/3.338, allocations: 85.45 kB / 0.9918 GB, free: 51.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/3.338, allocations: 4.656 kB / 0.9918 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005874/3.344, allocations: 2.037 MB / 0.9938 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.832e-05/3.344, allocations: 12.91 kB / 0.9938 GB, free: 51.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009297/3.354, allocations: 0.9129 MB / 0.9947 GB, free: 51.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/3.357, allocations: 348.5 kB / 0.995 GB, free: 51.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/3.359, allocations: 1.256 MB / 0.9963 GB, free: 51.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/3.361, allocations: 108.8 kB / 0.9964 GB, free: 51.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/3.361, allocations: 77.58 kB / 0.9964 GB, free: 51.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.001364/3.363, allocations: 490 kB / 0.9969 GB, free: 50.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005105/3.363, allocations: 167.9 kB / 0.9971 GB, free: 50.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007394/3.37, allocations: 2.516 MB / 0.9995 GB, free: 50.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/3.371, allocations: 18.56 kB / 0.9995 GB, free: 50.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/3.371, allocations: 0 / 0.9995 GB, free: 50.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/3.371, allocations: 7.594 kB / 0.9995 GB, free: 50.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/3.381, allocations: 4.079 MB / 1.004 GB, free: 50.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/3.381, allocations: 2.812 kB / 1.004 GB, free: 50.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/3.383, allocations: 233.5 kB / 1.004 GB, free: 50.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007752/3.391, allocations: 1.23 MB / 1.005 GB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003567/3.391, allocations: 44.52 kB / 1.005 GB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/3.395, allocations: 1.755 MB / 1.007 GB, free: 49.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/3.395, allocations: 1.5 kB / 1.007 GB, free: 49.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008701/3.404, allocations: 3.357 MB / 1.01 GB, free: 49.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/3.405, allocations: 466 kB / 1.01 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/3.406, allocations: 27.19 kB / 1.01 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/3.408, allocations: 107.7 kB / 1.011 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/3.408, allocations: 114 kB / 1.011 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/3.408, allocations: 60.66 kB / 1.011 GB, free: 49.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001852/3.41, allocations: 0.9149 MB / 1.012 GB, free: 49.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.21e-07/3.41, allocations: 0 / 1.012 GB, free: 49.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005378/3.416, allocations: 1.424 MB / 1.013 GB, free: 49.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.004187/3.42, allocations: 1.232 MB / 1.014 GB, free: 49.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0105/3.43, allocations: 3.089 MB / 1.017 GB, free: 48.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/3.43, allocations: 0 / 1.017 GB, free: 48.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003409/3.434, allocations: 1.012 MB / 1.018 GB, free: 48.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/3.44, allocations: 0.6882 MB / 1.019 GB, free: 48.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009917/3.45, allocations: 4.181 MB / 1.023 GB, free: 47.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009992/3.451, allocations: 1.412 MB / 1.024 GB, free: 46.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009803/3.452, allocations: 160.7 kB / 1.025 GB, free: 46.73 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/3.452, allocations: 0 / 1.025 GB, free: 46.73 MB / 442.7 MB Notification: Performance of Templates: time 0.08016/3.532, allocations: 41.28 MB / 1.065 GB, free: 44.1 MB / 442.7 MB