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.Air.SimpleAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.237/2.237, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007767/0.000777, allocations: 11.98 kB / 314.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2939, allocations: 54.87 MB / 369.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4504/0.7444, allocations: 125.2 MB / 494.4 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007784/0.7522, allocations: 4.893 MB / 499.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/0.7531, allocations: 24.97 kB / 499.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008691/0.754, allocations: 277.1 kB / 499.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.756, allocations: 0.7101 MB / 0.4886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.7591, allocations: 0.8116 MB / 0.4894 GB, free: 15.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.761, allocations: 1.156 MB / 0.4905 GB, free: 15.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006039/0.7616, allocations: 383.1 kB / 0.4909 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.7626, allocations: 0.5634 MB / 0.4914 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007831/0.7634, allocations: 0.4994 MB / 0.4919 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.7636, allocations: 30.44 kB / 0.492 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.7649, allocations: 460.8 kB / 0.4924 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.7652, allocations: 216.6 kB / 0.4926 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.7654, allocations: 163.8 kB / 0.4928 GB, free: 15.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.7665, allocations: 0.7989 MB / 0.4935 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.497e-06/0.7665, allocations: 0 / 0.4935 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.84e-06/0.7665, allocations: 0 / 0.4935 GB, free: 15.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.7665, allocations: 2.844 kB / 0.4935 GB, free: 15.62 MB / 410.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.002128/0.7687, allocations: 0.9192 MB / 0.4944 GB, free: 15.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.7687, allocations: 8.156 kB / 0.4945 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.7692, allocations: 90.83 kB / 0.4945 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.7702, allocations: 0.5025 MB / 0.495 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.7703, allocations: 101.5 kB / 0.4951 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.7705, allocations: 52.62 kB / 0.4952 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.772, allocations: 0.807 MB / 0.496 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.7721, allocations: 2.625 kB / 0.496 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.7722, allocations: 26.7 kB / 0.496 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.8e-05/0.7723, allocations: 40.53 kB / 0.496 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.7736, allocations: 0.6455 MB / 0.4967 GB, free: 14.45 MB / 410.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.006004/0.7796, allocations: 3.961 MB / 0.5005 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009692/0.7806, allocations: 408.7 kB / 0.5009 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002654/0.7833, allocations: 1.681 MB / 0.5026 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.7833, allocations: 37.72 kB / 0.5026 GB, free: 10.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 3.68e-06/0.7834, allocations: 0 / 0.5026 GB, free: 10.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.003802/0.7872, allocations: 1.442 MB / 0.504 GB, free: 9.527 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/0.7873, allocations: 132.6 kB / 0.5041 GB, free: 9.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008617/0.7882, allocations: 0.5596 MB / 0.5047 GB, free: 9.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.7883, allocations: 42.91 kB / 0.5047 GB, free: 9.121 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.7886, allocations: 415.7 kB / 0.5051 GB, free: 8.824 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.7888, allocations: 151.6 kB / 0.5053 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.7888, allocations: 12.66 kB / 0.5053 GB, free: 8.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.789, allocations: 343.3 kB / 0.5056 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.7895, allocations: 207.3 kB / 0.5058 GB, free: 8.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/0.7903, allocations: 0.5425 MB / 0.5063 GB, free: 7.891 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/0.7909, allocations: 304.6 kB / 0.5066 GB, free: 7.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.567e-06/0.7909, allocations: 2.812 kB / 0.5066 GB, free: 7.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001958/0.7928, allocations: 0.8816 MB / 0.5075 GB, free: 7.668 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.7929, allocations: 7.938 kB / 0.5075 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.7929, allocations: 11.38 kB / 0.5075 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.7945, allocations: 271 kB / 0.5078 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.7951, allocations: 137.1 kB / 0.5079 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.7964, allocations: 0.8403 MB / 0.5087 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/0.7971, allocations: 48.23 kB / 0.5088 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/0.7972, allocations: 36.81 kB / 0.5088 GB, free: 6.988 MB / 410.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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004604/0.7977, allocations: 261.5 kB / 0.509 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.7979, allocations: 64.41 kB / 0.5091 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.7994, allocations: 0.7219 MB / 0.5098 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.7995, allocations: 12.52 kB / 0.5098 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.197e-06/0.7995, allocations: 0 / 0.5098 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.7995, allocations: 3.984 kB / 0.5098 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.802, allocations: 1.354 MB / 0.5111 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.802, allocations: 0 / 0.5111 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.8033, allocations: 201.6 kB / 0.5113 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.8034, allocations: 26.98 kB / 0.5114 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.8035, allocations: 12.84 kB / 0.5114 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.8063, allocations: 2.682 MB / 0.514 GB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.8063, allocations: 9.219 kB / 0.514 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.8082, allocations: 0.9546 MB / 0.5149 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.8086, allocations: 204.9 kB / 0.5151 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.8087, allocations: 12.06 kB / 0.5151 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/0.8093, allocations: 30.11 kB / 0.5152 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.8094, allocations: 35.28 kB / 0.5152 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/0.8095, allocations: 21.45 kB / 0.5152 GB, free: 2.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006232/0.8101, allocations: 404.9 kB / 0.5156 GB, free: 2.348 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.8101, allocations: 0 / 0.5156 GB, free: 2.348 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001048/0.8112, allocations: 217.6 kB / 0.5158 GB, free: 2.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005819/0.8118, allocations: 245 kB / 0.5161 GB, free: 2.191 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.8133, allocations: 0.5795 MB / 0.5166 GB, free: 2.105 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.8133, allocations: 1.5 kB / 0.5166 GB, free: 2.105 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.8145, allocations: 426 kB / 0.517 GB, free: 1.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.8162, allocations: 290.6 kB / 0.5173 GB, free: 1.848 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.8191, allocations: 1.65 MB / 0.5189 GB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.8199, allocations: 0.9519 MB / 0.5198 GB, free: 24 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.8201, allocations: 63.8 kB / 0.5199 GB, free: 12 kB / 410.7 MB Notification: Performance of SimCode: time 1.641e-06/0.8201, allocations: 1.969 kB / 0.5199 GB, free: 12 kB / 410.7 MB Notification: Performance of Templates: time 0.02584/0.846, allocations: 14.82 MB / 0.5344 GB, free: 4.812 MB / 426.7 MB