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.16/2.16, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.189e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 54.86 MB / 364.5 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.33, allocations: 424.5 MB / 0.7706 GB, free: 125.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.33, allocations: 93.78 kB / 0.7707 GB, free: 125.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.379/1.709, allocations: 132.1 MB / 0.8997 GB, free: 4.082 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.11e-06/1.709, allocations: 0 / 0.8997 GB, free: 4.082 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.85e-05/1.709, allocations: 23.98 kB / 0.8997 GB, free: 4.059 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.00182/1.711, allocations: 0.9083 MB / 0.9006 GB, free: 3.105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.711, allocations: 8.031 kB / 0.9006 GB, free: 3.098 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/1.711, allocations: 87.06 kB / 0.9007 GB, free: 3.012 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.712, allocations: 0.5405 MB / 0.9012 GB, free: 2.434 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/1.712, allocations: 112.3 kB / 0.9014 GB, free: 2.309 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.713, allocations: 44 kB / 0.9014 GB, free: 2.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/1.714, allocations: 0.7964 MB / 0.9022 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/1.714, allocations: 3.906 kB / 0.9022 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/1.714, allocations: 23.98 kB / 0.9022 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.691e-05/1.714, allocations: 40.97 kB / 0.9022 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/1.715, allocations: 0.6245 MB / 0.9028 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2651/1.981, allocations: 3.627 MB / 0.9064 GB, free: 113.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009404/1.982, allocations: 384.9 kB / 0.9068 GB, free: 113.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/1.982, allocations: 194.3 kB / 0.9069 GB, free: 113.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002486/1.985, allocations: 1.644 MB / 0.9085 GB, free: 112 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.985, allocations: 44.48 kB / 0.9086 GB, free: 112 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 4.121e-06/1.985, allocations: 1.25 kB / 0.9086 GB, free: 112 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.003533/1.988, allocations: 1.284 MB / 0.9098 GB, free: 111.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/1.988, allocations: 133.4 kB / 0.91 GB, free: 111.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/1.989, allocations: 0.4896 MB / 0.9105 GB, free: 111.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/1.989, allocations: 32.89 kB / 0.9105 GB, free: 111.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/1.989, allocations: 406.6 kB / 0.9109 GB, free: 110.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/1.99, allocations: 157.8 kB / 0.911 GB, free: 110.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/1.99, allocations: 12.84 kB / 0.911 GB, free: 110.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.493e-05/1.99, allocations: 347.8 kB / 0.9114 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/1.99, allocations: 203.4 kB / 0.9116 GB, free: 110.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/1.991, allocations: 0.5225 MB / 0.9121 GB, free: 110.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006187/1.991, allocations: 305.2 kB / 0.9124 GB, free: 110.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.754e-06/1.991, allocations: 3.344 kB / 0.9124 GB, free: 110.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00199/1.993, allocations: 0.8483 MB / 0.9132 GB, free: 110.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.993, allocations: 9.625 kB / 0.9132 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/1.993, allocations: 11 kB / 0.9132 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/1.995, allocations: 261 kB / 0.9135 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/1.996, allocations: 134.9 kB / 0.9136 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/1.997, allocations: 0.8326 MB / 0.9144 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/1.998, allocations: 47 kB / 0.9144 GB, free: 109.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/1.998, allocations: 44.69 kB / 0.9145 GB, free: 109.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 () * 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.0002149/1.998, allocations: 159.7 kB / 0.9146 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.998, allocations: 71.06 kB / 0.9147 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/2, allocations: 0.7113 MB / 0.9154 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/2, allocations: 5.531 kB / 0.9154 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.129e-06/2, allocations: 2.297 kB / 0.9154 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/2, allocations: 3.453 kB / 0.9154 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/2.002, allocations: 1.343 MB / 0.9167 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.553e-06/2.002, allocations: 1.031 kB / 0.9167 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/2.004, allocations: 193.3 kB / 0.9169 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/2.004, allocations: 27.14 kB / 0.9169 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/2.004, allocations: 15.53 kB / 0.917 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/2.006, allocations: 2.666 MB / 0.9196 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/2.006, allocations: 5.719 kB / 0.9196 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/2.007, allocations: 0.9948 MB / 0.9205 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/2.008, allocations: 201.8 kB / 0.9207 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/2.008, allocations: 12.23 kB / 0.9207 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005658/2.008, allocations: 28.14 kB / 0.9208 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/2.009, allocations: 36.78 kB / 0.9208 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/2.009, allocations: 23.47 kB / 0.9208 GB, free: 105.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006371/2.009, allocations: 392.7 kB / 0.9212 GB, free: 105.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.82e-07/2.009, allocations: 0 / 0.9212 GB, free: 105.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001205/2.011, allocations: 239.7 kB / 0.9214 GB, free: 105.5 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 () * 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.0007344/2.011, allocations: 371.2 kB / 0.9218 GB, free: 105.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/2.013, allocations: 0.5692 MB / 0.9223 GB, free: 105.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.216e-06/2.013, allocations: 1.688 kB / 0.9223 GB, free: 105.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/2.014, allocations: 415.5 kB / 0.9227 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/2.016, allocations: 289.5 kB / 0.923 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/2.018, allocations: 1.007 MB / 0.924 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/2.018, allocations: 0.9451 MB / 0.9249 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/2.018, allocations: 72.78 kB / 0.925 GB, free: 104.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.363e-06/2.018, allocations: 0 / 0.925 GB, free: 104.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02262/2.041, allocations: 15.31 MB / 0.9399 GB, free: 103.9 MB / 490.7 MB