Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004352/0.004352, allocations: 350.6 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.948/3.948, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003832/0.003832, allocations: 214.1 kB / 397.9 MB, free: 4.973 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.5563/0.5563, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004988, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09678, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.175, allocations: 323.9 MB / 0.923 GB, free: 9.852 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/1.176, allocations: 92.19 kB / 0.9231 GB, free: 9.805 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8134/1.989, allocations: 141.1 MB / 1.061 GB, free: 57.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.989, allocations: 0 / 1.061 GB, free: 57.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.822e-05/1.989, allocations: 23.88 kB / 1.061 GB, free: 57.83 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.005057/1.994, allocations: 1.28 MB / 1.062 GB, free: 56.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.994, allocations: 8.031 kB / 1.062 GB, free: 56.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/1.995, allocations: 106.9 kB / 1.062 GB, free: 56.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/1.998, allocations: 0.7063 MB / 1.063 GB, free: 55.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/1.998, allocations: 100.7 kB / 1.063 GB, free: 55.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/1.998, allocations: 63.97 kB / 1.063 GB, free: 55.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/2.001, allocations: 1.008 MB / 1.064 GB, free: 54.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/2.001, allocations: 3.938 kB / 1.064 GB, free: 54.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/2.001, allocations: 35.88 kB / 1.064 GB, free: 54.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/2.001, allocations: 53.27 kB / 1.064 GB, free: 54.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/2.004, allocations: 0.8951 MB / 1.065 GB, free: 53.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/2.014, allocations: 3.983 MB / 1.069 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/2.016, allocations: 0.6215 MB / 1.07 GB, free: 48.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009835/2.017, allocations: 382 kB / 1.07 GB, free: 48.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004816/2.022, allocations: 2.295 MB / 1.072 GB, free: 45.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009931/2.023, allocations: 439.9 kB / 1.073 GB, free: 45.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 4.188e-06/2.023, allocations: 3.938 kB / 1.073 GB, free: 45.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.00894/2.032, allocations: 2.569 MB / 1.075 GB, free: 42.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/2.032, allocations: 166.2 kB / 1.075 GB, free: 42.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/2.034, allocations: 0.774 MB / 1.076 GB, free: 41.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/2.034, allocations: 29.7 kB / 1.076 GB, free: 41.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000368/2.034, allocations: 443.2 kB / 1.076 GB, free: 41.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/2.035, allocations: 173.6 kB / 1.077 GB, free: 40.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/2.035, allocations: 16 kB / 1.077 GB, free: 40.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/2.035, allocations: 398.7 kB / 1.077 GB, free: 40.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009572/2.036, allocations: 353.8 kB / 1.077 GB, free: 40.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/2.037, allocations: 0.6312 MB / 1.078 GB, free: 39.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/2.038, allocations: 455.6 kB / 1.078 GB, free: 38.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/2.038, allocations: 4 kB / 1.078 GB, free: 38.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00352/2.042, allocations: 1.29 MB / 1.08 GB, free: 37.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002576/2.042, allocations: 380.8 kB / 1.08 GB, free: 37.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/2.042, allocations: 11.98 kB / 1.08 GB, free: 37.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/2.043, allocations: 349.4 kB / 1.08 GB, free: 36.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/2.045, allocations: 159.7 kB / 1.081 GB, free: 36.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/2.047, allocations: 1.432 MB / 1.082 GB, free: 35.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/2.048, allocations: 52.09 kB / 1.082 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/2.048, allocations: 47.98 kB / 1.082 GB, free: 35.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/2.048, allocations: 7.953 kB / 1.082 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003082/2.051, allocations: 1.121 MB / 1.083 GB, free: 33.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/2.052, allocations: 12 kB / 1.083 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/2.053, allocations: 253.9 kB / 1.083 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/2.054, allocations: 159.7 kB / 1.084 GB, free: 33.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/2.057, allocations: 2.343 MB / 1.086 GB, free: 30.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/2.058, allocations: 55.92 kB / 1.086 GB, free: 30.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/2.058, allocations: 51.97 kB / 1.086 GB, free: 30.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008316/2.059, allocations: 396.4 kB / 1.086 GB, free: 30.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/2.059, allocations: 83.02 kB / 1.086 GB, free: 30.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/2.063, allocations: 1.08 MB / 1.087 GB, free: 29.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/2.063, allocations: 4 kB / 1.087 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/2.063, allocations: 3.938 kB / 1.087 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/2.063, allocations: 3.984 kB / 1.087 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004815/2.067, allocations: 1.882 MB / 1.089 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/2.068, allocations: 0 / 1.089 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007566/2.068, allocations: 71.91 kB / 1.089 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/2.07, allocations: 333.4 kB / 1.09 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/2.07, allocations: 23.94 kB / 1.09 GB, free: 26.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/2.072, allocations: 1.425 MB / 1.091 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/2.072, allocations: 3.984 kB / 1.091 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/2.075, allocations: 1.531 MB / 1.093 GB, free: 23.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/2.076, allocations: 240 kB / 1.093 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/2.076, allocations: 12 kB / 1.093 GB, free: 23.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009673/2.077, allocations: 55.88 kB / 1.093 GB, free: 23.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/2.078, allocations: 48.36 kB / 1.093 GB, free: 23.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/2.078, allocations: 27.98 kB / 1.093 GB, free: 23.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001002/2.079, allocations: 0.5263 MB / 1.093 GB, free: 22.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.079, allocations: 0 / 1.093 GB, free: 22.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003127/2.082, allocations: 0.6635 MB / 1.094 GB, free: 22.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 9 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 5 (timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002281/2.084, allocations: 0.6263 MB / 1.095 GB, free: 21.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004558/2.089, allocations: 1.561 MB / 1.096 GB, free: 20.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/2.089, allocations: 0 / 1.096 GB, free: 20.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/2.09, allocations: 457.7 kB / 1.097 GB, free: 19.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/2.093, allocations: 283.2 kB / 1.097 GB, free: 19.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/2.098, allocations: 2.045 MB / 1.099 GB, free: 17.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/2.099, allocations: 1.025 MB / 1.1 GB, free: 16.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001833/2.101, allocations: 302.4 kB / 1.1 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/2.101, allocations: 59.42 kB / 1.1 GB, free: 15.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/2.101, allocations: 3.938 kB / 1.1 GB, free: 15.84 MB / 442.7 MB Notification: Performance of Templates: time 0.3627/2.464, allocations: 19.32 MB / 1.119 GB, free: 101.4 MB / 442.7 MB