Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004273/0.004279, allocations: 348.2 kB / 15.94 MB, free: 6.219 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.489/3.489, allocations: 341.5 MB / 358.2 MB, free: 12.61 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.003718/0.003717, allocations: 221.6 kB / 397.9 MB, free: 4.961 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.5208/0.5208, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1229, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.083/2.206, allocations: 0.63 GB / 1.237 GB, free: 36.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/2.207, allocations: 96.64 kB / 1.237 GB, free: 36.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459/3.666, allocations: 228.5 MB / 1.46 GB, free: 73.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.356e-06/3.666, allocations: 2.734 kB / 1.46 GB, free: 73.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001025/3.666, allocations: 13.62 kB / 1.46 GB, free: 73.77 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.005263/3.672, allocations: 1.238 MB / 1.461 GB, free: 73.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/3.672, allocations: 8.844 kB / 1.461 GB, free: 73.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/3.673, allocations: 131.9 kB / 1.461 GB, free: 73.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/3.675, allocations: 0.5585 MB / 1.462 GB, free: 73.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/3.676, allocations: 102.5 kB / 1.462 GB, free: 73.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/3.676, allocations: 50.62 kB / 1.462 GB, free: 73.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/3.678, allocations: 0.8046 MB / 1.463 GB, free: 72.81 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/3.678, allocations: 6.859 kB / 1.463 GB, free: 72.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/3.678, allocations: 26.81 kB / 1.463 GB, free: 72.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.222e-05/3.678, allocations: 40.12 kB / 1.463 GB, free: 72.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/3.68, allocations: 0.6178 MB / 1.464 GB, free: 72.8 MB / 442.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.006983/3.687, allocations: 3.919 MB / 1.467 GB, free: 70.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/3.688, allocations: 341.9 kB / 1.468 GB, free: 70.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/3.689, allocations: 162.8 kB / 1.468 GB, free: 70.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/3.689, allocations: 368 kB / 1.468 GB, free: 69.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/3.689, allocations: 40.28 kB / 1.468 GB, free: 69.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.587e-06/3.689, allocations: 3.688 kB / 1.468 GB, free: 69.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.009865/3.699, allocations: 1.633 MB / 1.47 GB, free: 69.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/3.699, allocations: 133.5 kB / 1.47 GB, free: 69.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/3.7, allocations: 0.5929 MB / 1.471 GB, free: 69.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001735/3.701, allocations: 36.11 kB / 1.471 GB, free: 69.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/3.701, allocations: 379.7 kB / 1.471 GB, free: 68.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/3.701, allocations: 151.2 kB / 1.471 GB, free: 68.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/3.701, allocations: 9.938 kB / 1.471 GB, free: 68.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/3.701, allocations: 376.8 kB / 1.471 GB, free: 68.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006174/3.702, allocations: 199.6 kB / 1.472 GB, free: 68.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/3.703, allocations: 0.5289 MB / 1.472 GB, free: 68.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/3.704, allocations: 302.7 kB / 1.472 GB, free: 68.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/3.704, allocations: 6.469 kB / 1.472 GB, free: 68.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002452/3.706, allocations: 0.8807 MB / 1.473 GB, free: 68.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/3.706, allocations: 10.81 kB / 1.473 GB, free: 68.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/3.706, allocations: 14.22 kB / 1.473 GB, free: 68.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/3.709, allocations: 304.5 kB / 1.474 GB, free: 68.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008953/3.71, allocations: 131.8 kB / 1.474 GB, free: 68.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/3.711, allocations: 0.9 MB / 1.475 GB, free: 67.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/3.713, allocations: 50.28 kB / 1.475 GB, free: 67.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/3.713, allocations: 72.77 kB / 1.475 GB, free: 67.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006415/3.714, allocations: 248.5 kB / 1.475 GB, free: 67.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/3.714, allocations: 64.19 kB / 1.475 GB, free: 67.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/3.716, allocations: 0.6698 MB / 1.476 GB, free: 67.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/3.716, allocations: 3.5 kB / 1.476 GB, free: 67.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/3.716, allocations: 0 / 1.476 GB, free: 67.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/3.716, allocations: 5.75 kB / 1.476 GB, free: 67.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004042/3.721, allocations: 1.589 MB / 1.477 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/3.721, allocations: 7 kB / 1.477 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/3.723, allocations: 212.6 kB / 1.477 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/3.723, allocations: 24.08 kB / 1.477 GB, free: 66.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/3.723, allocations: 23.59 kB / 1.478 GB, free: 66.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/3.725, allocations: 2.677 MB / 1.48 GB, free: 63.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/3.725, allocations: 2.953 kB / 1.48 GB, free: 63.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/3.728, allocations: 0.7983 MB / 1.481 GB, free: 63.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006363/3.728, allocations: 188.3 kB / 1.481 GB, free: 63.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/3.728, allocations: 9.156 kB / 1.481 GB, free: 63.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/3.729, allocations: 28.61 kB / 1.481 GB, free: 63.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/3.729, allocations: 42.89 kB / 1.481 GB, free: 63.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/3.73, allocations: 48.81 kB / 1.481 GB, free: 63.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008523/3.73, allocations: 408.8 kB / 1.482 GB, free: 63.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.21e-07/3.731, allocations: 5.312 kB / 1.482 GB, free: 63.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002441/3.733, allocations: 386.8 kB / 1.482 GB, free: 63.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003146/3.736, allocations: 1.043 MB / 1.483 GB, free: 63.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/3.739, allocations: 0.5371 MB / 1.484 GB, free: 63.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/3.739, allocations: 3.953 kB / 1.484 GB, free: 63.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002188/3.741, allocations: 413.6 kB / 1.484 GB, free: 63.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/3.745, allocations: 320.2 kB / 1.484 GB, free: 63.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007206/3.752, allocations: 1.975 MB / 1.486 GB, free: 62.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000864/3.753, allocations: 0.9451 MB / 1.487 GB, free: 61.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002852/3.756, allocations: 272.9 kB / 1.487 GB, free: 61.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007988/3.757, allocations: 100.3 kB / 1.487 GB, free: 61.78 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/3.757, allocations: 0 / 1.487 GB, free: 61.78 MB / 442.7 MB Notification: Performance of Templates: time 0.08613/3.843, allocations: 26.91 MB / 1.514 GB, free: 60.84 MB / 442.7 MB