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_T.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_T,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 194.9 MB / 211.1 MB, free: 7.777 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 8 kB / 264.1 MB, free: 2.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 44.5 MB / 308.5 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001658/0.2883, allocations: 1.039 MB / 309.6 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.3059, allocations: 10.1 MB / 319.7 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.3061, allocations: 0 / 319.7 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.3061, allocations: 3.938 kB / 319.7 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.3099, allocations: 0.8451 MB / 320.5 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.312, allocations: 0.4907 MB / 321 MB, free: 152 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3121, allocations: 39.88 kB / 321.1 MB, free: 112 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.3122, allocations: 7.984 kB / 321.1 MB, free: 104 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.3123, allocations: 35.91 kB / 321.1 MB, free: 68 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.3124, allocations: 23.92 kB / 321.1 MB, free: 44 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3124, allocations: 4 kB / 321.1 MB, free: 40 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/0.3174, allocations: 1.502 MB / 322.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.3175, allocations: 7.984 kB / 322.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.448e-05/0.3175, allocations: 37.64 kB / 322.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.3198, allocations: 0.6675 MB / 323.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3199, allocations: 7.938 kB / 323.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3199, allocations: 0 / 323.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3199, allocations: 0 / 323.4 MB, free: 13.8 MB / 266.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.001133/0.3211, allocations: 0.5339 MB / 323.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3211, allocations: 8.031 kB / 323.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.3212, allocations: 30.56 kB / 323.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.3213, allocations: 23.84 kB / 324 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3215, allocations: 167.1 kB / 324.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3216, allocations: 4 kB / 324.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.3216, allocations: 4 kB / 324.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.3219, allocations: 79.3 kB / 324.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3219, allocations: 0 / 324.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3219, allocations: 0 / 324.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3219, allocations: 0 / 324.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.3222, allocations: 31.92 kB / 324.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.3224, allocations: 182.5 kB / 324.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.3229, allocations: 85.25 kB / 324.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.3335, allocations: 3.259 MB / 327.8 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.3336, allocations: 38.55 kB / 327.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/0.3336, allocations: 0 / 327.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005735/0.3342, allocations: 89.5 kB / 327.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.3343, allocations: 89.05 kB / 328 MB, free: 8.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3344, allocations: 113.8 kB / 328.1 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3345, allocations: 29.7 kB / 328.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.3345, allocations: 80.14 kB / 328.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.3346, allocations: 27.64 kB / 328.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.3346, allocations: 0 / 328.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3348, allocations: 322.8 kB / 328.5 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3349, allocations: 11.98 kB / 328.5 MB, free: 7.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.335, allocations: 33.7 kB / 328.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3352, allocations: 11.98 kB / 328.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3352, allocations: 0 / 328.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003376/0.3355, allocations: 73.61 kB / 328.7 MB, free: 7.809 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3356, allocations: 7.984 kB / 328.7 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3356, allocations: 0 / 328.7 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3356, allocations: 0 / 328.7 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3358, allocations: 16 kB / 328.7 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3358, allocations: 0 / 328.7 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.698e-05/0.3359, allocations: 3.984 kB / 328.7 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3359, allocations: 4.469 kB / 328.7 MB, free: 7.777 MB / 266.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.0001076/0.336, allocations: 117.8 kB / 328.8 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.3361, allocations: 7.906 kB / 328.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.3366, allocations: 129.5 kB / 328.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3366, allocations: 0 / 328.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3366, allocations: 0 / 328.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3366, allocations: 0 / 328.9 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.3368, allocations: 181.5 kB / 329.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3369, allocations: 0 / 329.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.337, allocations: 11.98 kB / 329.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.337, allocations: 4 kB / 329.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.337, allocations: 4 kB / 329.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.337, allocations: 0 / 329.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3371, allocations: 128 / 329.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.3374, allocations: 113.8 kB / 329.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.3375, allocations: 89 kB / 329.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3376, allocations: 8 kB / 329.3 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3377, allocations: 7.984 kB / 329.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.3378, allocations: 7.984 kB / 329.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3378, allocations: 4 kB / 329.4 MB, free: 7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.048e-05/0.3379, allocations: 91.27 kB / 329.5 MB, free: 6.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3379, allocations: 0 / 329.5 MB, free: 6.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00113/0.3391, allocations: 315.6 kB / 329.8 MB, free: 6.602 MB / 266.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.002395/0.3415, allocations: 1.109 MB / 330.9 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003425/0.3418, allocations: 43.95 kB / 330.9 MB, free: 5.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3419, allocations: 3.938 kB / 330.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.342, allocations: 19.92 kB / 330.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.3422, allocations: 8 kB / 330.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.344, allocations: 0.6519 MB / 331.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3444, allocations: 0.6888 MB / 332.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.3446, allocations: 48.28 kB / 332.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.3447, allocations: 27.42 kB / 332.4 MB, free: 3.895 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3447, allocations: 0 / 332.4 MB, free: 3.895 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04521/0.3899, allocations: 10.12 MB / 342.5 MB, free: 9.805 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/0.3903, allocations: 179.7 kB / 342.6 MB, free: 9.562 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/3.562, allocations: 0 / 342.6 MB, free: 9.562 MB / 282.7 MB