Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004478, allocations: 8 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3993, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02692/0.4263, allocations: 11.74 MB / 381 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04217/0.4685, allocations: 22.4 MB / 403.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.4688, allocations: 0 / 403.4 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.4693, allocations: 75.62 kB / 403.5 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02879/0.4981, allocations: 6.716 MB / 410.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.4995, allocations: 315.2 kB / 410.5 MB, free: 1.355 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008424/0.5079, allocations: 3.045 MB / 413.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.508, allocations: 20.41 kB / 413.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008314/0.5089, allocations: 275 kB / 413.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01498/0.5239, allocations: 5.548 MB / 419.4 MB, free: 8.473 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.688e-05/0.524, allocations: 12 kB / 419.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03043/0.5545, allocations: 10.69 MB / 430.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.5547, allocations: 55.8 kB / 430.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.5548, allocations: 73.58 kB / 430.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.5671, allocations: 4.202 MB / 434.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5672, allocations: 0 / 434.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5672, allocations: 0 / 434.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.5672, allocations: 0 / 434.4 MB, free: 9.418 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.006185/0.5734, allocations: 1.482 MB / 435.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5735, allocations: 12.03 kB / 435.9 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.5736, allocations: 66.53 kB / 436 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.576, allocations: 239.3 kB / 436.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.5766, allocations: 262.7 kB / 436.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.5767, allocations: 24.66 kB / 436.5 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.5768, allocations: 28 kB / 436.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003758/0.5806, allocations: 0.8327 MB / 437.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5807, allocations: 0 / 437.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/0.5807, allocations: 20 kB / 437.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.5808, allocations: 11.98 kB / 437.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003985/0.5848, allocations: 0.9503 MB / 438.3 MB, free: 5.355 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.005218/0.59, allocations: 2.578 MB / 440.9 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.5921, allocations: 387.3 kB / 441.3 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7/2.293, allocations: 227.1 MB / 0.6527 GB, free: 186 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002015/2.295, allocations: 466.1 kB / 0.6532 GB, free: 185.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 3.877e-06/2.295, allocations: 0.6875 kB / 0.6532 GB, free: 185.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.004574/2.299, allocations: 0.7845 MB / 0.6539 GB, free: 185.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/2.3, allocations: 370 kB / 0.6543 GB, free: 185.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/2.3, allocations: 184.2 kB / 0.6545 GB, free: 185.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.356e-05/2.3, allocations: 33.48 kB / 0.6545 GB, free: 185.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/2.3, allocations: 254.9 kB / 0.6547 GB, free: 184.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/2.3, allocations: 117.1 kB / 0.6549 GB, free: 184.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/2.3, allocations: 8 kB / 0.6549 GB, free: 184.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/2.3, allocations: 333.9 kB / 0.6552 GB, free: 184.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/2.301, allocations: 81.58 kB / 0.6553 GB, free: 184.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/2.301, allocations: 345.3 kB / 0.6556 GB, free: 184.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/2.302, allocations: 127.9 kB / 0.6557 GB, free: 184.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/2.302, allocations: 0 / 0.6557 GB, free: 184.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001424/2.303, allocations: 475.7 kB / 0.6562 GB, free: 183.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/2.303, allocations: 7.125 kB / 0.6562 GB, free: 183.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/2.303, allocations: 13.75 kB / 0.6562 GB, free: 183.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/2.303, allocations: 11.78 kB / 0.6562 GB, free: 183.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/2.304, allocations: 140.3 kB / 0.6563 GB, free: 183.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/2.304, allocations: 15.75 kB / 0.6563 GB, free: 183.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/2.304, allocations: 50.7 kB / 0.6564 GB, free: 183.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/2.305, allocations: 45.53 kB / 0.6564 GB, free: 183.8 MB / 490.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.0002795/2.305, allocations: 172.1 kB / 0.6566 GB, free: 183.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/2.305, allocations: 27.41 kB / 0.6566 GB, free: 183.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/2.309, allocations: 2.654 MB / 0.6592 GB, free: 182.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/2.309, allocations: 19.78 kB / 0.6592 GB, free: 182.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/2.309, allocations: 3.906 kB / 0.6592 GB, free: 182.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/2.309, allocations: 3.969 kB / 0.6592 GB, free: 182.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/2.311, allocations: 0.937 MB / 0.6602 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/2.311, allocations: 2.234 kB / 0.6602 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/2.311, allocations: 78.39 kB / 0.6602 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/2.311, allocations: 7.781 kB / 0.6602 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/2.311, allocations: 7.812 kB / 0.6602 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/2.311, allocations: 3.875 kB / 0.6603 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/2.311, allocations: 7.906 kB / 0.6603 GB, free: 181.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/2.313, allocations: 0.7012 MB / 0.6609 GB, free: 180.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/2.313, allocations: 374 kB / 0.6613 GB, free: 180.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/2.313, allocations: 15.75 kB / 0.6613 GB, free: 180.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/2.314, allocations: 31.64 kB / 0.6613 GB, free: 180.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/2.314, allocations: 39.66 kB / 0.6614 GB, free: 180.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/2.314, allocations: 15.78 kB / 0.6614 GB, free: 180.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008425/2.315, allocations: 0.4937 MB / 0.6619 GB, free: 180.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.91e-07/2.315, allocations: 1.641 kB / 0.6619 GB, free: 180.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005093/2.32, allocations: 1.518 MB / 0.6634 GB, free: 180 MB / 490.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.01204/2.332, allocations: 2.852 MB / 0.6662 GB, free: 177.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/2.333, allocations: 409.4 kB / 0.6665 GB, free: 176.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/2.333, allocations: 0 / 0.6665 GB, free: 176.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005376/2.334, allocations: 277.3 kB / 0.6668 GB, free: 176.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/2.335, allocations: 140.2 kB / 0.6669 GB, free: 176.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009957/2.345, allocations: 4.541 MB / 0.6714 GB, free: 172 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/2.346, allocations: 1.005 MB / 0.6724 GB, free: 171 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/2.346, allocations: 325.3 kB / 0.6727 GB, free: 170.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/2.346, allocations: 0 / 0.6727 GB, free: 170.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.709/6.055, allocations: 39.18 MB / 0.7109 GB, free: 131.4 MB / 490.7 MB