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_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.198/2.198, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004451, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3596, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01931/0.379, allocations: 11.69 MB / 343 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04183/0.4209, allocations: 22.29 MB / 365.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003253/0.4212, allocations: 4 kB / 365.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.4217, allocations: 71.62 kB / 365.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03157/0.4533, allocations: 6.659 MB / 372 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.4548, allocations: 307.3 kB / 372.3 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009014/0.4638, allocations: 3.014 MB / 375.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.464, allocations: 16.41 kB / 375.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009292/0.4649, allocations: 275 kB / 375.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01564/0.4806, allocations: 5.482 MB / 381.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.4807, allocations: 8 kB / 381.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03238/0.5131, allocations: 10.53 MB / 391.6 MB, free: 2.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.5133, allocations: 39.83 kB / 391.6 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.5135, allocations: 77.58 kB / 391.7 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.5269, allocations: 4.163 MB / 395.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.527, allocations: 0 / 395.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.527, allocations: 0 / 395.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.527, allocations: 0 / 395.9 MB, free: 13.78 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.006378/0.5334, allocations: 1.459 MB / 397.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.5335, allocations: 12.03 kB / 397.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.5336, allocations: 74.47 kB / 397.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.536, allocations: 223.5 kB / 397.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.5365, allocations: 266.8 kB / 397.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.5366, allocations: 28.55 kB / 397.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.5367, allocations: 35.94 kB / 398 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003676/0.5404, allocations: 0.8327 MB / 398.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.5404, allocations: 3.984 kB / 398.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.5405, allocations: 12 kB / 398.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5405, allocations: 12 kB / 398.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00408/0.5446, allocations: 0.9582 MB / 399.8 MB, free: 9.734 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.005502/0.5502, allocations: 2.586 MB / 402.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.5523, allocations: 378.1 kB / 402.7 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329/1.881, allocations: 226.6 MB / 0.6146 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002063/1.883, allocations: 470.2 kB / 0.6151 GB, free: 10.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.915e-06/1.883, allocations: 0 / 0.6151 GB, free: 10.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.004464/1.888, allocations: 0.781 MB / 0.6158 GB, free: 9.492 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/1.888, allocations: 371.8 kB / 0.6162 GB, free: 9.043 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/1.888, allocations: 182.1 kB / 0.6163 GB, free: 8.859 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/1.888, allocations: 33.7 kB / 0.6164 GB, free: 8.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/1.888, allocations: 260.8 kB / 0.6166 GB, free: 8.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.889, allocations: 110.9 kB / 0.6167 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/1.889, allocations: 12 kB / 0.6167 GB, free: 8.449 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/1.889, allocations: 330.8 kB / 0.6171 GB, free: 8.117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/1.889, allocations: 84.98 kB / 0.6171 GB, free: 8.035 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/1.89, allocations: 344.5 kB / 0.6175 GB, free: 7.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/1.89, allocations: 127.8 kB / 0.6176 GB, free: 7.445 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/1.89, allocations: 4 kB / 0.6176 GB, free: 7.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001449/1.892, allocations: 469.4 kB / 0.618 GB, free: 6.977 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/1.892, allocations: 11 kB / 0.6181 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/1.892, allocations: 15.98 kB / 0.6181 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/1.892, allocations: 12 kB / 0.6181 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/1.893, allocations: 139.7 kB / 0.6182 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.739e-05/1.893, allocations: 19.92 kB / 0.6182 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/1.893, allocations: 56 kB / 0.6183 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.893, allocations: 43.97 kB / 0.6183 GB, free: 6.688 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * 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.0002594/1.894, allocations: 161.6 kB / 0.6185 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/1.894, allocations: 27.72 kB / 0.6185 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005169/1.899, allocations: 2.651 MB / 0.6211 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.454e-05/1.899, allocations: 15.98 kB / 0.6211 GB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/1.899, allocations: 10.23 kB / 0.6211 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.899, allocations: 4.375 kB / 0.6211 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/1.901, allocations: 0.9408 MB / 0.622 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/1.901, allocations: 0 / 0.622 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/1.901, allocations: 71.88 kB / 0.6221 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/1.901, allocations: 7.938 kB / 0.6221 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/1.902, allocations: 15.98 kB / 0.6221 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/1.902, allocations: 7.938 kB / 0.6221 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.902, allocations: 4 kB / 0.6221 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.903, allocations: 0.6978 MB / 0.6228 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/1.904, allocations: 378.7 kB / 0.6232 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/1.904, allocations: 11.98 kB / 0.6232 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/1.904, allocations: 23.98 kB / 0.6232 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/1.905, allocations: 31.91 kB / 0.6233 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/1.905, allocations: 15.95 kB / 0.6233 GB, free: 1.488 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009695/1.906, allocations: 0.4962 MB / 0.6238 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.906, allocations: 3.844 kB / 0.6238 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.2771/2.183, allocations: 1.502 MB / 0.6252 GB, free: 156.1 MB / 426.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: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01693/2.2, allocations: 2.848 MB / 0.628 GB, free: 155.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001681/2.201, allocations: 407 kB / 0.6284 GB, free: 155.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.201, allocations: 3.031 kB / 0.6284 GB, free: 155.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008554/2.202, allocations: 277.4 kB / 0.6287 GB, free: 155.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/2.204, allocations: 128.4 kB / 0.6288 GB, free: 155.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/2.22, allocations: 4.546 MB / 0.6332 GB, free: 153 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/2.221, allocations: 1.004 MB / 0.6342 GB, free: 152.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/2.221, allocations: 326.5 kB / 0.6345 GB, free: 152.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.193e-06/2.221, allocations: 0 / 0.6345 GB, free: 152.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.927/6.149, allocations: 38.92 MB / 0.6725 GB, free: 119 MB / 426.7 MB