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.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.8 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003651, allocations: 12 kB / 264 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.296, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0428/0.3388, allocations: 21.98 MB / 330.5 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.3425, allocations: 1.599 MB / 332.1 MB, free: 5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.3427, allocations: 4 kB / 332.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.343, allocations: 43.78 kB / 332.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.3435, allocations: 119.7 kB / 332.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01826/0.3618, allocations: 4.368 MB / 336.7 MB, free: 468 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.3622, allocations: 187.6 kB / 336.8 MB, free: 280 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.658e-05/0.3623, allocations: 13.12 kB / 336.9 MB, free: 264 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.3627, allocations: 131.7 kB / 337 MB, free: 132 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.3629, allocations: 91.72 kB / 337.1 MB, free: 40 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.363, allocations: 8 kB / 337.1 MB, free: 32 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.023/0.386, allocations: 8.209 MB / 345.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.3863, allocations: 59.86 kB / 345.4 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3864, allocations: 61.64 kB / 345.4 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008666/0.3951, allocations: 2.908 MB / 348.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.3951, allocations: 0 / 348.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3952, allocations: 3.938 kB / 348.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3952, allocations: 0 / 348.3 MB, free: 4.77 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00459/0.3998, allocations: 1.061 MB / 349.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.3998, allocations: 8.031 kB / 349.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.36e-05/0.3999, allocations: 50.55 kB / 349.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.4001, allocations: 19.81 kB / 349.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.4005, allocations: 214.8 kB / 349.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.4005, allocations: 16.28 kB / 349.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/0.4006, allocations: 16 kB / 349.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.4017, allocations: 261.5 kB / 350 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.4017, allocations: 0 / 350 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/0.4018, allocations: 15.94 kB / 350 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.4018, allocations: 4 kB / 350 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.4031, allocations: 287.6 kB / 350.3 MB, free: 2.723 MB / 282.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.00217/0.4053, allocations: 0.7971 MB / 351.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.4064, allocations: 310.3 kB / 351.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02168/0.4281, allocations: 10.43 MB / 361.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.4282, allocations: 46.45 kB / 361.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.597e-06/0.4282, allocations: 0 / 361.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.004719/0.433, allocations: 0.6847 MB / 362.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.4331, allocations: 88.98 kB / 362.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.4333, allocations: 121.8 kB / 362.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.4333, allocations: 33.7 kB / 362.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.4334, allocations: 112.8 kB / 362.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.4336, allocations: 122.2 kB / 363 MB, free: 3.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.4337, allocations: 8 kB / 363 MB, free: 3.824 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4338, allocations: 334.8 kB / 363.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.4345, allocations: 131.9 kB / 363.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008937/0.4355, allocations: 199.6 kB / 363.6 MB, free: 3.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.4363, allocations: 164 kB / 363.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4363, allocations: 0 / 363.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001965/0.4383, allocations: 409.1 kB / 364.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.4383, allocations: 4 kB / 364.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4384, allocations: 7.984 kB / 364.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.4384, allocations: 4 kB / 364.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.4393, allocations: 92.09 kB / 364.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.4394, allocations: 4 kB / 364.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.4399, allocations: 27.83 kB / 364.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.44, allocations: 19.98 kB / 364.4 MB, free: 2.414 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0002361/0.4403, allocations: 149.7 kB / 364.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.4405, allocations: 19.81 kB / 364.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007062/0.4412, allocations: 170.4 kB / 364.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.4412, allocations: 8 kB / 364.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4412, allocations: 0 / 364.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.4412, allocations: 3.984 kB / 364.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.4446, allocations: 0.9436 MB / 365.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.4447, allocations: 3.984 kB / 365.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/0.4455, allocations: 83.89 kB / 365.7 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.4456, allocations: 12.11 kB / 365.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.4456, allocations: 15.92 kB / 365.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.4457, allocations: 7.938 kB / 365.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4457, allocations: 0 / 365.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.4484, allocations: 0.7102 MB / 366.5 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.4487, allocations: 120.8 kB / 366.6 MB, free: 44 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.171e-05/0.4487, allocations: 15.95 kB / 366.6 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005973/0.4494, allocations: 23.89 kB / 366.6 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.685e-05/0.4495, allocations: 27.91 kB / 366.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.4495, allocations: 11.98 kB / 366.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.4496, allocations: 103.3 kB / 366.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4497, allocations: 0 / 366.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003608/0.4533, allocations: 0.9096 MB / 367.7 MB, free: 14.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 38 * 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.009401/0.4627, allocations: 2.308 MB / 370 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.4646, allocations: 336 kB / 370.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.4646, allocations: 4 kB / 370.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000839/0.4655, allocations: 178.2 kB / 370.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4665, allocations: 95.12 kB / 370.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/0.4735, allocations: 1.848 MB / 372.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.4739, allocations: 0.7452 MB / 373.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007901/0.4748, allocations: 81.89 kB / 373.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.4751, allocations: 67.41 kB / 373.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4751, allocations: 0 / 373.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.5965, allocations: 33.32 MB / 406.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003647/0.597, allocations: 225.1 kB / 406.9 MB, free: 7.562 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.315/4.912, allocations: 4 kB / 406.9 MB, free: 7.559 MB / 346.7 MB