Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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: 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_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005345/0.00535, allocations: 350.1 kB / 15.94 MB, free: 6.215 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 3.597/3.597, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003607/0.003606, allocations: 225.6 kB / 397.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4988/0.4988, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 15.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/0.09376, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/1.477, allocations: 340 MB / 0.9388 GB, free: 114.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/1.478, allocations: 85.84 kB / 0.9389 GB, free: 114.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373/2.85, allocations: 301.7 MB / 1.234 GB, free: 42.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.045e-06/2.85, allocations: 4 kB / 1.234 GB, free: 42.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002453/2.85, allocations: 48.06 kB / 1.234 GB, free: 42.08 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.01048/2.861, allocations: 2.278 MB / 1.236 GB, free: 39.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/2.861, allocations: 8.031 kB / 1.236 GB, free: 39.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/2.863, allocations: 205.8 kB / 1.236 GB, free: 39.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00491/2.868, allocations: 1.274 MB / 1.237 GB, free: 38.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/2.868, allocations: 183.2 kB / 1.237 GB, free: 38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007337/2.869, allocations: 120 kB / 1.238 GB, free: 37.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005817/2.875, allocations: 1.966 MB / 1.239 GB, free: 35.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.855e-05/2.875, allocations: 4 kB / 1.239 GB, free: 35.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003181/2.875, allocations: 47.97 kB / 1.239 GB, free: 35.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002682/2.875, allocations: 118.2 kB / 1.24 GB, free: 35.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0065/2.882, allocations: 1.953 MB / 1.242 GB, free: 33.7 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.02055/2.902, allocations: 6.979 MB / 1.248 GB, free: 26.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/2.906, allocations: 1.36 MB / 1.25 GB, free: 25.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/2.908, allocations: 0.8121 MB / 1.25 GB, free: 24.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009017/2.917, allocations: 4.424 MB / 1.255 GB, free: 19.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/2.917, allocations: 47.19 kB / 1.255 GB, free: 19.34 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001612/2.919, allocations: 218.5 kB / 1.255 GB, free: 19.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=117): time 6.261e-06/2.919, allocations: 0 / 1.255 GB, free: 19.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.03447/2.953, allocations: 6.538 MB / 1.261 GB, free: 12.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/2.953, allocations: 226.9 kB / 1.262 GB, free: 12.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/2.956, allocations: 1.36 MB / 1.263 GB, free: 10.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004342/2.956, allocations: 49.7 kB / 1.263 GB, free: 10.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/2.957, allocations: 0.6535 MB / 1.264 GB, free: 10.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/2.958, allocations: 461.4 kB / 1.264 GB, free: 9.715 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/2.958, allocations: 32 kB / 1.264 GB, free: 9.684 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/2.958, allocations: 369.9 kB / 1.264 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/2.96, allocations: 0.7652 MB / 1.265 GB, free: 8.551 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/2.962, allocations: 1.1 MB / 1.266 GB, free: 7.336 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/2.965, allocations: 0.8877 MB / 1.267 GB, free: 6.453 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/2.965, allocations: 7.984 kB / 1.267 GB, free: 6.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00869/2.974, allocations: 2.453 MB / 1.27 GB, free: 3.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/2.974, allocations: 320.3 kB / 1.27 GB, free: 3.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.425e-05/2.974, allocations: 11.95 kB / 1.27 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/2.988, allocations: 1.506 MB / 1.271 GB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/2.99, allocations: 335.5 kB / 1.272 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3372/3.328, allocations: 1.702 MB / 1.273 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003198/3.331, allocations: 102.3 kB / 1.273 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006922/3.332, allocations: 81.08 kB / 1.273 GB, free: 55.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/3.332, allocations: 4.312 kB / 1.273 GB, free: 55.62 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007877/3.34, allocations: 2.032 MB / 1.275 GB, free: 55.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-05/3.34, allocations: 16.58 kB / 1.275 GB, free: 55.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/3.35, allocations: 0.9386 MB / 1.276 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/3.353, allocations: 344.1 kB / 1.277 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/3.357, allocations: 1.285 MB / 1.278 GB, free: 55.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/3.359, allocations: 106.7 kB / 1.278 GB, free: 55.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005624/3.36, allocations: 71.22 kB / 1.278 GB, free: 55.07 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.001713/3.362, allocations: 484.7 kB / 1.279 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006427/3.362, allocations: 166.3 kB / 1.279 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/3.373, allocations: 2.519 MB / 1.281 GB, free: 54.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-05/3.373, allocations: 18.27 kB / 1.281 GB, free: 54.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/3.373, allocations: 4.094 kB / 1.281 GB, free: 54.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.624e-05/3.373, allocations: 12.25 kB / 1.281 GB, free: 54.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/3.386, allocations: 4.074 MB / 1.285 GB, free: 54.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/3.386, allocations: 0 / 1.285 GB, free: 54.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/3.388, allocations: 232.8 kB / 1.285 GB, free: 54.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008696/3.397, allocations: 1.228 MB / 1.287 GB, free: 54.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004759/3.397, allocations: 41.69 kB / 1.287 GB, free: 54.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004029/3.401, allocations: 1.761 MB / 1.288 GB, free: 53.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/3.401, allocations: 3.953 kB / 1.288 GB, free: 53.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/3.411, allocations: 3.351 MB / 1.292 GB, free: 53.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/3.413, allocations: 453.1 kB / 1.292 GB, free: 53.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005657/3.414, allocations: 31.38 kB / 1.292 GB, free: 53.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/3.416, allocations: 107.5 kB / 1.292 GB, free: 53.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/3.417, allocations: 119.2 kB / 1.292 GB, free: 53.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/3.417, allocations: 64.05 kB / 1.292 GB, free: 53.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002057/3.419, allocations: 0.9147 MB / 1.293 GB, free: 53.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.974e-06/3.419, allocations: 3.719 kB / 1.293 GB, free: 53.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006933/3.426, allocations: 1.427 MB / 1.295 GB, free: 53.41 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.00509/3.431, allocations: 1.221 MB / 1.296 GB, free: 53.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01237/3.443, allocations: 3.091 MB / 1.299 GB, free: 53.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/3.443, allocations: 1.844 kB / 1.299 GB, free: 53.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00438/3.448, allocations: 1.024 MB / 1.3 GB, free: 53.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006787/3.455, allocations: 0.7147 MB / 1.301 GB, free: 53.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/3.466, allocations: 4.096 MB / 1.305 GB, free: 51.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/3.467, allocations: 1.413 MB / 1.306 GB, free: 51.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004088/3.471, allocations: 0.6152 MB / 1.307 GB, free: 51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/3.472, allocations: 145.2 kB / 1.307 GB, free: 50.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/3.472, allocations: 1.781 kB / 1.307 GB, free: 50.99 MB / 442.7 MB Notification: Performance of Templates: time 0.1138/3.586, allocations: 47.51 MB / 1.353 GB, free: 48.33 MB / 442.7 MB