Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.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.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004552/0.004559, allocations: 360.2 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.111/4.111, allocations: 388.9 MB / 405.6 MB, free: 9.648 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.003643/0.003642, allocations: 232.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.5158/0.5158, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004744, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.381/2.49, allocations: 0.7596 GB / 1.44 GB, free: 25.23 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/2.49, allocations: 71.41 kB / 1.44 GB, free: 25.19 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.5458/3.036, allocations: 61.95 MB / 1.5 GB, free: 163.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/3.036, allocations: 2.625 kB / 1.5 GB, free: 163.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/3.036, allocations: 3.469 kB / 1.5 GB, free: 163.8 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001011/3.037, allocations: 485 kB / 1.501 GB, free: 163.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/3.037, allocations: 13.72 kB / 1.501 GB, free: 163.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009673/3.047, allocations: 0.6868 MB / 1.501 GB, free: 163.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/3.048, allocations: 276.1 kB / 1.502 GB, free: 162.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/3.048, allocations: 12.17 kB / 1.502 GB, free: 162.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/3.048, allocations: 23.41 kB / 1.502 GB, free: 162.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/3.05, allocations: 0.6996 MB / 1.502 GB, free: 162.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/3.05, allocations: 0 / 1.502 GB, free: 162.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/3.05, allocations: 4 kB / 1.502 GB, free: 162.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/3.051, allocations: 11.48 kB / 1.502 GB, free: 162.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/3.053, allocations: 0.7655 MB / 1.503 GB, free: 162 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.004151/3.058, allocations: 1.22 MB / 1.504 GB, free: 161 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/3.059, allocations: 324.1 kB / 1.505 GB, free: 160.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006298/3.059, allocations: 200.9 kB / 1.505 GB, free: 160.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008313/3.06, allocations: 251.5 kB / 1.505 GB, free: 160.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/3.06, allocations: 42.03 kB / 1.505 GB, free: 160.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.336e-06/3.06, allocations: 3.984 kB / 1.505 GB, free: 160.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.00218/3.062, allocations: 0.54 MB / 1.506 GB, free: 160.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/3.062, allocations: 85.03 kB / 1.506 GB, free: 160.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/3.063, allocations: 130 kB / 1.506 GB, free: 159.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/3.063, allocations: 29.7 kB / 1.506 GB, free: 159.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/3.063, allocations: 131.6 kB / 1.506 GB, free: 159.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/3.063, allocations: 94.14 kB / 1.506 GB, free: 159.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/3.063, allocations: 4 kB / 1.506 GB, free: 159.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/3.063, allocations: 326.7 kB / 1.506 GB, free: 159.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/3.064, allocations: 179.3 kB / 1.507 GB, free: 159.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/3.065, allocations: 288.6 kB / 1.507 GB, free: 159.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/3.066, allocations: 212.7 kB / 1.507 GB, free: 159 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/3.066, allocations: 0 / 1.507 GB, free: 159 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001706/3.068, allocations: 0.5092 MB / 1.508 GB, free: 158.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/3.068, allocations: 11.25 kB / 1.508 GB, free: 158.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/3.068, allocations: 3.109 kB / 1.508 GB, free: 158.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/3.068, allocations: 7.375 kB / 1.508 GB, free: 158.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009536/3.069, allocations: 80.44 kB / 1.508 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/3.069, allocations: 7.922 kB / 1.508 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/3.069, allocations: 51.53 kB / 1.508 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/3.07, allocations: 19.14 kB / 1.508 GB, free: 158.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 initialization (38): * Single equations (assignments): 38 * 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 prepare postOptimizeDAE: time 0.0002518/3.07, allocations: 150 kB / 1.508 GB, free: 158.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/3.07, allocations: 11.44 kB / 1.508 GB, free: 158.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/3.072, allocations: 478.2 kB / 1.508 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/3.072, allocations: 0 / 1.508 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/3.072, allocations: 4 kB / 1.508 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/3.072, allocations: 11.84 kB / 1.508 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/3.073, allocations: 0.492 MB / 1.509 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/3.073, allocations: 0 / 1.509 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000922/3.074, allocations: 59.08 kB / 1.509 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/3.074, allocations: 7.812 kB / 1.509 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/3.074, allocations: 11.89 kB / 1.509 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/3.074, allocations: 3.969 kB / 1.509 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/3.074, allocations: 0 / 1.509 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/3.076, allocations: 0.6727 MB / 1.51 GB, free: 157.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/3.076, allocations: 92.73 kB / 1.51 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/3.076, allocations: 11.95 kB / 1.51 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/3.077, allocations: 19.55 kB / 1.51 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/3.077, allocations: 19.81 kB / 1.51 GB, free: 157.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.33e-05/3.077, allocations: 23.75 kB / 1.51 GB, free: 157.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.288e-05/3.077, allocations: 107.5 kB / 1.51 GB, free: 157 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/3.077, allocations: 0 / 1.51 GB, free: 157 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001209/3.078, allocations: 208.6 kB / 1.51 GB, free: 156.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * 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 (25): * Single equations (assignments): 25 * 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.001867/3.08, allocations: 0.7259 MB / 1.511 GB, free: 156.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/3.082, allocations: 424.3 kB / 1.511 GB, free: 156.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/3.082, allocations: 192 / 1.511 GB, free: 156.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/3.083, allocations: 217.1 kB / 1.511 GB, free: 156.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/3.084, allocations: 87.25 kB / 1.511 GB, free: 156.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/3.086, allocations: 1.05 MB / 1.512 GB, free: 155.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/3.086, allocations: 0.7444 MB / 1.513 GB, free: 154.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001316/3.088, allocations: 109.4 kB / 1.513 GB, free: 154.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/3.088, allocations: 31.42 kB / 1.513 GB, free: 154.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/3.088, allocations: 0 / 1.513 GB, free: 154.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02974/3.118, allocations: 14.66 MB / 1.528 GB, free: 139.8 MB / 490.7 MB