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.IdealGasN2Mix.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.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 194.9 MB / 211.1 MB, free: 8.465 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003628, allocations: 8 kB / 264 MB, free: 3.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3041, allocations: 44.52 MB / 308.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.5459/0.8501, allocations: 125.7 MB / 434.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.8523, allocations: 1.235 MB / 435.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.8524, allocations: 2.875 kB / 435.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.8527, allocations: 38.39 kB / 435.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009315/0.8536, allocations: 278.2 kB / 435.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.8542, allocations: 132.5 kB / 435.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.8544, allocations: 118.7 kB / 436 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.8545, allocations: 7.547 kB / 436 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.8547, allocations: 79.28 kB / 436.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.8548, allocations: 45.31 kB / 436.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.8549, allocations: 6.844 kB / 436.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.8561, allocations: 435 kB / 436.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.8562, allocations: 32.61 kB / 436.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.8563, allocations: 42.33 kB / 436.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.8568, allocations: 254.5 kB / 436.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.8569, allocations: 0 / 436.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.8569, allocations: 0 / 436.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.8569, allocations: 0 / 436.9 MB, free: 14.65 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006295/0.8575, allocations: 398.9 kB / 437.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.8576, allocations: 16.16 kB / 437.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.8577, allocations: 45.17 kB / 437.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.8613, allocations: 197.6 kB / 437.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.8617, allocations: 205.4 kB / 437.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.8617, allocations: 7.562 kB / 437.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.8618, allocations: 11 kB / 437.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.8625, allocations: 207.9 kB / 437.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.8625, allocations: 0 / 437.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.8626, allocations: 6.281 kB / 438 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.8626, allocations: 0 / 438 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009729/0.8636, allocations: 244.4 kB / 438.2 MB, free: 13.96 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.002715/0.8663, allocations: 0.6755 MB / 438.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/0.867, allocations: 184.7 kB / 439 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.8673, allocations: 92.73 kB / 439.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.8673, allocations: 36.44 kB / 439.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.685e-06/0.8674, allocations: 4 kB / 439.2 MB, free: 13.41 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009653/0.877, allocations: 1.532 MB / 440.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.8771, allocations: 57.36 kB / 440.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.8772, allocations: 115.9 kB / 440.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.8773, allocations: 25.7 kB / 440.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.8773, allocations: 99.92 kB / 441 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.8774, allocations: 70.31 kB / 441.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.8775, allocations: 8.719 kB / 441.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8776, allocations: 320.2 kB / 441.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.878, allocations: 91.84 kB / 441.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003746/0.8784, allocations: 126 kB / 441.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.8788, allocations: 96.91 kB / 441.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8788, allocations: 2.781 kB / 441.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009847/0.8798, allocations: 278.8 kB / 442 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8798, allocations: 8.031 kB / 442 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.8798, allocations: 2.156 kB / 442 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.88, allocations: 21.69 kB / 442 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.8808, allocations: 59.42 kB / 442.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000468/0.8813, allocations: 0.5415 MB / 442.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.8819, allocations: 13.11 kB / 442.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.8819, allocations: 9.891 kB / 442.6 MB, free: 11.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.8821, allocations: 122 kB / 442.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.8822, allocations: 16.47 kB / 442.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.8835, allocations: 307.9 kB / 443.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8835, allocations: 4 kB / 443.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.8835, allocations: 6.422 kB / 443.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.8835, allocations: 2.203 kB / 443.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.8852, allocations: 0.6695 MB / 443.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.8852, allocations: 4.812 kB / 443.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008179/0.886, allocations: 54.44 kB / 443.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.8862, allocations: 28.28 kB / 443.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.8862, allocations: 7.062 kB / 443.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.8875, allocations: 1.271 MB / 445.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.8876, allocations: 11.11 kB / 445.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.8889, allocations: 453.8 kB / 445.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.889, allocations: 90.03 kB / 445.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.8891, allocations: 9.438 kB / 445.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005899/0.8897, allocations: 10.28 kB / 445.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.8897, allocations: 25.52 kB / 445.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.8898, allocations: 14.59 kB / 445.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.672e-05/0.8899, allocations: 84.2 kB / 445.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8899, allocations: 0 / 445.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007216/0.8906, allocations: 129 kB / 445.9 MB, free: 9.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002512/0.8931, allocations: 1.113 MB / 447 MB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009621/0.8941, allocations: 228.8 kB / 447.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8941, allocations: 0 / 447.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006112/0.8948, allocations: 236.1 kB / 447.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.8954, allocations: 49.88 kB / 447.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.8985, allocations: 1.159 MB / 448.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.8989, allocations: 0.712 MB / 449.4 MB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007539/0.8996, allocations: 57.36 kB / 449.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.8999, allocations: 37.08 kB / 449.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8999, allocations: 0 / 449.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.9364, allocations: 7.557 MB / 457.1 MB, free: 2.969 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003705/0.9369, allocations: 202.8 kB / 457.3 MB, free: 2.734 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/3.848, allocations: 2.844 kB / 457.3 MB, free: 2.734 MB / 362.7 MB