Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 194.9 MB / 211.1 MB, free: 8.574 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003468, allocations: 8 kB / 264 MB, free: 3.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2895, allocations: 44.52 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001753/0.2913, allocations: 1.039 MB / 309.6 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0403/0.3316, allocations: 20.47 MB / 330.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.3317, allocations: 0 / 330.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.3319, allocations: 3.938 kB / 330.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01902/0.3509, allocations: 4.208 MB / 334.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008167/0.3518, allocations: 203.5 kB / 334.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3519, allocations: 63.78 kB / 334.5 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.352, allocations: 0 / 334.5 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.3521, allocations: 35.91 kB / 334.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3522, allocations: 35.89 kB / 334.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3522, allocations: 4 kB / 334.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02213/0.3743, allocations: 7.787 MB / 342.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.3744, allocations: 15.92 kB / 342.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.3745, allocations: 33.7 kB / 342.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008274/0.3828, allocations: 2.764 MB / 345.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3828, allocations: 0 / 345.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3829, allocations: 0 / 345.2 MB, free: 8.035 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3829, allocations: 4 kB / 345.2 MB, free: 8.031 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003049/0.3859, allocations: 0.8927 MB / 346.1 MB, free: 7.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.386, allocations: 8.031 kB / 346.1 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.3861, allocations: 30.56 kB / 346.2 MB, free: 7.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.3861, allocations: 7.906 kB / 346.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.3864, allocations: 191 kB / 346.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.3864, allocations: 8 kB / 346.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3864, allocations: 3.938 kB / 346.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3867, allocations: 79.33 kB / 346.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3867, allocations: 0 / 346.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3867, allocations: 7.984 kB / 346.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3868, allocations: 0 / 346.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.387, allocations: 39.91 kB / 346.5 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.3873, allocations: 182.6 kB / 346.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.3878, allocations: 101.3 kB / 346.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/0.3879, allocations: 20.06 kB / 346.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.3879, allocations: 38.5 kB / 346.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.3879, allocations: 0 / 346.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005697/0.3885, allocations: 117.4 kB / 346.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.3886, allocations: 77.11 kB / 347 MB, free: 6.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3888, allocations: 134 kB / 347.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3888, allocations: 33.7 kB / 347.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.3889, allocations: 84.12 kB / 347.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.3889, allocations: 19.75 kB / 347.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.3889, allocations: 0 / 347.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3891, allocations: 322.8 kB / 347.6 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3892, allocations: 15.98 kB / 347.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3894, allocations: 33.7 kB / 347.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.3896, allocations: 19.98 kB / 347.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3896, allocations: 0 / 347.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003897/0.39, allocations: 93.48 kB / 347.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.39, allocations: 8 kB / 347.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.39, allocations: 0 / 347.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3901, allocations: 0 / 347.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3902, allocations: 19.95 kB / 347.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3902, allocations: 3.938 kB / 347.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.082e-05/0.3903, allocations: 7.984 kB / 347.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3904, allocations: 0 / 347.8 MB, free: 5.211 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.3905, allocations: 109.8 kB / 347.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.3905, allocations: 15.91 kB / 347.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.391, allocations: 105.9 kB / 348 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.391, allocations: 96 / 348 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.391, allocations: 11.88 kB / 348 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.391, allocations: 0 / 348 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.3912, allocations: 181.7 kB / 348.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3912, allocations: 0 / 348.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.3914, allocations: 15.98 kB / 348.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3914, allocations: 0 / 348.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3914, allocations: 4.375 kB / 348.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3914, allocations: 0 / 348.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.3915, allocations: 7.984 kB / 348.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.3918, allocations: 117.8 kB / 348.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.392, allocations: 100.9 kB / 348.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.392, allocations: 4 kB / 348.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3922, allocations: 7.984 kB / 348.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.3922, allocations: 8 kB / 348.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3922, allocations: 7.984 kB / 348.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.3924, allocations: 111.2 kB / 348.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3924, allocations: 0 / 348.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00344/0.3958, allocations: 0.9174 MB / 349.5 MB, free: 3.391 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007529/0.4034, allocations: 1.779 MB / 351.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.4039, allocations: 55.98 kB / 351.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4039, allocations: 4 kB / 351.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.4041, allocations: 31.91 kB / 351.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.4044, allocations: 11.98 kB / 351.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.4077, allocations: 0.959 MB / 352.3 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.4081, allocations: 0.6926 MB / 353 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.4082, allocations: 11.98 kB / 353 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.4083, allocations: 19.44 kB / 353.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4083, allocations: 0 / 353.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09652/0.5048, allocations: 30.73 MB / 383.8 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.5052, allocations: 223 kB / 384 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.324/4.829, allocations: 0 / 384 MB, free: 0.7305 MB / 314.7 MB