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.DryAirNasa.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.DryAirNasa,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.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 234.9 MB / 250.5 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004269, allocations: 12 kB / 314.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3072, allocations: 54.86 MB / 369.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5669/0.8742, allocations: 141.8 MB / 0.499 GB, free: 2.871 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.8867, allocations: 8.723 MB / 0.5075 GB, free: 2.785 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008293/0.8876, allocations: 20 kB / 0.5075 GB, free: 2.785 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008078/0.8884, allocations: 277.8 kB / 0.5078 GB, free: 2.785 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.8922, allocations: 1.176 MB / 0.5089 GB, free: 2.766 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00306/0.8953, allocations: 0.9073 MB / 0.5098 GB, free: 2.734 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.897, allocations: 1.17 MB / 0.511 GB, free: 2.727 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005936/0.8976, allocations: 391 kB / 0.5113 GB, free: 2.688 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.8992, allocations: 0.7372 MB / 0.512 GB, free: 2.684 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/0.8999, allocations: 459.5 kB / 0.5125 GB, free: 2.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.9, allocations: 30.88 kB / 0.5125 GB, free: 2.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.9018, allocations: 0.6328 MB / 0.5131 GB, free: 2.676 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.902, allocations: 217.2 kB / 0.5133 GB, free: 2.676 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.9024, allocations: 169.1 kB / 0.5135 GB, free: 18.64 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.9038, allocations: 0.9798 MB / 0.5145 GB, free: 18.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.798e-06/0.9038, allocations: 0 / 0.5145 GB, free: 18.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.9038, allocations: 2.938 kB / 0.5145 GB, free: 18.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.9038, allocations: 0 / 0.5145 GB, free: 18.57 MB / 442.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.002134/0.906, allocations: 0.9921 MB / 0.5154 GB, free: 17.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.906, allocations: 8.156 kB / 0.5154 GB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000978/0.907, allocations: 131.4 kB / 0.5156 GB, free: 17.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.9079, allocations: 496.8 kB / 0.516 GB, free: 17.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.9081, allocations: 104.5 kB / 0.5161 GB, free: 17.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.9082, allocations: 52.16 kB / 0.5162 GB, free: 17.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.9096, allocations: 0.8114 MB / 0.517 GB, free: 17.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.9096, allocations: 4.594 kB / 0.517 GB, free: 17.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.403e-05/0.9097, allocations: 22.05 kB / 0.517 GB, free: 17.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/0.9098, allocations: 43.44 kB / 0.517 GB, free: 17.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.9111, allocations: 0.6265 MB / 0.5177 GB, free: 17.38 MB / 442.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.005305/0.9164, allocations: 3.922 MB / 0.5215 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.9172, allocations: 351.5 kB / 0.5218 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.209e-05/0.9173, allocations: 29.16 kB / 0.5218 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.9173, allocations: 37.16 kB / 0.5219 GB, free: 14.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.335e-06/0.9173, allocations: 2.906 kB / 0.5219 GB, free: 14.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.006026/0.9234, allocations: 1.63 MB / 0.5235 GB, free: 14.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/0.9235, allocations: 139 kB / 0.5236 GB, free: 14.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007988/0.9243, allocations: 0.5953 MB / 0.5242 GB, free: 13.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.9244, allocations: 34.7 kB / 0.5242 GB, free: 13.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.9247, allocations: 408.8 kB / 0.5246 GB, free: 13.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.9248, allocations: 144.8 kB / 0.5248 GB, free: 13.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.9249, allocations: 14.19 kB / 0.5248 GB, free: 13.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.9251, allocations: 345.5 kB / 0.5251 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.9255, allocations: 199.9 kB / 0.5253 GB, free: 13.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.9261, allocations: 0.5376 MB / 0.5258 GB, free: 12.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.9267, allocations: 296.5 kB / 0.5261 GB, free: 12.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.883e-06/0.9267, allocations: 9.656 kB / 0.5261 GB, free: 12.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001816/0.9285, allocations: 0.8496 MB / 0.5269 GB, free: 12.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.9286, allocations: 11.66 kB / 0.5269 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.9286, allocations: 10.97 kB / 0.527 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.9302, allocations: 310.7 kB / 0.5273 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.9307, allocations: 133.7 kB / 0.5274 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.932, allocations: 0.9041 MB / 0.5283 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.9327, allocations: 42.41 kB / 0.5283 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.9328, allocations: 65 kB / 0.5284 GB, free: 12.1 MB / 442.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.0004244/0.9333, allocations: 255.1 kB / 0.5286 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.9334, allocations: 68.94 kB / 0.5287 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.9353, allocations: 0.6786 MB / 0.5293 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.528e-06/0.9353, allocations: 2.656 kB / 0.5293 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.108e-06/0.9354, allocations: 2.812 kB / 0.5293 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.685e-06/0.9354, allocations: 3.094 kB / 0.5293 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.9376, allocations: 1.271 MB / 0.5306 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.9376, allocations: 0 / 0.5306 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.9389, allocations: 207.1 kB / 0.5308 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.939, allocations: 26.86 kB / 0.5308 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.9391, allocations: 24.53 kB / 0.5308 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.9417, allocations: 2.693 MB / 0.5335 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.761e-06/0.9418, allocations: 6.359 kB / 0.5335 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.9433, allocations: 0.7922 MB / 0.5342 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.9437, allocations: 178.7 kB / 0.5344 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.9438, allocations: 20.58 kB / 0.5344 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.9444, allocations: 23.69 kB / 0.5345 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.9445, allocations: 36.53 kB / 0.5345 GB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.424e-05/0.9446, allocations: 44.62 kB / 0.5345 GB, free: 8.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006352/0.9452, allocations: 415.5 kB / 0.5349 GB, free: 8.297 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.9453, allocations: 5.969 kB / 0.5349 GB, free: 8.293 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001265/0.9465, allocations: 294.3 kB / 0.5352 GB, free: 8.273 MB / 442.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.0011/0.9476, allocations: 378.2 kB / 0.5356 GB, free: 8.129 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.949, allocations: 0.5473 MB / 0.5361 GB, free: 8.117 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.798e-06/0.949, allocations: 7.375 kB / 0.5361 GB, free: 8.113 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.9501, allocations: 394.4 kB / 0.5365 GB, free: 8.004 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.9518, allocations: 311 kB / 0.5368 GB, free: 7.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.9545, allocations: 1.605 MB / 0.5384 GB, free: 7.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.9552, allocations: 0.9485 MB / 0.5393 GB, free: 6.469 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.9558, allocations: 112.3 kB / 0.5394 GB, free: 6.449 MB / 442.7 MB Notification: Performance of SimCode: time 1.62e-06/0.9558, allocations: 0 / 0.5394 GB, free: 6.449 MB / 442.7 MB Notification: Performance of Templates: time 0.02987/0.9857, allocations: 16.73 MB / 0.5557 GB, free: 14.66 MB / 458.7 MB