Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.83/1.83, allocations: 209.3 MB / 224.8 MB, free: 276 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007486/0.0007488, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3912, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8546/1.246, allocations: 340 MB / 0.6556 GB, free: 96.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/1.246, allocations: 80.92 kB / 0.6557 GB, free: 96.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.676/2.922, allocations: 303.6 MB / 0.9522 GB, free: 45.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.559e-06/2.922, allocations: 0 / 0.9522 GB, free: 45.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001751/2.922, allocations: 41.86 kB / 0.9522 GB, free: 45.21 MB / 426.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.007714/2.93, allocations: 2.273 MB / 0.9544 GB, free: 44.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/2.93, allocations: 15.36 kB / 0.9544 GB, free: 44.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/2.931, allocations: 203.1 kB / 0.9546 GB, free: 44.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/2.935, allocations: 1.271 MB / 0.9559 GB, free: 43.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/2.935, allocations: 182.2 kB / 0.9561 GB, free: 43.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004599/2.935, allocations: 118.3 kB / 0.9562 GB, free: 43.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004674/2.94, allocations: 1.964 MB / 0.9581 GB, free: 43.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/2.94, allocations: 0 / 0.9581 GB, free: 43.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/2.94, allocations: 51.58 kB / 0.9581 GB, free: 43.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/2.941, allocations: 118.4 kB / 0.9582 GB, free: 43.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005328/2.946, allocations: 1.961 MB / 0.9602 GB, free: 43.55 MB / 426.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.01786/2.964, allocations: 7.013 MB / 0.967 GB, free: 41.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/2.967, allocations: 1.355 MB / 0.9683 GB, free: 41.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00815/2.975, allocations: 4.455 MB / 0.9727 GB, free: 38.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/2.975, allocations: 49.84 kB / 0.9727 GB, free: 38.93 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00139/2.977, allocations: 215.9 kB / 0.9729 GB, free: 38.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 5.214e-06/2.977, allocations: 0 / 0.9729 GB, free: 38.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.02514/3.002, allocations: 6.399 MB / 0.9792 GB, free: 38.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/3.002, allocations: 223.8 kB / 0.9794 GB, free: 37.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/3.004, allocations: 1.202 MB / 0.9806 GB, free: 37.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003784/3.004, allocations: 58.48 kB / 0.9806 GB, free: 37.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/3.005, allocations: 0.6092 MB / 0.9812 GB, free: 37.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/3.005, allocations: 463.3 kB / 0.9817 GB, free: 37.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/3.006, allocations: 29.48 kB / 0.9817 GB, free: 37.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/3.006, allocations: 372.5 kB / 0.9821 GB, free: 36.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/3.008, allocations: 0.7718 MB / 0.9828 GB, free: 36.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/3.01, allocations: 1.09 MB / 0.9839 GB, free: 36.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/3.012, allocations: 0.8851 MB / 0.9847 GB, free: 36.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.203e-06/3.012, allocations: 3.938 kB / 0.9847 GB, free: 36.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006103/3.018, allocations: 2.357 MB / 0.987 GB, free: 36.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006189/3.019, allocations: 2.973 MB / 0.9899 GB, free: 33.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/3.019, allocations: 14.41 kB / 0.99 GB, free: 33.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/3.03, allocations: 1.491 MB / 0.9914 GB, free: 33.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/3.032, allocations: 331.9 kB / 0.9917 GB, free: 33.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/3.036, allocations: 1.71 MB / 0.9934 GB, free: 32.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/3.038, allocations: 106.4 kB / 0.9935 GB, free: 32.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/3.039, allocations: 78 kB / 0.9936 GB, free: 32.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/3.039, allocations: 3.969 kB / 0.9936 GB, free: 32.69 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005346/3.044, allocations: 2.04 MB / 0.9956 GB, free: 32.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-05/3.044, allocations: 11.23 kB / 0.9956 GB, free: 32.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006715/3.051, allocations: 0.9147 MB / 0.9965 GB, free: 32.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/3.053, allocations: 344.6 kB / 0.9968 GB, free: 32.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/3.055, allocations: 1.257 MB / 0.998 GB, free: 32.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/3.057, allocations: 104.7 kB / 0.9981 GB, free: 32.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/3.057, allocations: 72.72 kB / 0.9982 GB, free: 32.1 MB / 426.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.001258/3.059, allocations: 486.4 kB / 0.9987 GB, free: 31.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/3.059, allocations: 167.3 kB / 0.9988 GB, free: 31.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00663/3.066, allocations: 2.524 MB / 1.001 GB, free: 31.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/3.066, allocations: 19.86 kB / 1.001 GB, free: 31.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.376e-06/3.066, allocations: 7.656 kB / 1.001 GB, free: 31.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/3.066, allocations: 6.938 kB / 1.001 GB, free: 31.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/3.076, allocations: 4.073 MB / 1.005 GB, free: 31.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/3.076, allocations: 0 / 1.005 GB, free: 31.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/3.077, allocations: 233.7 kB / 1.006 GB, free: 31.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00703/3.084, allocations: 1.226 MB / 1.007 GB, free: 31.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003671/3.085, allocations: 44.64 kB / 1.007 GB, free: 31.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/3.088, allocations: 1.76 MB / 1.008 GB, free: 30.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.114e-06/3.088, allocations: 3.125 kB / 1.008 GB, free: 30.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007759/3.096, allocations: 3.356 MB / 1.012 GB, free: 30.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/3.098, allocations: 468.3 kB / 1.012 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005266/3.098, allocations: 27.41 kB / 1.012 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/3.1, allocations: 107.2 kB / 1.012 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/3.101, allocations: 112.4 kB / 1.012 GB, free: 30.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/3.101, allocations: 63.92 kB / 1.013 GB, free: 30.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00185/3.103, allocations: 0.9137 MB / 1.013 GB, free: 30.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.096e-06/3.103, allocations: 0 / 1.013 GB, free: 30.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005909/3.109, allocations: 1.432 MB / 1.015 GB, free: 29.91 MB / 426.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.003853/3.113, allocations: 1.226 MB / 1.016 GB, free: 29.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008789/3.122, allocations: 3.073 MB / 1.019 GB, free: 29.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.383e-06/3.122, allocations: 0 / 1.019 GB, free: 29.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003203/3.125, allocations: 1.02 MB / 1.02 GB, free: 29.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/3.129, allocations: 0.687 MB / 1.021 GB, free: 29.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009158/3.138, allocations: 4.19 MB / 1.025 GB, free: 27.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/3.14, allocations: 1.408 MB / 1.026 GB, free: 26.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/3.14, allocations: 162.8 kB / 1.026 GB, free: 26.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.847e-06/3.14, allocations: 0 / 1.026 GB, free: 26.7 MB / 426.7 MB Notification: Performance of Templates: time 0.06509/3.206, allocations: 41.28 MB / 1.067 GB, free: 13.43 MB / 426.7 MB