Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,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.Nitrogen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002551/0.002556, allocations: 348 kB / 15.94 MB, free: 6.215 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.72/3.72, 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.004702/0.004702, allocations: 222.1 kB / 397.8 MB, free: 4.973 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.5956/0.5956, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006499, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1172, allocations: 48.69 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.94/2.057, allocations: 0.4969 GB / 1.104 GB, free: 126.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/2.057, allocations: 97.81 kB / 1.104 GB, free: 126.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172/3.23, allocations: 217.7 MB / 1.316 GB, free: 83.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/3.23, allocations: 0 / 1.316 GB, free: 83.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.964e-05/3.23, allocations: 24.94 kB / 1.316 GB, free: 83.87 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.004449/3.234, allocations: 1.185 MB / 1.317 GB, free: 83.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/3.235, allocations: 8.688 kB / 1.317 GB, free: 83.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/3.236, allocations: 140 kB / 1.318 GB, free: 83.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/3.238, allocations: 0.5525 MB / 1.318 GB, free: 82.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/3.238, allocations: 103.6 kB / 1.318 GB, free: 82.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/3.238, allocations: 51.78 kB / 1.318 GB, free: 82.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/3.241, allocations: 0.8107 MB / 1.319 GB, free: 82.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/3.241, allocations: 6.25 kB / 1.319 GB, free: 82.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/3.241, allocations: 23 kB / 1.319 GB, free: 82.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-05/3.241, allocations: 41.81 kB / 1.319 GB, free: 82.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/3.243, allocations: 0.6148 MB / 1.32 GB, free: 82.68 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.007528/3.25, allocations: 3.928 MB / 1.324 GB, free: 80.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/3.251, allocations: 331.8 kB / 1.324 GB, free: 80.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/3.252, allocations: 167.6 kB / 1.324 GB, free: 80.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/3.252, allocations: 371.3 kB / 1.324 GB, free: 79.78 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/3.252, allocations: 38.03 kB / 1.324 GB, free: 79.74 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.877e-06/3.252, allocations: 3.938 kB / 1.324 GB, free: 79.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.009738/3.262, allocations: 1.633 MB / 1.326 GB, free: 79.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/3.262, allocations: 132.1 kB / 1.326 GB, free: 79.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/3.263, allocations: 0.602 MB / 1.327 GB, free: 78.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/3.264, allocations: 31.52 kB / 1.327 GB, free: 78.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/3.264, allocations: 376.8 kB / 1.327 GB, free: 78.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/3.264, allocations: 143.3 kB / 1.327 GB, free: 78.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/3.264, allocations: 13.19 kB / 1.327 GB, free: 78.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/3.264, allocations: 380 kB / 1.328 GB, free: 78.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/3.265, allocations: 197 kB / 1.328 GB, free: 78.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/3.266, allocations: 0.5299 MB / 1.328 GB, free: 77.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/3.266, allocations: 304.1 kB / 1.329 GB, free: 77.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/3.266, allocations: 6.438 kB / 1.329 GB, free: 77.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002333/3.269, allocations: 0.8864 MB / 1.33 GB, free: 77.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/3.269, allocations: 8.906 kB / 1.33 GB, free: 77.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/3.269, allocations: 11.19 kB / 1.33 GB, free: 77.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/3.271, allocations: 304.5 kB / 1.33 GB, free: 77.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/3.272, allocations: 133.5 kB / 1.33 GB, free: 77.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/3.274, allocations: 0.9004 MB / 1.331 GB, free: 77.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/3.275, allocations: 50.77 kB / 1.331 GB, free: 77.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/3.275, allocations: 65.97 kB / 1.331 GB, free: 77.3 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.0006832/3.276, allocations: 251.1 kB / 1.331 GB, free: 77.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/3.276, allocations: 64.66 kB / 1.331 GB, free: 77.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/3.278, allocations: 0.6693 MB / 1.332 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/3.279, allocations: 4.75 kB / 1.332 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/3.279, allocations: 0 / 1.332 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/3.279, allocations: 4.844 kB / 1.332 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/3.282, allocations: 1.601 MB / 1.333 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/3.282, allocations: 0 / 1.333 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/3.284, allocations: 218.1 kB / 1.334 GB, free: 76.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/3.285, allocations: 23.86 kB / 1.334 GB, free: 76.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/3.285, allocations: 21.41 kB / 1.334 GB, free: 76.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/3.287, allocations: 2.674 MB / 1.336 GB, free: 73.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/3.287, allocations: 0 / 1.336 GB, free: 73.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/3.289, allocations: 0.7886 MB / 1.337 GB, free: 73.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/3.29, allocations: 191.4 kB / 1.337 GB, free: 73.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/3.29, allocations: 16.11 kB / 1.337 GB, free: 73.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/3.291, allocations: 29.53 kB / 1.337 GB, free: 73.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/3.291, allocations: 43.77 kB / 1.337 GB, free: 73.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.281e-05/3.291, allocations: 42.84 kB / 1.337 GB, free: 73.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007605/3.292, allocations: 415.9 kB / 1.338 GB, free: 73.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.292, allocations: 0 / 1.338 GB, free: 73.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002204/3.294, allocations: 388.7 kB / 1.338 GB, free: 73.26 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.002594/3.297, allocations: 1.023 MB / 1.339 GB, free: 73.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0021/3.299, allocations: 0.5408 MB / 1.34 GB, free: 73.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/3.299, allocations: 0 / 1.34 GB, free: 73.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/3.301, allocations: 416.9 kB / 1.34 GB, free: 72.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/3.306, allocations: 322.7 kB / 1.34 GB, free: 72.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/3.314, allocations: 1.986 MB / 1.342 GB, free: 72.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007827/3.315, allocations: 0.9455 MB / 1.343 GB, free: 71.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002956/3.318, allocations: 262.6 kB / 1.344 GB, free: 71.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/3.319, allocations: 99.09 kB / 1.344 GB, free: 71.54 MB / 442.7 MB Notification: Performance of SimCode: time 2.214e-06/3.319, allocations: 0 / 1.344 GB, free: 71.54 MB / 442.7 MB Notification: Performance of Templates: time 0.08838/3.408, allocations: 26.76 MB / 1.37 GB, free: 68.59 MB / 442.7 MB