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.819/1.819, allocations: 209.3 MB / 222.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.048e-05, allocations: 4 kB / 277.8 MB, free: 12.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.0869, allocations: 48.7 MB / 326.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.635/1.722, allocations: 0.6299 GB / 0.9488 GB, free: 12.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.722, allocations: 96.94 kB / 0.9489 GB, free: 12.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.286/3.008, allocations: 229.4 MB / 1.173 GB, free: 71.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.374e-06/3.008, allocations: 0 / 1.173 GB, free: 71.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001094/3.008, allocations: 21.02 kB / 1.173 GB, free: 71.11 MB / 426.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.005442/3.014, allocations: 1.144 MB / 1.174 GB, free: 70.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/3.014, allocations: 14.22 kB / 1.174 GB, free: 70.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/3.016, allocations: 134.8 kB / 1.174 GB, free: 70.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/3.018, allocations: 0.5465 MB / 1.175 GB, free: 70.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/3.018, allocations: 107.2 kB / 1.175 GB, free: 70.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/3.019, allocations: 50.16 kB / 1.175 GB, free: 70.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/3.022, allocations: 0.7955 MB / 1.176 GB, free: 69.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/3.022, allocations: 4.406 kB / 1.176 GB, free: 69.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/3.022, allocations: 22 kB / 1.176 GB, free: 69.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/3.022, allocations: 39.66 kB / 1.176 GB, free: 69.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/3.025, allocations: 0.6017 MB / 1.176 GB, free: 69.95 MB / 426.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.008816/3.033, allocations: 3.909 MB / 1.18 GB, free: 67.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/3.035, allocations: 327.2 kB / 1.181 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006399/3.035, allocations: 167.5 kB / 1.181 GB, free: 67.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/3.036, allocations: 25 kB / 1.181 GB, free: 67.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/3.036, allocations: 39.94 kB / 1.181 GB, free: 67.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 6.216e-06/3.036, allocations: 0 / 1.181 GB, free: 67.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.011/3.047, allocations: 1.497 MB / 1.182 GB, free: 66.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/3.047, allocations: 135.2 kB / 1.182 GB, free: 66.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/3.048, allocations: 0.5202 MB / 1.183 GB, free: 66.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/3.048, allocations: 33.23 kB / 1.183 GB, free: 66.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/3.049, allocations: 414.7 kB / 1.183 GB, free: 66.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/3.049, allocations: 149 kB / 1.183 GB, free: 66.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/3.049, allocations: 13.34 kB / 1.183 GB, free: 66.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/3.049, allocations: 343.7 kB / 1.184 GB, free: 65.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/3.05, allocations: 192.8 kB / 1.184 GB, free: 65.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/3.051, allocations: 0.5186 MB / 1.184 GB, free: 65.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/3.052, allocations: 302 kB / 1.185 GB, free: 65.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/3.052, allocations: 4.875 kB / 1.185 GB, free: 65.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003371/3.056, allocations: 0.8306 MB / 1.186 GB, free: 65.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/3.056, allocations: 8.75 kB / 1.186 GB, free: 65.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/3.056, allocations: 11.41 kB / 1.186 GB, free: 65.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/3.059, allocations: 310 kB / 1.186 GB, free: 65.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/3.06, allocations: 133.3 kB / 1.186 GB, free: 65.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/3.062, allocations: 0.8983 MB / 1.187 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/3.064, allocations: 46.39 kB / 1.187 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/3.064, allocations: 71.81 kB / 1.187 GB, free: 64.77 MB / 426.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.0003621/3.064, allocations: 158.1 kB / 1.187 GB, free: 64.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/3.065, allocations: 69.75 kB / 1.187 GB, free: 64.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/3.068, allocations: 0.6527 MB / 1.188 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/3.068, allocations: 6.094 kB / 1.188 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/3.068, allocations: 0 / 1.188 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/3.069, allocations: 0 / 1.188 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/3.073, allocations: 1.245 MB / 1.189 GB, free: 64.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/3.073, allocations: 9.938 kB / 1.189 GB, free: 64.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/3.075, allocations: 210.6 kB / 1.189 GB, free: 64.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/3.075, allocations: 23.58 kB / 1.189 GB, free: 64.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/3.076, allocations: 17.03 kB / 1.189 GB, free: 64.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/3.079, allocations: 2.692 MB / 1.192 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.289e-06/3.079, allocations: 6.125 kB / 1.192 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/3.082, allocations: 0.8392 MB / 1.193 GB, free: 61.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007417/3.082, allocations: 182.4 kB / 1.193 GB, free: 61.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/3.083, allocations: 11.66 kB / 1.193 GB, free: 61.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/3.084, allocations: 23.2 kB / 1.193 GB, free: 61.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/3.085, allocations: 41.59 kB / 1.193 GB, free: 61.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/3.085, allocations: 47.39 kB / 1.193 GB, free: 61.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001363/3.086, allocations: 404.2 kB / 1.193 GB, free: 60.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.404e-06/3.086, allocations: 0 / 1.193 GB, free: 60.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004005/3.09, allocations: 387 kB / 1.194 GB, free: 60.92 MB / 426.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 () * 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.004526/3.095, allocations: 1.049 MB / 1.195 GB, free: 60.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002487/3.097, allocations: 0.5373 MB / 1.195 GB, free: 60.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.888e-06/3.097, allocations: 3.531 kB / 1.195 GB, free: 60.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/3.099, allocations: 383 kB / 1.196 GB, free: 60.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/3.101, allocations: 313.2 kB / 1.196 GB, free: 60.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008462/3.109, allocations: 2.437 MB / 1.198 GB, free: 60.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/3.11, allocations: 0.9408 MB / 1.199 GB, free: 59.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/3.11, allocations: 107 kB / 1.199 GB, free: 59.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.801e-06/3.11, allocations: 6.344 kB / 1.199 GB, free: 59.49 MB / 426.7 MB Notification: Performance of Templates: time 0.03166/3.142, allocations: 20.61 MB / 1.22 GB, free: 57.77 MB / 426.7 MB