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.SimpleAir.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.SimpleAir,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.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 1.853/1.853, allocations: 209.3 MB / 224.8 MB, free: 1.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004465, allocations: 15.98 kB / 282.5 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.08577, allocations: 48.7 MB / 331.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4855/0.5713, allocations: 125.2 MB / 456.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009267/0.5807, allocations: 4.855 MB / 461.3 MB, free: 3.141 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009483/0.5816, allocations: 31.75 kB / 461.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.5827, allocations: 282.6 kB / 461.6 MB, free: 2.832 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.5852, allocations: 0.7133 MB / 462.3 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.5883, allocations: 0.8184 MB / 463.1 MB, free: 1.297 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.5903, allocations: 1.153 MB / 464.3 MB, free: 148 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007147/0.591, allocations: 386.1 kB / 464.6 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.5922, allocations: 0.5647 MB / 465.2 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009525/0.5932, allocations: 0.4985 MB / 465.7 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.5933, allocations: 32 kB / 465.7 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.5947, allocations: 459.5 kB / 466.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.5951, allocations: 215.4 kB / 466.4 MB, free: 14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.5953, allocations: 165.3 kB / 466.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.5966, allocations: 0.7981 MB / 467.4 MB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.66e-06/0.5966, allocations: 0 / 467.4 MB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.5966, allocations: 0 / 467.4 MB, free: 13.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.5966, allocations: 0 / 467.4 MB, free: 13.04 MB / 394.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.002172/0.5988, allocations: 0.9192 MB / 468.3 MB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5989, allocations: 12.03 kB / 468.3 MB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.5993, allocations: 91.09 kB / 468.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.6004, allocations: 0.5082 MB / 468.9 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.6006, allocations: 104.4 kB / 469 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.6007, allocations: 48 kB / 469 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.6025, allocations: 0.8032 MB / 469.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.6025, allocations: 4 kB / 469.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.864e-05/0.6027, allocations: 23.95 kB / 469.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.953e-05/0.6027, allocations: 48.3 kB / 469.9 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.6043, allocations: 0.6478 MB / 470.6 MB, free: 9.672 MB / 394.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.00613/0.6104, allocations: 3.951 MB / 474.5 MB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.6115, allocations: 415.7 kB / 474.9 MB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002705/0.6142, allocations: 1.675 MB / 476.6 MB, free: 3.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.6143, allocations: 42.5 kB / 476.6 MB, free: 3.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 4.236e-06/0.6143, allocations: 0 / 476.6 MB, free: 3.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.004021/0.6183, allocations: 1.447 MB / 478.1 MB, free: 1.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.6184, allocations: 136.3 kB / 478.2 MB, free: 1.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/0.6194, allocations: 0.5653 MB / 478.8 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.6194, allocations: 33.7 kB / 478.8 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.6198, allocations: 413.7 kB / 479.2 MB, free: 404 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.62, allocations: 161.8 kB / 479.4 MB, free: 240 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.6201, allocations: 8 kB / 479.4 MB, free: 232 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.6203, allocations: 342.8 kB / 479.7 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.6208, allocations: 205.9 kB / 479.9 MB, free: 15.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/0.6216, allocations: 0.5471 MB / 480.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.6223, allocations: 315.6 kB / 480.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.494e-06/0.6223, allocations: 0 / 480.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002114/0.6245, allocations: 0.8613 MB / 481.6 MB, free: 13.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.6245, allocations: 16.88 kB / 481.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.6245, allocations: 11.98 kB / 481.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.6262, allocations: 274.3 kB / 481.9 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.6268, allocations: 131.8 kB / 482.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.6281, allocations: 0.8495 MB / 482.9 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.6289, allocations: 47.91 kB / 483 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-05/0.629, allocations: 36 kB / 483 MB, free: 12.42 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 (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.000469/0.6294, allocations: 257.5 kB / 483.2 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.6296, allocations: 63.25 kB / 483.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.6313, allocations: 0.7363 MB / 484 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.6313, allocations: 4 kB / 484 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.805e-06/0.6314, allocations: 0 / 484 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.6314, allocations: 3.984 kB / 484.1 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.6341, allocations: 1.346 MB / 485.4 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.6341, allocations: 0 / 485.4 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.6354, allocations: 200 kB / 485.6 MB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/0.6356, allocations: 26.59 kB / 485.6 MB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.6356, allocations: 11.98 kB / 485.6 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/0.6385, allocations: 2.697 MB / 488.3 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.6385, allocations: 4.031 kB / 488.3 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.6404, allocations: 0.9461 MB / 489.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.6408, allocations: 208.2 kB / 489.5 MB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.641, allocations: 19.95 kB / 489.5 MB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.6415, allocations: 31.95 kB / 489.5 MB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.6416, allocations: 35.89 kB / 489.6 MB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.6417, allocations: 19.98 kB / 489.6 MB, free: 5.348 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006748/0.6424, allocations: 403 kB / 490 MB, free: 4.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.6424, allocations: 0 / 490 MB, free: 4.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001076/0.6435, allocations: 211.9 kB / 490.2 MB, free: 4.742 MB / 410.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.0006083/0.6441, allocations: 260.8 kB / 490.4 MB, free: 4.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.6458, allocations: 0.5765 MB / 491 MB, free: 3.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.6458, allocations: 0 / 491 MB, free: 3.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.6471, allocations: 432 kB / 491.4 MB, free: 3.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.6487, allocations: 295 kB / 491.7 MB, free: 3.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.6517, allocations: 1.642 MB / 493.4 MB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007747/0.6525, allocations: 0.9541 MB / 494.3 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.6528, allocations: 59.42 kB / 494.4 MB, free: 468 kB / 410.7 MB Notification: Performance of SimCode: time 1.676e-06/0.6528, allocations: 0 / 494.4 MB, free: 468 kB / 410.7 MB Notification: Performance of Templates: time 0.2956/0.9484, allocations: 14.79 MB / 0.4972 GB, free: 134 MB / 410.7 MB