Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000655/0.0006553, allocations: 16 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.36, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01925/0.3793, allocations: 11.69 MB / 343 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04292/0.4223, allocations: 22.28 MB / 365.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.4226, allocations: 7.938 kB / 365.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.4231, allocations: 75.64 kB / 365.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03201/0.4552, allocations: 6.662 MB / 372 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.4568, allocations: 315.2 kB / 372.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.468, allocations: 3.01 MB / 375.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.4682, allocations: 16.41 kB / 375.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.4695, allocations: 279 kB / 375.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04094/0.5105, allocations: 5.478 MB / 381.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.058e-05/0.5106, allocations: 8 kB / 381.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0591/0.5697, allocations: 11.23 MB / 392.3 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.57, allocations: 47.8 kB / 392.4 MB, free: 1.332 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002345/0.5703, allocations: 73.58 kB / 392.4 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01956/0.5898, allocations: 4.429 MB / 396.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5899, allocations: 0 / 396.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.59, allocations: 4 kB / 396.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.946e-06/0.59, allocations: 0 / 396.9 MB, free: 12.81 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009482/0.5995, allocations: 1.513 MB / 398.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.683e-05/0.5996, allocations: 12.03 kB / 398.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.5998, allocations: 70.53 kB / 398.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.603, allocations: 183.5 kB / 398.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.6038, allocations: 266.7 kB / 398.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-05/0.6039, allocations: 28.61 kB / 398.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.604, allocations: 31.94 kB / 399 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004678/0.6087, allocations: 0.7564 MB / 399.7 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.6088, allocations: 0 / 399.7 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.972e-05/0.6089, allocations: 16 kB / 399.7 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.6089, allocations: 12 kB / 399.7 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/0.6138, allocations: 0.8176 MB / 400.6 MB, free: 8.969 MB / 330.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.007352/0.6212, allocations: 2.715 MB / 403.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.6239, allocations: 346.3 kB / 403.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.961/1.585, allocations: 142 MB / 0.5329 GB, free: 84.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/1.587, allocations: 444.3 kB / 0.5333 GB, free: 84.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.387e-06/1.587, allocations: 0 / 0.5333 GB, free: 84.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.005096/1.592, allocations: 1.122 MB / 0.5344 GB, free: 82.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/1.592, allocations: 379.8 kB / 0.5347 GB, free: 82.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/1.592, allocations: 182.7 kB / 0.5349 GB, free: 82.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/1.592, allocations: 37.7 kB / 0.5349 GB, free: 82.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.592, allocations: 252.3 kB / 0.5352 GB, free: 82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/1.592, allocations: 113.3 kB / 0.5353 GB, free: 81.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/1.592, allocations: 11.94 kB / 0.5353 GB, free: 81.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/1.593, allocations: 334.8 kB / 0.5356 GB, free: 81.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/1.593, allocations: 73.08 kB / 0.5357 GB, free: 81.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/1.593, allocations: 341.6 kB / 0.536 GB, free: 81.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/1.593, allocations: 134.5 kB / 0.5362 GB, free: 80.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.593, allocations: 4 kB / 0.5362 GB, free: 80.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001139/1.595, allocations: 462.3 kB / 0.5366 GB, free: 80.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.595, allocations: 9.812 kB / 0.5366 GB, free: 80.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.595, allocations: 12 kB / 0.5366 GB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/1.595, allocations: 12 kB / 0.5366 GB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/1.597, allocations: 215.6 kB / 0.5368 GB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005054/1.598, allocations: 1.18 MB / 0.538 GB, free: 78.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/1.599, allocations: 27.84 kB / 0.538 GB, free: 78.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/1.599, allocations: 43.98 kB / 0.5381 GB, free: 78.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002403/1.599, allocations: 169.5 kB / 0.5382 GB, free: 78.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/1.599, allocations: 31.72 kB / 0.5382 GB, free: 78.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/1.603, allocations: 2.88 MB / 0.5411 GB, free: 75.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/1.603, allocations: 19.97 kB / 0.5411 GB, free: 75.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.603, allocations: 4.844 kB / 0.5411 GB, free: 75.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.603, allocations: 7.984 kB / 0.5411 GB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/1.604, allocations: 0.9673 MB / 0.542 GB, free: 74.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/1.604, allocations: 4 kB / 0.542 GB, free: 74.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009974/1.605, allocations: 100.3 kB / 0.5421 GB, free: 74.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003329/1.606, allocations: 173.8 kB / 0.5423 GB, free: 74.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/1.606, allocations: 11.98 kB / 0.5423 GB, free: 74.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003859/1.606, allocations: 0.6343 MB / 0.5429 GB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.606, allocations: 6.156 kB / 0.5429 GB, free: 73.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/1.608, allocations: 0.9677 MB / 0.5439 GB, free: 72.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/1.608, allocations: 358.8 kB / 0.5442 GB, free: 72.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/1.608, allocations: 15.95 kB / 0.5442 GB, free: 72.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006365/1.609, allocations: 19.98 kB / 0.5443 GB, free: 72.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/1.609, allocations: 31.91 kB / 0.5443 GB, free: 72.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/1.609, allocations: 16 kB / 0.5443 GB, free: 72.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007413/1.61, allocations: 463 kB / 0.5447 GB, free: 71.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.61, allocations: 4 kB / 0.5448 GB, free: 71.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005307/1.615, allocations: 1.604 MB / 0.5463 GB, free: 70.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.01267/1.628, allocations: 3.108 MB / 0.5494 GB, free: 67.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002225/1.63, allocations: 0.5245 MB / 0.5499 GB, free: 66.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.63, allocations: 0 / 0.5499 GB, free: 66.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/1.631, allocations: 357.6 kB / 0.5502 GB, free: 66.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.632, allocations: 121 kB / 0.5503 GB, free: 66.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/1.642, allocations: 4.537 MB / 0.5548 GB, free: 61.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/1.642, allocations: 1.002 MB / 0.5557 GB, free: 60.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/1.643, allocations: 319.3 kB / 0.556 GB, free: 60.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/1.643, allocations: 3.938 kB / 0.556 GB, free: 60.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.144/5.787, allocations: 43.71 MB / 0.5987 GB, free: 16.85 MB / 410.7 MB