Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,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.Nitrogen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003963/0.003968, allocations: 359 kB / 15.95 MB, free: 6.195 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.322/4.322, allocations: 388.9 MB / 405.6 MB, free: 9.574 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.003532/0.003532, allocations: 232 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.5137/0.5137, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004954, allocations: 15.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.776/1.883, allocations: 0.5035 GB / 1.184 GB, free: 94.39 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/1.884, allocations: 96.78 kB / 1.184 GB, free: 94.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115/2.999, allocations: 216.4 MB / 1.395 GB, free: 79.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.574e-06/2.999, allocations: 0 / 1.395 GB, free: 79.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.496e-05/2.999, allocations: 16.19 kB / 1.395 GB, free: 79.33 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.003841/3.003, allocations: 1.183 MB / 1.396 GB, free: 78.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/3.003, allocations: 8.031 kB / 1.396 GB, free: 78.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/3.004, allocations: 143 kB / 1.396 GB, free: 77.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/3.006, allocations: 0.552 MB / 1.397 GB, free: 77.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/3.006, allocations: 104.4 kB / 1.397 GB, free: 77.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/3.006, allocations: 48 kB / 1.397 GB, free: 77.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/3.008, allocations: 0.8142 MB / 1.398 GB, free: 76.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/3.008, allocations: 8 kB / 1.398 GB, free: 76.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/3.008, allocations: 20 kB / 1.398 GB, free: 76.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-05/3.008, allocations: 44.91 kB / 1.398 GB, free: 76.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/3.01, allocations: 0.6166 MB / 1.398 GB, free: 75.62 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.005898/3.016, allocations: 3.921 MB / 1.402 GB, free: 71.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007734/3.016, allocations: 341.2 kB / 1.403 GB, free: 71.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/3.017, allocations: 166.9 kB / 1.403 GB, free: 70.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/3.017, allocations: 361.9 kB / 1.403 GB, free: 70.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/3.017, allocations: 46.83 kB / 1.403 GB, free: 70.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.418e-06/3.017, allocations: 0 / 1.403 GB, free: 70.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008785/3.026, allocations: 1.627 MB / 1.405 GB, free: 68.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/3.026, allocations: 132.5 kB / 1.405 GB, free: 68.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009421/3.027, allocations: 0.5976 MB / 1.405 GB, free: 68.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/3.027, allocations: 37.7 kB / 1.406 GB, free: 67.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/3.028, allocations: 378.6 kB / 1.406 GB, free: 67.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/3.028, allocations: 142 kB / 1.406 GB, free: 67.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/3.028, allocations: 15.94 kB / 1.406 GB, free: 67.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/3.028, allocations: 382.7 kB / 1.406 GB, free: 67.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/3.029, allocations: 201.9 kB / 1.407 GB, free: 66.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/3.029, allocations: 0.5315 MB / 1.407 GB, free: 66.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/3.03, allocations: 296.2 kB / 1.407 GB, free: 65.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/3.03, allocations: 4 kB / 1.407 GB, free: 65.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0021/3.032, allocations: 0.886 MB / 1.408 GB, free: 64.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/3.032, allocations: 12.03 kB / 1.408 GB, free: 64.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/3.032, allocations: 12 kB / 1.408 GB, free: 64.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/3.034, allocations: 300.6 kB / 1.409 GB, free: 64.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/3.035, allocations: 127.8 kB / 1.409 GB, free: 64.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/3.037, allocations: 0.9074 MB / 1.41 GB, free: 63.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009757/3.038, allocations: 47.89 kB / 1.41 GB, free: 63.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/3.038, allocations: 67.98 kB / 1.41 GB, free: 63.5 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.0004993/3.038, allocations: 249.6 kB / 1.41 GB, free: 63.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/3.038, allocations: 71.19 kB / 1.41 GB, free: 63.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/3.041, allocations: 0.6624 MB / 1.411 GB, free: 62.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/3.041, allocations: 4 kB / 1.411 GB, free: 62.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/3.041, allocations: 0 / 1.411 GB, free: 62.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/3.041, allocations: 0 / 1.411 GB, free: 62.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/3.043, allocations: 1.595 MB / 1.412 GB, free: 60.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/3.044, allocations: 3.984 kB / 1.412 GB, free: 60.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/3.045, allocations: 207.9 kB / 1.412 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/3.046, allocations: 24.84 kB / 1.412 GB, free: 60.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/3.046, allocations: 27.94 kB / 1.412 GB, free: 60.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/3.048, allocations: 2.685 MB / 1.415 GB, free: 57.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/3.048, allocations: 0 / 1.415 GB, free: 57.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/3.049, allocations: 0.7874 MB / 1.416 GB, free: 56.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/3.05, allocations: 188.2 kB / 1.416 GB, free: 56.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/3.05, allocations: 8 kB / 1.416 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007037/3.051, allocations: 39.94 kB / 1.416 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/3.051, allocations: 35.95 kB / 1.416 GB, free: 56.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.021e-05/3.051, allocations: 47.92 kB / 1.416 GB, free: 56.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000705/3.052, allocations: 415 kB / 1.417 GB, free: 55.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.563e-06/3.052, allocations: 0 / 1.417 GB, free: 55.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001806/3.053, allocations: 379.7 kB / 1.417 GB, free: 55.61 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.002263/3.056, allocations: 1.033 MB / 1.418 GB, free: 54.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001706/3.057, allocations: 0.5457 MB / 1.418 GB, free: 54.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/3.057, allocations: 1.5 kB / 1.418 GB, free: 54.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/3.059, allocations: 414.6 kB / 1.419 GB, free: 53.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/3.062, allocations: 327.5 kB / 1.419 GB, free: 53.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/3.066, allocations: 1.973 MB / 1.421 GB, free: 51.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/3.067, allocations: 0.9455 MB / 1.422 GB, free: 50.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001791/3.069, allocations: 265.8 kB / 1.422 GB, free: 50.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/3.069, allocations: 99.41 kB / 1.422 GB, free: 49.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/3.069, allocations: 0 / 1.422 GB, free: 49.95 MB / 490.7 MB Notification: Performance of Templates: time 0.05692/3.126, allocations: 26.72 MB / 1.448 GB, free: 23.31 MB / 490.7 MB