Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003884/0.00389, allocations: 361.6 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 4.154/4.154, allocations: 388.9 MB / 405.6 MB, free: 9.602 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.003549/0.003549, allocations: 230.8 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.5238/0.5238, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005322, allocations: 11.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1257, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.617/2.743, allocations: 0.7342 GB / 1.414 GB, free: 50.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/2.743, allocations: 72.28 kB / 1.414 GB, free: 50.36 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.14/2.883, allocations: 39.71 MB / 1.453 GB, free: 15.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.332e-06/2.883, allocations: 0 / 1.453 GB, free: 15.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/2.883, allocations: 8 kB / 1.453 GB, free: 15.94 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009575/2.884, allocations: 0.5075 MB / 1.454 GB, free: 15.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/2.884, allocations: 8.031 kB / 1.454 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/2.889, allocations: 367.8 kB / 1.454 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005301/2.89, allocations: 258.8 kB / 1.454 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/2.89, allocations: 12.36 kB / 1.454 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/2.89, allocations: 27.91 kB / 1.454 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/2.893, allocations: 488.8 kB / 1.455 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/2.893, allocations: 3.938 kB / 1.455 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/2.893, allocations: 4 kB / 1.455 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/2.893, allocations: 12 kB / 1.455 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/2.896, allocations: 0.4997 MB / 1.455 GB, free: 13.68 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.00529/2.901, allocations: 0.9804 MB / 1.456 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/2.903, allocations: 285 kB / 1.457 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/2.904, allocations: 153.9 kB / 1.457 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003463/2.907, allocations: 0.8696 MB / 1.458 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/2.907, allocations: 42.5 kB / 1.458 GB, free: 11.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 4.288e-06/2.907, allocations: 0 / 1.458 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.002918/2.91, allocations: 397.7 kB / 1.458 GB, free: 10.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/2.91, allocations: 89.09 kB / 1.458 GB, free: 10.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/2.91, allocations: 113.8 kB / 1.458 GB, free: 10.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.608e-05/2.911, allocations: 33.64 kB / 1.458 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/2.911, allocations: 112.4 kB / 1.458 GB, free: 10.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/2.911, allocations: 114.4 kB / 1.458 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/2.911, allocations: 4 kB / 1.458 GB, free: 10.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/2.911, allocations: 334.8 kB / 1.459 GB, free: 9.895 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/2.912, allocations: 112.6 kB / 1.459 GB, free: 9.781 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/2.913, allocations: 196.9 kB / 1.459 GB, free: 9.555 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/2.913, allocations: 139.6 kB / 1.459 GB, free: 9.422 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/2.913, allocations: 0 / 1.459 GB, free: 9.422 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002296/2.916, allocations: 377.4 kB / 1.459 GB, free: 9.047 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/2.916, allocations: 4 kB / 1.459 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/2.916, allocations: 4 kB / 1.459 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-05/2.916, allocations: 4 kB / 1.459 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009161/2.917, allocations: 79.83 kB / 1.46 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.181e-05/2.917, allocations: 4 kB / 1.46 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/2.918, allocations: 35.67 kB / 1.46 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/2.919, allocations: 23.94 kB / 1.46 GB, free: 8.895 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0002933/2.919, allocations: 150.5 kB / 1.46 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/2.919, allocations: 15.81 kB / 1.46 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/2.922, allocations: 367 kB / 1.46 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/2.922, allocations: 0 / 1.46 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/2.922, allocations: 4 kB / 1.46 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/2.922, allocations: 3.984 kB / 1.46 GB, free: 8.352 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/2.923, allocations: 364.7 kB / 1.46 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/2.923, allocations: 4 kB / 1.46 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/2.925, allocations: 55.95 kB / 1.461 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/2.925, allocations: 7.938 kB / 1.461 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/2.925, allocations: 8 kB / 1.461 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/2.925, allocations: 0 / 1.461 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/2.925, allocations: 4 kB / 1.461 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/2.927, allocations: 0.5554 MB / 1.461 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/2.928, allocations: 92.86 kB / 1.461 GB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/2.928, allocations: 12.05 kB / 1.461 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008556/2.929, allocations: 12 kB / 1.461 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/2.929, allocations: 23.97 kB / 1.461 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/2.929, allocations: 19.98 kB / 1.461 GB, free: 7.121 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.097e-05/2.929, allocations: 91.27 kB / 1.461 GB, free: 7.031 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/2.929, allocations: 3.938 kB / 1.461 GB, free: 7.027 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003042/2.932, allocations: 263.7 kB / 1.462 GB, free: 6.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * 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 (29): * Single equations (assignments): 29 * 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.003653/2.936, allocations: 0.7451 MB / 1.462 GB, free: 6.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/2.938, allocations: 298.4 kB / 1.463 GB, free: 5.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/2.938, allocations: 4.188 kB / 1.463 GB, free: 5.727 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/2.938, allocations: 143.8 kB / 1.463 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/2.939, allocations: 83.88 kB / 1.463 GB, free: 5.504 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/2.941, allocations: 0.8993 MB / 1.464 GB, free: 4.574 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/2.941, allocations: 0.7441 MB / 1.464 GB, free: 3.805 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008655/2.942, allocations: 89.72 kB / 1.465 GB, free: 3.715 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/2.942, allocations: 27.42 kB / 1.465 GB, free: 3.688 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/2.942, allocations: 0 / 1.465 GB, free: 3.688 MB / 490.7 MB Notification: Performance of Templates: time 0.4037/3.346, allocations: 14.4 MB / 1.479 GB, free: 156.6 MB / 490.7 MB