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.IdealGasN2.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.IdealGasN2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.00037, allocations: 16 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3002, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.549/0.8492, allocations: 125.5 MB / 434.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.8507, allocations: 0.82 MB / 434.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.8508, allocations: 4 kB / 434.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.8511, allocations: 25.48 kB / 434.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007279/0.8518, allocations: 205.6 kB / 435.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.8523, allocations: 96.81 kB / 435.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.8525, allocations: 109.5 kB / 435.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.8526, allocations: 5.438 kB / 435.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.8528, allocations: 88.03 kB / 435.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.853, allocations: 43.56 kB / 435.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.853, allocations: 2.812 kB / 435.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008003/0.8538, allocations: 284.4 kB / 435.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.8539, allocations: 27.11 kB / 435.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.8539, allocations: 36.73 kB / 435.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.8544, allocations: 200.2 kB / 436 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.8544, allocations: 0 / 436 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.8544, allocations: 0 / 436 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.8544, allocations: 0 / 436 MB, free: 14.73 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005641/0.855, allocations: 381.3 kB / 436.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.855, allocations: 11.08 kB / 436.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.8551, allocations: 45.47 kB / 436.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.8584, allocations: 189.4 kB / 436.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.8587, allocations: 202.3 kB / 436.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.8587, allocations: 5.719 kB / 436.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.8588, allocations: 5.375 kB / 436.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/0.8596, allocations: 239.7 kB / 437.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.8596, allocations: 3.953 kB / 437.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.8597, allocations: 2.844 kB / 437.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.8597, allocations: 0 / 437.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.8604, allocations: 169.1 kB / 437.2 MB, free: 14.03 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.001436/0.8618, allocations: 0.5762 MB / 437.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.8623, allocations: 141 kB / 437.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.8624, allocations: 5.516 kB / 437.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.8624, allocations: 38.31 kB / 438 MB, free: 13.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.385e-06/0.8624, allocations: 4 kB / 438 MB, free: 13.5 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.00851/0.8709, allocations: 1.3 MB / 439.3 MB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.871, allocations: 51.41 kB / 439.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.8711, allocations: 115.9 kB / 439.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.8712, allocations: 29.86 kB / 439.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.8713, allocations: 95.83 kB / 439.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.8714, allocations: 65.78 kB / 439.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.8714, allocations: 5.781 kB / 439.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.8716, allocations: 324.7 kB / 440 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.8718, allocations: 65.64 kB / 440 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.8721, allocations: 106.2 kB / 440.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.8724, allocations: 78.44 kB / 440.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8724, allocations: 0 / 440.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007363/0.8731, allocations: 257.2 kB / 440.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8732, allocations: 4.844 kB / 440.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8732, allocations: 6.781 kB / 440.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.8734, allocations: 48.69 kB / 440.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.8741, allocations: 56.12 kB / 440.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005782/0.8747, allocations: 0.5628 MB / 441.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.875, allocations: 14.19 kB / 441.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.8751, allocations: 27.38 kB / 441.2 MB, free: 11.72 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.000177/0.8752, allocations: 130 kB / 441.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.8753, allocations: 6.969 kB / 441.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.8767, allocations: 349.9 kB / 441.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.8767, allocations: 4.594 kB / 441.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.8767, allocations: 6.5 kB / 441.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.8767, allocations: 2.734 kB / 441.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.8782, allocations: 0.6271 MB / 442.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.8782, allocations: 2.656 kB / 442.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/0.8788, allocations: 62.89 kB / 442.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.8789, allocations: 23.58 kB / 442.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.879, allocations: 11.66 kB / 442.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.8802, allocations: 1.266 MB / 443.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8802, allocations: 2.781 kB / 443.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.8813, allocations: 439.2 kB / 444.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.8814, allocations: 87.7 kB / 444.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.8814, allocations: 2.469 kB / 444.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.8818, allocations: 10.47 kB / 444.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.8819, allocations: 30.88 kB / 444.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.882, allocations: 31.05 kB / 444.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.882, allocations: 85.81 kB / 444.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8821, allocations: 4.062 kB / 444.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006054/0.8827, allocations: 79.61 kB / 444.4 MB, free: 9.512 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 (21): * Single equations (assignments): 20 * 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.001717/0.8844, allocations: 1.009 MB / 445.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007058/0.8851, allocations: 199.3 kB / 445.6 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8851, allocations: 3.938 kB / 445.6 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.8856, allocations: 225.5 kB / 445.8 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.8862, allocations: 42.16 kB / 445.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.8887, allocations: 1.094 MB / 447 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.8891, allocations: 0.7159 MB / 447.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007569/0.8899, allocations: 75.41 kB / 447.8 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.8903, allocations: 75.08 kB / 447.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.8903, allocations: 0 / 447.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.922, allocations: 6.851 MB / 454.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/0.9223, allocations: 219.2 kB / 454.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/3.866, allocations: 4 kB / 454.9 MB, free: 3.605 MB / 362.7 MB