Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004485/0.00449, allocations: 362.5 kB / 15.95 MB, free: 6.203 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.026/4.026, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003552/0.003552, allocations: 217 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.5185/0.5185, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004864, allocations: 8 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 54.86 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.92/11.02, allocations: 3.63 GB / 4.31 GB, free: 145.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/11.02, allocations: 94.78 kB / 4.31 GB, free: 145.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452/12.48, allocations: 302.3 MB / 4.605 GB, free: 65.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.913e-06/12.48, allocations: 0 / 4.605 GB, free: 65.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.413e-05/12.48, allocations: 8 kB / 4.605 GB, free: 65.32 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005739/12.48, allocations: 1.634 MB / 4.607 GB, free: 63.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/12.48, allocations: 12.03 kB / 4.607 GB, free: 63.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003928/12.48, allocations: 55.42 kB / 4.607 GB, free: 63.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008278/12.48, allocations: 403 kB / 4.608 GB, free: 63.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/12.48, allocations: 29 kB / 4.608 GB, free: 63.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/12.48, allocations: 43.94 kB / 4.608 GB, free: 63.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/12.49, allocations: 0.5042 MB / 4.608 GB, free: 62.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/12.49, allocations: 7.938 kB / 4.608 GB, free: 62.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/12.49, allocations: 19.94 kB / 4.608 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/12.49, allocations: 8 kB / 4.608 GB, free: 62.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/12.49, allocations: 492.4 kB / 4.609 GB, free: 62.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/12.49, allocations: 2.043 MB / 4.611 GB, free: 59.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008157/12.49, allocations: 384.8 kB / 4.611 GB, free: 59.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/12.49, allocations: 150.4 kB / 4.611 GB, free: 59.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009962/12.49, allocations: 0.9571 MB / 4.612 GB, free: 58.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/12.49, allocations: 42.5 kB / 4.612 GB, free: 58.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/12.49, allocations: 0 / 4.612 GB, free: 58.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.001421/12.49, allocations: 400.9 kB / 4.612 GB, free: 57.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/12.49, allocations: 110.8 kB / 4.613 GB, free: 57.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/12.49, allocations: 300.5 kB / 4.613 GB, free: 57.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/12.49, allocations: 33.7 kB / 4.613 GB, free: 57.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/12.49, allocations: 247.6 kB / 4.613 GB, free: 56.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/12.5, allocations: 102.5 kB / 4.613 GB, free: 56.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/12.5, allocations: 16 kB / 4.613 GB, free: 56.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.789e-05/12.5, allocations: 342.8 kB / 4.614 GB, free: 56.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/12.5, allocations: 128.8 kB / 4.614 GB, free: 56.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/12.5, allocations: 304.1 kB / 4.614 GB, free: 55.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/12.5, allocations: 232.1 kB / 4.614 GB, free: 55.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/12.5, allocations: 0 / 4.614 GB, free: 55.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001402/12.5, allocations: 0.5513 MB / 4.615 GB, free: 55.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/12.5, allocations: 59.41 kB / 4.615 GB, free: 55.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/12.5, allocations: 15.97 kB / 4.615 GB, free: 55.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/12.5, allocations: 8 kB / 4.615 GB, free: 55.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/12.5, allocations: 107.8 kB / 4.615 GB, free: 54.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/12.5, allocations: 15.92 kB / 4.615 GB, free: 54.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/12.5, allocations: 55.58 kB / 4.615 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/12.5, allocations: 31.98 kB / 4.615 GB, free: 54.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003394/12.5, allocations: 189.6 kB / 4.615 GB, free: 54.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/12.5, allocations: 31.62 kB / 4.615 GB, free: 54.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/12.5, allocations: 445 kB / 4.616 GB, free: 54.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/12.5, allocations: 7.953 kB / 4.616 GB, free: 54.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/12.5, allocations: 0 / 4.616 GB, free: 54.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/12.5, allocations: 4 kB / 4.616 GB, free: 54.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/12.5, allocations: 1.04 MB / 4.617 GB, free: 53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/12.5, allocations: 8.062 kB / 4.617 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/12.5, allocations: 47.91 kB / 4.617 GB, free: 52.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/12.5, allocations: 4 kB / 4.617 GB, free: 52.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/12.5, allocations: 8 kB / 4.617 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/12.5, allocations: 4 kB / 4.617 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/12.5, allocations: 3.938 kB / 4.617 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009335/12.51, allocations: 0.5498 MB / 4.617 GB, free: 52.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/12.51, allocations: 128.5 kB / 4.617 GB, free: 52.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.622e-05/12.51, allocations: 4 kB / 4.617 GB, free: 52.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/12.51, allocations: 23.92 kB / 4.617 GB, free: 52.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/12.51, allocations: 23.92 kB / 4.617 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.492e-05/12.51, allocations: 15.98 kB / 4.617 GB, free: 52.13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000436/12.51, allocations: 263.1 kB / 4.618 GB, free: 51.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-07/12.51, allocations: 0 / 4.618 GB, free: 51.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002274/12.51, allocations: 471.2 kB / 4.618 GB, free: 51.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003406/12.51, allocations: 1.227 MB / 4.619 GB, free: 50.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/12.51, allocations: 423.8 kB / 4.62 GB, free: 49.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/12.51, allocations: 0 / 4.62 GB, free: 49.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003686/12.51, allocations: 123.9 kB / 4.62 GB, free: 49.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/12.52, allocations: 152.6 kB / 4.62 GB, free: 49.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06573/12.58, allocations: 29.11 MB / 4.648 GB, free: 20.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/12.58, allocations: 0.8469 MB / 4.649 GB, free: 19.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007327/12.58, allocations: 87.28 kB / 4.649 GB, free: 19.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/12.58, allocations: 43.36 kB / 4.649 GB, free: 19.28 MB / 490.7 MB Notification: Performance of SimCode: time 1.342e-06/12.58, allocations: 11.88 kB / 4.649 GB, free: 19.27 MB / 490.7 MB Notification: Performance of Templates: time 0.4299/13.01, allocations: 21.05 MB / 4.67 GB, free: 89.4 MB / 490.7 MB