Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.05/2.05, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004966, allocations: 12 kB / 264 MB, free: 3.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3209, allocations: 44.51 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.5339/0.8549, allocations: 125.9 MB / 434.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.8591, allocations: 2.517 MB / 437 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.8593, allocations: 0 / 437 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.8596, allocations: 51.3 kB / 437 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002766/0.8624, allocations: 0.6995 MB / 437.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.8632, allocations: 163.7 kB / 437.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.8636, allocations: 220.5 kB / 438.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.162e-05/0.8637, allocations: 13.41 kB / 438.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.8641, allocations: 157.5 kB / 438.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.8643, allocations: 82.02 kB / 438.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.8644, allocations: 8.906 kB / 438.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/0.8684, allocations: 1.089 MB / 439.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.8686, allocations: 70.05 kB / 439.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.8688, allocations: 63.52 kB / 439.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.8705, allocations: 0.5919 MB / 440.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8706, allocations: 0 / 440.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.8706, allocations: 0 / 440.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.8706, allocations: 0 / 440.2 MB, free: 14.48 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001058/0.8717, allocations: 0.4934 MB / 440.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.8717, allocations: 10.94 kB / 440.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.883e-05/0.8718, allocations: 50.66 kB / 440.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.8739, allocations: 206.1 kB / 440.9 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.8744, allocations: 232.5 kB / 441.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.8744, allocations: 19.34 kB / 441.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.8745, allocations: 22.84 kB / 441.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.8754, allocations: 379.8 kB / 441.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.8754, allocations: 0 / 441.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.8755, allocations: 9.875 kB / 441.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.8755, allocations: 8.859 kB / 441.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008472/0.8764, allocations: 406.1 kB / 442 MB, free: 13.72 MB / 362.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.002629/0.879, allocations: 0.8029 MB / 442.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.8796, allocations: 224.7 kB / 443 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/0.8816, allocations: 0.6828 MB / 443.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.8817, allocations: 40.2 kB / 443.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/0.8817, allocations: 3.938 kB / 443.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001937/0.8836, allocations: 357.2 kB / 444.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.8837, allocations: 88.73 kB / 444.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.8839, allocations: 117.9 kB / 444.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.884, allocations: 29.33 kB / 444.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.8841, allocations: 108.9 kB / 444.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.8842, allocations: 109.7 kB / 444.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.8842, allocations: 6.375 kB / 444.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.8844, allocations: 326.4 kB / 444.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.8847, allocations: 93.11 kB / 444.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.8851, allocations: 186.2 kB / 445.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.8855, allocations: 118.5 kB / 445.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8855, allocations: 2.344 kB / 445.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009727/0.8865, allocations: 350.5 kB / 445.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.8865, allocations: 7.156 kB / 445.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.8865, allocations: 2.781 kB / 445.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.8866, allocations: 4.969 kB / 445.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.8872, allocations: 73.66 kB / 445.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.8873, allocations: 4.438 kB / 445.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.8877, allocations: 28.69 kB / 445.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.8878, allocations: 24.14 kB / 445.7 MB, free: 11.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0002185/0.888, allocations: 146 kB / 445.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.8881, allocations: 19.69 kB / 445.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.8892, allocations: 323.2 kB / 446.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.8893, allocations: 1.688 kB / 446.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8893, allocations: 3.188 kB / 446.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.8893, allocations: 3.984 kB / 446.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.8902, allocations: 333.9 kB / 446.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8902, allocations: 0 / 446.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/0.8909, allocations: 56.97 kB / 446.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.8909, allocations: 6.078 kB / 446.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.891, allocations: 10.2 kB / 446.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.891, allocations: 2.844 kB / 446.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.891, allocations: 0 / 446.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.8921, allocations: 0.5 MB / 447.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.8923, allocations: 95.66 kB / 447.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.8923, allocations: 6.312 kB / 447.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.8929, allocations: 21.69 kB / 447.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.893, allocations: 14.23 kB / 447.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.235e-05/0.893, allocations: 21.22 kB / 447.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.419e-05/0.8931, allocations: 98.44 kB / 447.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/0.8931, allocations: 4 kB / 447.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001122/0.8943, allocations: 217.8 kB / 447.6 MB, free: 10.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * 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.002835/0.8971, allocations: 1.298 MB / 448.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007602/0.8979, allocations: 249 kB / 449.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.8979, allocations: 3.094 kB / 449.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.8983, allocations: 131.2 kB / 449.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.8992, allocations: 86.34 kB / 449.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.9029, allocations: 1.624 MB / 451 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.9034, allocations: 0.7332 MB / 451.7 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007087/0.9041, allocations: 71.14 kB / 451.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.9044, allocations: 62.64 kB / 451.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9044, allocations: 0 / 451.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.9432, allocations: 9.923 MB / 461.7 MB, free: 2.578 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003441/0.9437, allocations: 176 kB / 461.9 MB, free: 2.336 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/4.179, allocations: 0 / 461.9 MB, free: 2.336 MB / 362.7 MB