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.203/2.203, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004356, allocations: 8 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2775, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.305, allocations: 424.6 MB / 0.7753 GB, free: 61.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.306, allocations: 91.36 kB / 0.7754 GB, free: 61.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6252/1.931, allocations: 132.6 MB / 0.9049 GB, free: 134.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.063e-06/1.931, allocations: 0 / 0.9049 GB, free: 134.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.44e-05/1.931, allocations: 19.75 kB / 0.9049 GB, free: 134.8 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.001926/1.933, allocations: 0.9777 MB / 0.9058 GB, free: 133.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/1.933, allocations: 8.031 kB / 0.9058 GB, free: 133.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/1.933, allocations: 83.16 kB / 0.9059 GB, free: 133.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/1.934, allocations: 0.5556 MB / 0.9065 GB, free: 133.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.89e-05/1.935, allocations: 104.3 kB / 0.9066 GB, free: 133 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.935, allocations: 48 kB / 0.9066 GB, free: 133 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/1.936, allocations: 0.8006 MB / 0.9074 GB, free: 132.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/1.936, allocations: 3.938 kB / 0.9074 GB, free: 132.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.935e-05/1.936, allocations: 31.83 kB / 0.9074 GB, free: 132.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/1.936, allocations: 36.97 kB / 0.9075 GB, free: 132 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/1.938, allocations: 0.6323 MB / 0.9081 GB, free: 131.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004481/1.942, allocations: 3.642 MB / 0.9116 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008592/1.943, allocations: 393.5 kB / 0.912 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002053/1.945, allocations: 1.641 MB / 0.9136 GB, free: 125.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/1.945, allocations: 38.56 kB / 0.9137 GB, free: 125.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 3.471e-06/1.945, allocations: 0 / 0.9137 GB, free: 125.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.003517/1.949, allocations: 1.435 MB / 0.9151 GB, free: 123.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.949, allocations: 132.5 kB / 0.9152 GB, free: 123.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/1.949, allocations: 0.5006 MB / 0.9157 GB, free: 123.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/1.95, allocations: 37.7 kB / 0.9157 GB, free: 123.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/1.95, allocations: 405.3 kB / 0.9161 GB, free: 122.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/1.95, allocations: 153.4 kB / 0.9162 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/1.95, allocations: 16 kB / 0.9163 GB, free: 122.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/1.95, allocations: 342.8 kB / 0.9166 GB, free: 122.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/1.95, allocations: 201.9 kB / 0.9168 GB, free: 122 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005533/1.951, allocations: 0.5354 MB / 0.9173 GB, free: 121.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/1.952, allocations: 313.3 kB / 0.9176 GB, free: 121 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.707e-06/1.952, allocations: 0 / 0.9176 GB, free: 121 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001786/1.953, allocations: 0.8605 MB / 0.9184 GB, free: 120.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.953, allocations: 8.938 kB / 0.9184 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/1.953, allocations: 12 kB / 0.9185 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/1.955, allocations: 266.8 kB / 0.9187 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/1.956, allocations: 135.8 kB / 0.9188 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/1.957, allocations: 0.8411 MB / 0.9197 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008307/1.957, allocations: 47.98 kB / 0.9197 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/1.958, allocations: 43.98 kB / 0.9198 GB, free: 118.8 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 (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.0004097/1.958, allocations: 245.8 kB / 0.92 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/1.958, allocations: 71.16 kB / 0.9201 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/1.96, allocations: 0.7247 MB / 0.9208 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.96, allocations: 8 kB / 0.9208 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.96, allocations: 0 / 0.9208 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/1.96, allocations: 3.984 kB / 0.9208 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/1.962, allocations: 1.341 MB / 0.9221 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.584e-06/1.962, allocations: 0 / 0.9221 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.963, allocations: 191.8 kB / 0.9223 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/1.963, allocations: 25.03 kB / 0.9223 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/1.963, allocations: 19.98 kB / 0.9223 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/1.965, allocations: 2.684 MB / 0.9249 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.692e-06/1.965, allocations: 4.344 kB / 0.9249 GB, free: 113.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/1.967, allocations: 1.01 MB / 0.9259 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/1.967, allocations: 196.1 kB / 0.9261 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.967, allocations: 15.98 kB / 0.9261 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/1.968, allocations: 32.05 kB / 0.9262 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/1.968, allocations: 35.89 kB / 0.9262 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/1.968, allocations: 23.98 kB / 0.9262 GB, free: 111.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005601/1.968, allocations: 395.1 kB / 0.9266 GB, free: 111.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.08e-07/1.968, allocations: 4 kB / 0.9266 GB, free: 111.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001102/1.969, allocations: 234.8 kB / 0.9268 GB, free: 111 MB / 490.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.000671/1.97, allocations: 371.1 kB / 0.9272 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/1.972, allocations: 0.5809 MB / 0.9277 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.045e-06/1.972, allocations: 0 / 0.9277 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/1.973, allocations: 422.9 kB / 0.9281 GB, free: 109.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/1.975, allocations: 282 kB / 0.9284 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/1.979, allocations: 1.646 MB / 0.93 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/1.98, allocations: 0.9502 MB / 0.9309 GB, free: 106.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/1.98, allocations: 63.42 kB / 0.931 GB, free: 106.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.153e-06/1.98, allocations: 0 / 0.931 GB, free: 106.7 MB / 490.7 MB Notification: Performance of Templates: time 0.0363/2.017, allocations: 15.31 MB / 0.946 GB, free: 91.36 MB / 490.7 MB