Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(ModelicaTest): time 2.216/2.216, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.885e-05/1.897e-05, allocations: 0 / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.564/1.84, allocations: 0.636 GB / 0.9857 GB, free: 10.36 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/1.84, allocations: 92.83 kB / 0.9858 GB, free: 10.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.301/3.141, allocations: 226.9 MB / 1.207 GB, free: 92.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.978e-06/3.141, allocations: 0 / 1.207 GB, free: 92.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.968e-05/3.141, allocations: 16.81 kB / 1.207 GB, free: 92.21 MB / 474.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.003045/3.144, allocations: 1.149 MB / 1.209 GB, free: 91.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/3.144, allocations: 18.84 kB / 1.209 GB, free: 91.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/3.145, allocations: 130.6 kB / 1.209 GB, free: 91.69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/3.147, allocations: 0.5516 MB / 1.209 GB, free: 91.45 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.883e-05/3.147, allocations: 88.55 kB / 1.209 GB, free: 91.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/3.147, allocations: 35.28 kB / 1.209 GB, free: 91.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0012/3.148, allocations: 0.5167 MB / 1.21 GB, free: 91.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/3.15, allocations: 0.7266 MB / 1.211 GB, free: 91.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/3.15, allocations: 2.25 kB / 1.211 GB, free: 91.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-05/3.15, allocations: 3.625 kB / 1.211 GB, free: 91.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/3.15, allocations: 40.39 kB / 1.211 GB, free: 91.16 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005072/3.155, allocations: 3.879 MB / 1.214 GB, free: 88.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/3.156, allocations: 245.3 kB / 1.215 GB, free: 88.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/3.156, allocations: 131.2 kB / 1.215 GB, free: 88.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.081e-05/3.156, allocations: 25.14 kB / 1.215 GB, free: 88.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/3.156, allocations: 34.73 kB / 1.215 GB, free: 88.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 3.946e-06/3.156, allocations: 2.062 kB / 1.215 GB, free: 88.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.006444/3.162, allocations: 1.419 MB / 1.216 GB, free: 88.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/3.163, allocations: 132.1 kB / 1.216 GB, free: 87.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/3.163, allocations: 472.9 kB / 1.217 GB, free: 87.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/3.163, allocations: 25.7 kB / 1.217 GB, free: 87.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/3.164, allocations: 440.5 kB / 1.217 GB, free: 87.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/3.164, allocations: 117.1 kB / 1.217 GB, free: 87.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/3.164, allocations: 0 / 1.217 GB, free: 87.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/3.164, allocations: 347.3 kB / 1.218 GB, free: 87.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/3.164, allocations: 178.4 kB / 1.218 GB, free: 87.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/3.165, allocations: 0.5138 MB / 1.218 GB, free: 86.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009074/3.166, allocations: 322.9 kB / 1.219 GB, free: 86.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/3.166, allocations: 7 kB / 1.219 GB, free: 86.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002006/3.168, allocations: 0.7987 MB / 1.219 GB, free: 86.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/3.168, allocations: 10.47 kB / 1.219 GB, free: 86.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/3.168, allocations: 11.41 kB / 1.219 GB, free: 86.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/3.169, allocations: 264.3 kB / 1.22 GB, free: 86.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/3.17, allocations: 136.2 kB / 1.22 GB, free: 86.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/3.171, allocations: 0.9275 MB / 1.221 GB, free: 86.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008867/3.172, allocations: 36.89 kB / 1.221 GB, free: 86.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/3.172, allocations: 62.12 kB / 1.221 GB, free: 86.09 MB / 474.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 () * 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.0002025/3.172, allocations: 137.1 kB / 1.221 GB, free: 85.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/3.172, allocations: 62.41 kB / 1.221 GB, free: 85.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/3.174, allocations: 0.5058 MB / 1.221 GB, free: 85.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.118e-06/3.174, allocations: 3.969 kB / 1.221 GB, free: 85.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.157e-06/3.174, allocations: 0 / 1.221 GB, free: 85.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.223e-06/3.174, allocations: 3.609 kB / 1.221 GB, free: 85.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/3.176, allocations: 0.9589 MB / 1.222 GB, free: 85.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.252e-06/3.176, allocations: 3.5 kB / 1.222 GB, free: 85.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/3.178, allocations: 201.8 kB / 1.223 GB, free: 85.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/3.178, allocations: 17.97 kB / 1.223 GB, free: 85.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/3.178, allocations: 15.47 kB / 1.223 GB, free: 85.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/3.18, allocations: 2.588 MB / 1.225 GB, free: 83.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.381e-06/3.18, allocations: 0 / 1.225 GB, free: 83.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/3.181, allocations: 0.6683 MB / 1.226 GB, free: 82.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/3.181, allocations: 166 kB / 1.226 GB, free: 82.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/3.181, allocations: 0 / 1.226 GB, free: 82.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/3.182, allocations: 34.98 kB / 1.226 GB, free: 82.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/3.182, allocations: 26.61 kB / 1.226 GB, free: 82.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/3.182, allocations: 36.23 kB / 1.226 GB, free: 82.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005246/3.183, allocations: 349.9 kB / 1.226 GB, free: 82.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.47e-07/3.183, allocations: 0 / 1.226 GB, free: 82.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001624/3.184, allocations: 352 kB / 1.227 GB, free: 82.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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.002142/3.187, allocations: 1.17 MB / 1.228 GB, free: 82.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/3.188, allocations: 487.7 kB / 1.228 GB, free: 82.49 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.227e-06/3.188, allocations: 2.625 kB / 1.228 GB, free: 82.49 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009614/3.189, allocations: 343.8 kB / 1.229 GB, free: 82.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/3.19, allocations: 237 kB / 1.229 GB, free: 82.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008478/3.199, allocations: 2.341 MB / 1.231 GB, free: 82.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/3.199, allocations: 0.9345 MB / 1.232 GB, free: 81.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005769/3.2, allocations: 107.3 kB / 1.232 GB, free: 81.38 MB / 474.7 MB Notification: Performance of SimCode: time 1.799e-06/3.2, allocations: 0 / 1.232 GB, free: 81.38 MB / 474.7 MB Notification: Performance of Templates: time 0.04675/3.247, allocations: 19.92 MB / 1.252 GB, free: 80.71 MB / 474.7 MB