Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005694/0.0005696, allocations: 15.98 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1163, allocations: 44.5 MB / 308.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4295/0.5458, allocations: 148.6 MB / 456.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005739/0.5516, allocations: 3.264 MB / 460.2 MB, free: 3.395 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003751/0.552, allocations: 7.938 kB / 460.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.5527, allocations: 187.2 kB / 460.4 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.5534, allocations: 263.2 kB / 460.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0051/0.5585, allocations: 1.48 MB / 462.1 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.5595, allocations: 0.6288 MB / 462.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.5598, allocations: 101.6 kB / 462.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.5624, allocations: 0.9664 MB / 463.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.5629, allocations: 283.1 kB / 464.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.636e-05/0.563, allocations: 31.98 kB / 464.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006583/0.5696, allocations: 3.015 MB / 467.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.57, allocations: 183.6 kB / 467.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.5703, allocations: 125.5 kB / 467.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003002/0.5733, allocations: 1.551 MB / 469 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.12e-06/0.5733, allocations: 0 / 469 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.176e-06/0.5733, allocations: 4 kB / 469 MB, free: 10.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.5733, allocations: 3.938 kB / 469 MB, free: 10.56 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002068/0.5754, allocations: 0.924 MB / 469.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5755, allocations: 12.03 kB / 469.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.5759, allocations: 63.42 kB / 470 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006327/0.5765, allocations: 350.1 kB / 470.3 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.5766, allocations: 37 kB / 470.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.5767, allocations: 40 kB / 470.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.5779, allocations: 0.5022 MB / 470.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.5779, allocations: 7.984 kB / 470.9 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.55e-05/0.578, allocations: 20 kB / 470.9 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.5781, allocations: 8 kB / 471 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.5795, allocations: 0.6012 MB / 471.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/0.5837, allocations: 2.171 MB / 473.7 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.5853, allocations: 0.5594 MB / 474.3 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000752/0.5861, allocations: 0.6931 MB / 475 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.5861, allocations: 42.94 kB / 475 MB, free: 4.055 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.677e-06/0.5861, allocations: 0 / 475 MB, free: 4.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.01738/0.6035, allocations: 3.806 MB / 478.8 MB, free: 152 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.6036, allocations: 55.97 kB / 478.9 MB, free: 84 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.6041, allocations: 298.7 kB / 479.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/0.6042, allocations: 37.7 kB / 479.2 MB, free: 15.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.6044, allocations: 247.5 kB / 479.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.6047, allocations: 228.7 kB / 479.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.6047, allocations: 8 kB / 479.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.605, allocations: 338.8 kB / 480 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009654/0.6059, allocations: 317.1 kB / 480.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.607, allocations: 392.2 kB / 480.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.6084, allocations: 351.1 kB / 481 MB, free: 13.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.193e-06/0.6084, allocations: 4 kB / 481.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002953/0.6114, allocations: 0.9524 MB / 482 MB, free: 12.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.6114, allocations: 4 kB / 482 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.6114, allocations: 8.094 kB / 482 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.6135, allocations: 362.1 kB / 482.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.6142, allocations: 115.8 kB / 482.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/0.6192, allocations: 3.533 MB / 486 MB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.62, allocations: 71.86 kB / 486.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/0.6201, allocations: 24 kB / 486.1 MB, free: 8.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004189/0.6205, allocations: 197.6 kB / 486.3 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.6207, allocations: 43.53 kB / 486.3 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.6241, allocations: 1.044 MB / 487.4 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6241, allocations: 8 kB / 487.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.531e-06/0.6242, allocations: 0.75 kB / 487.4 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002808/0.627, allocations: 1.087 MB / 488.5 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004197/0.6312, allocations: 1.71 MB / 490.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.203e-06/0.6312, allocations: 0 / 490.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.632, allocations: 115.8 kB / 490.3 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/0.6343, allocations: 390.1 kB / 490.7 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.6344, allocations: 23.98 kB / 490.7 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.6363, allocations: 0.884 MB / 491.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.149e-06/0.6363, allocations: 4.031 kB / 491.6 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/0.6401, allocations: 1.36 MB / 493 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.6403, allocations: 120.7 kB / 493.1 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.6404, allocations: 16 kB / 493.1 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/0.6413, allocations: 67.83 kB / 493.2 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6414, allocations: 44.5 kB / 493.2 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.6415, allocations: 35.97 kB / 493.2 MB, free: 1.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003468/0.6419, allocations: 217.9 kB / 493.5 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.6419, allocations: 0 / 493.5 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001474/0.6434, allocations: 447.7 kB / 493.9 MB, free: 496 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/0.645, allocations: 0.5259 MB / 494.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.6477, allocations: 1.006 MB / 495.4 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.305e-06/0.6477, allocations: 0 / 495.4 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.649, allocations: 423.2 kB / 495.8 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.6506, allocations: 285.4 kB / 496.1 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.6544, allocations: 1.58 MB / 497.7 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/0.6551, allocations: 0.8687 MB / 498.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.6554, allocations: 63.41 kB / 498.6 MB, free: 11.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.522e-06/0.6554, allocations: 0 / 498.6 MB, free: 11.65 MB / 394.7 MB Notification: Performance of Templates: time 0.03031/0.6857, allocations: 17.3 MB / 0.5038 GB, free: 10.35 MB / 410.7 MB