Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002774/0.002781, allocations: 359.5 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.11/4.11, allocations: 388.9 MB / 405.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003549/0.003549, allocations: 220.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5224/0.5224, allocations: 80.03 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007782/0.0007791, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1406, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.33, allocations: 346.3 MB / 1.018 GB, free: 76.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/1.331, allocations: 93.77 kB / 1.018 GB, free: 76.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.88/3.211, allocations: 301.7 MB / 1.313 GB, free: 68.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/3.211, allocations: 0 / 1.313 GB, free: 68.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002344/3.211, allocations: 47.44 kB / 1.313 GB, free: 68.9 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01056/3.222, allocations: 2.287 MB / 1.315 GB, free: 67.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/3.222, allocations: 9.281 kB / 1.315 GB, free: 67.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/3.223, allocations: 202.1 kB / 1.315 GB, free: 67.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004985/3.228, allocations: 1.27 MB / 1.317 GB, free: 67.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/3.229, allocations: 182.9 kB / 1.317 GB, free: 67.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007867/3.23, allocations: 116.2 kB / 1.317 GB, free: 67.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006222/3.236, allocations: 1.966 MB / 1.319 GB, free: 67.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/3.236, allocations: 7.438 kB / 1.319 GB, free: 67.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/3.236, allocations: 51.81 kB / 1.319 GB, free: 67.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002783/3.237, allocations: 117.5 kB / 1.319 GB, free: 67.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006635/3.243, allocations: 1.954 MB / 1.321 GB, free: 67.21 MB / 490.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.02279/3.266, allocations: 6.993 MB / 1.328 GB, free: 64.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/3.27, allocations: 1.347 MB / 1.329 GB, free: 64.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/3.272, allocations: 0.808 MB / 1.33 GB, free: 64.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009893/3.282, allocations: 4.423 MB / 1.334 GB, free: 62.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/3.282, allocations: 49.8 kB / 1.334 GB, free: 62.55 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001741/3.284, allocations: 220.7 kB / 1.334 GB, free: 62.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 4.368e-06/3.284, allocations: 0 / 1.334 GB, free: 62.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.03615/3.32, allocations: 6.522 MB / 1.341 GB, free: 61.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/3.32, allocations: 232.3 kB / 1.341 GB, free: 61.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/3.323, allocations: 1.364 MB / 1.342 GB, free: 61.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005105/3.324, allocations: 55.3 kB / 1.342 GB, free: 61.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/3.324, allocations: 0.6448 MB / 1.343 GB, free: 61.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007538/3.325, allocations: 461.5 kB / 1.344 GB, free: 60.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/3.325, allocations: 31.41 kB / 1.344 GB, free: 60.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/3.325, allocations: 366.2 kB / 1.344 GB, free: 60.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/3.328, allocations: 0.7705 MB / 1.345 GB, free: 60.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/3.33, allocations: 1.102 MB / 1.346 GB, free: 60.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/3.333, allocations: 0.8877 MB / 1.347 GB, free: 60.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/3.333, allocations: 2.812 kB / 1.347 GB, free: 60.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00754/3.34, allocations: 2.455 MB / 1.349 GB, free: 59.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000214/3.341, allocations: 321.9 kB / 1.349 GB, free: 59.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/3.341, allocations: 11.12 kB / 1.349 GB, free: 59.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01374/3.355, allocations: 1.51 MB / 1.351 GB, free: 59.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/3.357, allocations: 327.9 kB / 1.351 GB, free: 59.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/3.362, allocations: 1.702 MB / 1.353 GB, free: 59.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/3.365, allocations: 105 kB / 1.353 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006922/3.366, allocations: 73.06 kB / 1.353 GB, free: 59.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/3.366, allocations: 13.47 kB / 1.353 GB, free: 59.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007051/3.373, allocations: 2.037 MB / 1.355 GB, free: 59.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.226e-05/3.373, allocations: 11.81 kB / 1.355 GB, free: 59.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009853/3.383, allocations: 0.9373 MB / 1.356 GB, free: 59.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/3.386, allocations: 349.2 kB / 1.356 GB, free: 59.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/3.39, allocations: 1.273 MB / 1.357 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/3.394, allocations: 106.9 kB / 1.358 GB, free: 58.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007365/3.395, allocations: 75.48 kB / 1.358 GB, free: 58.48 MB / 490.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.002263/3.397, allocations: 492.5 kB / 1.358 GB, free: 58.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009504/3.398, allocations: 165.8 kB / 1.358 GB, free: 58.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/3.411, allocations: 2.52 MB / 1.361 GB, free: 58.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.453e-05/3.411, allocations: 15.34 kB / 1.361 GB, free: 58.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/3.411, allocations: 3.953 kB / 1.361 GB, free: 58.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.138e-05/3.411, allocations: 9.484 kB / 1.361 GB, free: 58.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/3.428, allocations: 4.07 MB / 1.365 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/3.428, allocations: 0 / 1.365 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/3.431, allocations: 234.6 kB / 1.365 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01159/3.442, allocations: 1.232 MB / 1.366 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005389/3.443, allocations: 40.72 kB / 1.366 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005383/3.448, allocations: 1.77 MB / 1.368 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/3.448, allocations: 0 / 1.368 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/3.462, allocations: 3.364 MB / 1.371 GB, free: 56.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002265/3.464, allocations: 456.1 kB / 1.372 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008993/3.465, allocations: 29.44 kB / 1.372 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/3.469, allocations: 95.31 kB / 1.372 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007425/3.469, allocations: 118.8 kB / 1.372 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003668/3.47, allocations: 60.14 kB / 1.372 GB, free: 56.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002923/3.473, allocations: 0.913 MB / 1.373 GB, free: 56.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.076e-06/3.473, allocations: 3.781 kB / 1.373 GB, free: 56.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008983/3.482, allocations: 1.432 MB / 1.374 GB, free: 56.29 MB / 490.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.006451/3.488, allocations: 1.229 MB / 1.375 GB, free: 55.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01575/3.504, allocations: 3.088 MB / 1.378 GB, free: 55.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/3.504, allocations: 7.75 kB / 1.378 GB, free: 55.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005727/3.51, allocations: 1.025 MB / 1.379 GB, free: 55.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009907/3.52, allocations: 0.7127 MB / 1.38 GB, free: 55.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/3.536, allocations: 4.101 MB / 1.384 GB, free: 53.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/3.538, allocations: 1.419 MB / 1.385 GB, free: 52.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005591/3.544, allocations: 0.6134 MB / 1.386 GB, free: 52.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/3.545, allocations: 144.1 kB / 1.386 GB, free: 52.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.823e-06/3.545, allocations: 0 / 1.386 GB, free: 52.8 MB / 490.7 MB Notification: Performance of Templates: time 0.1575/3.702, allocations: 47.5 MB / 1.433 GB, free: 36.44 MB / 490.7 MB