Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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.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.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002864/0.002868, allocations: 364.2 kB / 15.95 MB, free: 6.191 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.479/4.479, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003527/0.003527, allocations: 239.1 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.5475/0.5475, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007281/0.0007284, allocations: 11.98 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1507, allocations: 54.86 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.382/1.533, allocations: 330.3 MB / 1.003 GB, free: 92.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/1.534, allocations: 99.16 kB / 1.003 GB, free: 92.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8414/2.375, allocations: 141.2 MB / 1.141 GB, free: 132.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.805e-06/2.375, allocations: 3.938 kB / 1.141 GB, free: 132.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.143e-05/2.375, allocations: 19.94 kB / 1.141 GB, free: 132.6 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00449/2.38, allocations: 1.28 MB / 1.142 GB, free: 131.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/2.38, allocations: 13.5 kB / 1.142 GB, free: 131.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/2.38, allocations: 114 kB / 1.142 GB, free: 131.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/2.383, allocations: 0.7097 MB / 1.143 GB, free: 131.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/2.383, allocations: 109.5 kB / 1.143 GB, free: 131.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/2.383, allocations: 58.22 kB / 1.143 GB, free: 131.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/2.386, allocations: 1.018 MB / 1.144 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/2.386, allocations: 3.906 kB / 1.144 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/2.386, allocations: 26.41 kB / 1.144 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/2.386, allocations: 54.64 kB / 1.144 GB, free: 130.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/2.388, allocations: 0.9071 MB / 1.145 GB, free: 130.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009407/2.398, allocations: 3.992 MB / 1.149 GB, free: 127.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/2.399, allocations: 0.6327 MB / 1.149 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008921/2.4, allocations: 397.3 kB / 1.15 GB, free: 127.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004517/2.405, allocations: 2.3 MB / 1.152 GB, free: 125.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/2.406, allocations: 443.6 kB / 1.152 GB, free: 125.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.396e-06/2.406, allocations: 0 / 1.152 GB, free: 125.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.008873/2.415, allocations: 2.53 MB / 1.155 GB, free: 124.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/2.415, allocations: 174.2 kB / 1.155 GB, free: 124 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/2.417, allocations: 0.7699 MB / 1.156 GB, free: 123.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002317/2.417, allocations: 37.45 kB / 1.156 GB, free: 123.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/2.417, allocations: 442.7 kB / 1.156 GB, free: 123.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/2.417, allocations: 169.7 kB / 1.156 GB, free: 123.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/2.418, allocations: 15.91 kB / 1.156 GB, free: 123.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/2.418, allocations: 395.4 kB / 1.157 GB, free: 122.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009709/2.419, allocations: 359.3 kB / 1.157 GB, free: 122.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/2.42, allocations: 0.6401 MB / 1.158 GB, free: 122.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/2.421, allocations: 460.7 kB / 1.158 GB, free: 122.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/2.421, allocations: 3.75 kB / 1.158 GB, free: 122.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003423/2.424, allocations: 1.253 MB / 1.159 GB, free: 121.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002856/2.425, allocations: 372.4 kB / 1.16 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/2.425, allocations: 7.875 kB / 1.16 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/2.426, allocations: 355 kB / 1.16 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/2.428, allocations: 156.4 kB / 1.16 GB, free: 121 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/2.43, allocations: 1.434 MB / 1.162 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/2.431, allocations: 56.25 kB / 1.162 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/2.431, allocations: 46.55 kB / 1.162 GB, free: 119.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/2.431, allocations: 7.531 kB / 1.162 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003018/2.434, allocations: 1.089 MB / 1.163 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/2.434, allocations: 11.09 kB / 1.163 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/2.435, allocations: 253.8 kB / 1.163 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/2.437, allocations: 161.7 kB / 1.163 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/2.439, allocations: 2.336 MB / 1.166 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/2.441, allocations: 50.55 kB / 1.166 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/2.441, allocations: 41.66 kB / 1.166 GB, free: 117.2 MB / 490.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: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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.0008854/2.442, allocations: 405.7 kB / 1.166 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/2.442, allocations: 83.38 kB / 1.166 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/2.445, allocations: 1.047 MB / 1.167 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/2.445, allocations: 3.938 kB / 1.167 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.445, allocations: 7.844 kB / 1.167 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/2.445, allocations: 3.797 kB / 1.167 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004681/2.45, allocations: 1.847 MB / 1.169 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/2.45, allocations: 1.062 kB / 1.169 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007541/2.451, allocations: 77.62 kB / 1.169 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/2.452, allocations: 338.9 kB / 1.169 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/2.452, allocations: 19.58 kB / 1.169 GB, free: 115.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/2.454, allocations: 1.423 MB / 1.171 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.454, allocations: 3.938 kB / 1.171 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003777/2.458, allocations: 1.51 MB / 1.172 GB, free: 113.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006823/2.459, allocations: 244 kB / 1.172 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/2.459, allocations: 18.56 kB / 1.172 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000942/2.46, allocations: 45.33 kB / 1.173 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/2.46, allocations: 41.34 kB / 1.173 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/2.46, allocations: 31.39 kB / 1.173 GB, free: 113.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001013/2.461, allocations: 0.5251 MB / 1.173 GB, free: 113.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/2.461, allocations: 0 / 1.173 GB, free: 113.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002996/2.464, allocations: 0.6647 MB / 1.174 GB, free: 113.1 MB / 490.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: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,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.002375/2.467, allocations: 0.6225 MB / 1.174 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004614/2.471, allocations: 1.628 MB / 1.176 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.472, allocations: 0 / 1.176 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/2.473, allocations: 484.6 kB / 1.176 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/2.476, allocations: 289.4 kB / 1.177 GB, free: 111.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/2.481, allocations: 2.063 MB / 1.179 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/2.482, allocations: 1.034 MB / 1.18 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001886/2.484, allocations: 299.9 kB / 1.18 GB, free: 108.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/2.484, allocations: 71.12 kB / 1.18 GB, free: 108.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.533e-06/2.484, allocations: 0 / 1.18 GB, free: 108.1 MB / 490.7 MB Notification: Performance of Templates: time 0.0488/2.533, allocations: 19.49 MB / 1.199 GB, free: 91.62 MB / 490.7 MB