Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004032/0.004037, allocations: 360.5 kB / 15.95 MB, free: 6.207 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 3.888/3.888, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.00525/0.00525, allocations: 232 kB / 451 MB, free: 145.1 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.6252/0.6252, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00071/0.0007102, allocations: 19.97 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1329, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.333/2.466, allocations: 0.6367 GB / 1.317 GB, free: 143.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/2.466, allocations: 106.1 kB / 1.317 GB, free: 143.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.237/3.703, allocations: 228.6 MB / 1.54 GB, free: 96.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.426e-06/3.704, allocations: 2.562 kB / 1.54 GB, free: 96.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001249/3.704, allocations: 15.7 kB / 1.54 GB, free: 96.9 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00636/3.71, allocations: 1.234 MB / 1.541 GB, free: 96.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/3.71, allocations: 15.7 kB / 1.541 GB, free: 96.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/3.712, allocations: 132.7 kB / 1.542 GB, free: 96.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/3.715, allocations: 0.5635 MB / 1.542 GB, free: 95.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/3.715, allocations: 105.3 kB / 1.542 GB, free: 95.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/3.715, allocations: 46.69 kB / 1.542 GB, free: 95.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/3.718, allocations: 0.8092 MB / 1.543 GB, free: 95.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/3.719, allocations: 3.656 kB / 1.543 GB, free: 95.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/3.719, allocations: 22.97 kB / 1.543 GB, free: 95.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/3.719, allocations: 39.81 kB / 1.543 GB, free: 95.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/3.722, allocations: 0.6184 MB / 1.544 GB, free: 95.54 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.01014/3.732, allocations: 3.921 MB / 1.548 GB, free: 92.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/3.733, allocations: 340.2 kB / 1.548 GB, free: 92.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/3.734, allocations: 169.2 kB / 1.548 GB, free: 92.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008099/3.735, allocations: 364.1 kB / 1.548 GB, free: 92.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/3.735, allocations: 38.53 kB / 1.548 GB, free: 92.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.649e-06/3.735, allocations: 0 / 1.548 GB, free: 92.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.01208/3.747, allocations: 1.63 MB / 1.55 GB, free: 91.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/3.747, allocations: 136.2 kB / 1.55 GB, free: 91.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/3.748, allocations: 0.5983 MB / 1.551 GB, free: 91.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/3.748, allocations: 32.92 kB / 1.551 GB, free: 91.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/3.749, allocations: 376.8 kB / 1.551 GB, free: 90.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/3.749, allocations: 147.9 kB / 1.551 GB, free: 90.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/3.749, allocations: 14.69 kB / 1.551 GB, free: 90.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/3.749, allocations: 377.7 kB / 1.552 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/3.75, allocations: 199.5 kB / 1.552 GB, free: 90.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/3.75, allocations: 0.5322 MB / 1.552 GB, free: 89.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/3.751, allocations: 298.8 kB / 1.553 GB, free: 89.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/3.751, allocations: 3.969 kB / 1.553 GB, free: 89.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002305/3.753, allocations: 0.884 MB / 1.553 GB, free: 89.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/3.754, allocations: 7.531 kB / 1.554 GB, free: 89.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/3.754, allocations: 13.59 kB / 1.554 GB, free: 89.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/3.756, allocations: 304.4 kB / 1.554 GB, free: 89.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008945/3.757, allocations: 132.7 kB / 1.554 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/3.758, allocations: 0.9055 MB / 1.555 GB, free: 88.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/3.76, allocations: 51.86 kB / 1.555 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/3.76, allocations: 68.12 kB / 1.555 GB, free: 88.49 MB / 490.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.0005991/3.76, allocations: 252.1 kB / 1.555 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/3.761, allocations: 66.09 kB / 1.555 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/3.763, allocations: 0.6618 MB / 1.556 GB, free: 88.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/3.763, allocations: 3.219 kB / 1.556 GB, free: 88.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/3.763, allocations: 0 / 1.556 GB, free: 88.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/3.763, allocations: 4.406 kB / 1.556 GB, free: 88.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/3.766, allocations: 1.598 MB / 1.557 GB, free: 86.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/3.766, allocations: 2.812 kB / 1.557 GB, free: 86.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/3.768, allocations: 208 kB / 1.558 GB, free: 86.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/3.769, allocations: 23.41 kB / 1.558 GB, free: 86.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.655e-05/3.769, allocations: 27.78 kB / 1.558 GB, free: 86.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/3.771, allocations: 2.681 MB / 1.56 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/3.771, allocations: 5.438 kB / 1.56 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/3.773, allocations: 0.7837 MB / 1.561 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/3.774, allocations: 188.4 kB / 1.561 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/3.774, allocations: 7.844 kB / 1.561 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/3.775, allocations: 28.72 kB / 1.561 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/3.775, allocations: 40.3 kB / 1.561 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/3.775, allocations: 46.66 kB / 1.561 GB, free: 83.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007765/3.776, allocations: 413.8 kB / 1.562 GB, free: 83.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/3.776, allocations: 2.688 kB / 1.562 GB, free: 83.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002313/3.778, allocations: 387.7 kB / 1.562 GB, free: 83.36 MB / 490.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.002641/3.781, allocations: 1.038 MB / 1.563 GB, free: 83.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001931/3.783, allocations: 0.5496 MB / 1.564 GB, free: 82.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/3.783, allocations: 7.891 kB / 1.564 GB, free: 82.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001683/3.784, allocations: 407.4 kB / 1.564 GB, free: 82.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/3.787, allocations: 325.5 kB / 1.564 GB, free: 82.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/3.793, allocations: 1.981 MB / 1.566 GB, free: 81.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/3.793, allocations: 0.9571 MB / 1.567 GB, free: 81.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001866/3.795, allocations: 264.3 kB / 1.568 GB, free: 81.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/3.796, allocations: 95.3 kB / 1.568 GB, free: 81.01 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/3.796, allocations: 0 / 1.568 GB, free: 81.01 MB / 490.7 MB Notification: Performance of Templates: time 0.06308/3.859, allocations: 26.91 MB / 1.594 GB, free: 59.57 MB / 490.7 MB