Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 1.894/1.894, allocations: 209.3 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004321, allocations: 20 kB / 282.5 MB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08611, allocations: 48.69 MB / 331.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.413/0.4992, allocations: 141.7 MB / 472.9 MB, free: 7.723 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.5147, allocations: 8.71 MB / 481.6 MB, free: 15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009662/0.5157, allocations: 31.69 kB / 481.7 MB, free: 14.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.5167, allocations: 270.7 kB / 481.9 MB, free: 14.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.5212, allocations: 1.181 MB / 483.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.5247, allocations: 0.8965 MB / 484 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00216/0.5269, allocations: 1.168 MB / 485.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007157/0.5277, allocations: 387.1 kB / 485.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.5296, allocations: 0.7401 MB / 486.3 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008955/0.5305, allocations: 454.5 kB / 486.7 MB, free: 9.883 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.5307, allocations: 32 kB / 486.8 MB, free: 9.852 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.5327, allocations: 0.6366 MB / 487.4 MB, free: 9.215 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.533, allocations: 215.4 kB / 487.6 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.5333, allocations: 165.3 kB / 487.8 MB, free: 8.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.535, allocations: 0.9824 MB / 488.8 MB, free: 7.855 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.535, allocations: 0 / 488.8 MB, free: 7.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.191e-06/0.535, allocations: 0 / 488.8 MB, free: 7.855 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.535, allocations: 0 / 488.8 MB, free: 7.855 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.002461/0.5375, allocations: 0.9855 MB / 489.8 MB, free: 6.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5376, allocations: 8.031 kB / 489.8 MB, free: 6.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.5386, allocations: 146.6 kB / 489.9 MB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.5397, allocations: 492.6 kB / 490.4 MB, free: 6.148 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.5399, allocations: 104.4 kB / 490.5 MB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.54, allocations: 47.98 kB / 490.5 MB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.5418, allocations: 0.8097 MB / 491.3 MB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.5418, allocations: 7.938 kB / 491.4 MB, free: 5.094 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.5419, allocations: 27.95 kB / 491.4 MB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.317e-05/0.542, allocations: 40.92 kB / 491.4 MB, free: 5.027 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.5436, allocations: 0.6204 MB / 492 MB, free: 4.406 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.006105/0.5497, allocations: 3.93 MB / 496 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2109/0.7607, allocations: 342.6 kB / 496.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.7608, allocations: 24.62 kB / 496.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.7609, allocations: 39.19 kB / 496.4 MB, free: 141.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 4.132e-06/0.7609, allocations: 0 / 496.4 MB, free: 141.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.006557/0.7675, allocations: 1.646 MB / 498 MB, free: 141.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.7675, allocations: 137 kB / 498.1 MB, free: 141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009248/0.7685, allocations: 0.5955 MB / 498.7 MB, free: 140.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.7685, allocations: 35.97 kB / 498.8 MB, free: 140.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.7688, allocations: 412 kB / 499.2 MB, free: 140.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.7689, allocations: 141.5 kB / 499.3 MB, free: 140.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.769, allocations: 15.38 kB / 499.3 MB, free: 140.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.7691, allocations: 339.9 kB / 499.7 MB, free: 140.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/0.7696, allocations: 204.5 kB / 499.9 MB, free: 140 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/0.7703, allocations: 0.5348 MB / 0.4887 GB, free: 139.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.771, allocations: 299.4 kB / 0.489 GB, free: 139.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.771, allocations: 7.594 kB / 0.489 GB, free: 139.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001947/0.7729, allocations: 0.854 MB / 0.4898 GB, free: 139 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.773, allocations: 10.8 kB / 0.4898 GB, free: 139 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.773, allocations: 11 kB / 0.4898 GB, free: 139 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.7747, allocations: 309.6 kB / 0.4901 GB, free: 139 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.7753, allocations: 130.9 kB / 0.4902 GB, free: 139 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.7765, allocations: 0.9022 MB / 0.4911 GB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/0.7773, allocations: 47.66 kB / 0.4912 GB, free: 138.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.7775, allocations: 69.98 kB / 0.4912 GB, free: 138.3 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 (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.0004169/0.7779, allocations: 251.3 kB / 0.4915 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.7781, allocations: 65.62 kB / 0.4915 GB, free: 138.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.7801, allocations: 0.6737 MB / 0.4922 GB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.738e-06/0.7801, allocations: 5.641 kB / 0.4922 GB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.506e-06/0.7801, allocations: 1.125 kB / 0.4922 GB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.129e-06/0.7802, allocations: 5.828 kB / 0.4922 GB, free: 137.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.7826, allocations: 1.27 MB / 0.4934 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.747e-06/0.7826, allocations: 5.656 kB / 0.4934 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.7839, allocations: 208.8 kB / 0.4936 GB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.784, allocations: 27.38 kB / 0.4937 GB, free: 137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.7841, allocations: 17.38 kB / 0.4937 GB, free: 137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.786, allocations: 2.687 MB / 0.4963 GB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.175e-06/0.786, allocations: 6.031 kB / 0.4963 GB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.7877, allocations: 0.7979 MB / 0.4971 GB, free: 133.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.788, allocations: 183.1 kB / 0.4973 GB, free: 133.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.7881, allocations: 8.953 kB / 0.4973 GB, free: 133.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/0.7887, allocations: 28.78 kB / 0.4973 GB, free: 133.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.7888, allocations: 42.42 kB / 0.4973 GB, free: 133.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.025e-05/0.7889, allocations: 45.17 kB / 0.4974 GB, free: 133.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006466/0.7896, allocations: 414.8 kB / 0.4978 GB, free: 133.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.7896, allocations: 0 / 0.4978 GB, free: 133.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001298/0.7909, allocations: 288.8 kB / 0.4981 GB, free: 133.5 MB / 410.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.00105/0.792, allocations: 375.1 kB / 0.4984 GB, free: 133.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.7935, allocations: 0.5504 MB / 0.499 GB, free: 133.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.585e-06/0.7935, allocations: 1.281 kB / 0.499 GB, free: 133.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.7948, allocations: 403.4 kB / 0.4993 GB, free: 133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.7967, allocations: 314.7 kB / 0.4996 GB, free: 132.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.7995, allocations: 1.605 MB / 0.5012 GB, free: 132 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.8001, allocations: 0.9354 MB / 0.5021 GB, free: 131.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.8006, allocations: 113 kB / 0.5022 GB, free: 131.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.639e-06/0.8007, allocations: 0 / 0.5022 GB, free: 131.3 MB / 410.7 MB Notification: Performance of Templates: time 0.02663/0.8273, allocations: 16.6 MB / 0.5184 GB, free: 121.7 MB / 410.7 MB