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_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.398/2.398, allocations: 234.9 MB / 250.5 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.000431, allocations: 16 kB / 314.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3646, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02102/0.3857, allocations: 11.75 MB / 381 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04148/0.4272, allocations: 22.4 MB / 403.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.4275, allocations: 0 / 403.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.428, allocations: 75.62 kB / 403.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02895/0.457, allocations: 6.716 MB / 410.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.4583, allocations: 311.3 kB / 410.5 MB, free: 3.414 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008336/0.4667, allocations: 3.049 MB / 413.6 MB, free: 372 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.4668, allocations: 16.41 kB / 413.6 MB, free: 360 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008071/0.4676, allocations: 287 kB / 413.9 MB, free: 72 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01508/0.4827, allocations: 5.536 MB / 419.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.4829, allocations: 8 kB / 419.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03262/0.5155, allocations: 11.44 MB / 430.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.5157, allocations: 47.81 kB / 430.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.5159, allocations: 81.58 kB / 431 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.5295, allocations: 4.491 MB / 435.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5296, allocations: 0 / 435.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5296, allocations: 0 / 435.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.5296, allocations: 0 / 435.5 MB, free: 10.44 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.006347/0.536, allocations: 1.542 MB / 437 MB, free: 8.844 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.5361, allocations: 8.031 kB / 437 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.5362, allocations: 78.47 kB / 437.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.5382, allocations: 195.4 kB / 437.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.5387, allocations: 266.6 kB / 437.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.5388, allocations: 24.66 kB / 437.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.5388, allocations: 28 kB / 437.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.5419, allocations: 0.7525 MB / 438.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.542, allocations: 0 / 438.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.5421, allocations: 16 kB / 438.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.5421, allocations: 15.94 kB / 438.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.5453, allocations: 0.8176 MB / 439.2 MB, free: 6.555 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.005264/0.5506, allocations: 2.707 MB / 441.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.5524, allocations: 350.3 kB / 442.2 MB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9866/1.539, allocations: 142.5 MB / 0.571 GB, free: 49.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/1.541, allocations: 436.9 kB / 0.5714 GB, free: 49.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 5.19e-06/1.541, allocations: 7.234 kB / 0.5714 GB, free: 49.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.005398/1.546, allocations: 1.125 MB / 0.5725 GB, free: 48.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/1.546, allocations: 375.8 kB / 0.5729 GB, free: 47.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/1.547, allocations: 186.3 kB / 0.5731 GB, free: 47.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/1.547, allocations: 29.7 kB / 0.5731 GB, free: 47.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.547, allocations: 256.7 kB / 0.5733 GB, free: 47.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/1.547, allocations: 113.5 kB / 0.5735 GB, free: 47.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/1.547, allocations: 12 kB / 0.5735 GB, free: 47.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.714e-05/1.547, allocations: 334.8 kB / 0.5738 GB, free: 46.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/1.547, allocations: 77.06 kB / 0.5739 GB, free: 46.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/1.548, allocations: 344.7 kB / 0.5742 GB, free: 46.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/1.548, allocations: 127.8 kB / 0.5743 GB, free: 46.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.548, allocations: 8 kB / 0.5743 GB, free: 46.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001204/1.549, allocations: 460.1 kB / 0.5748 GB, free: 45.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/1.549, allocations: 8 kB / 0.5748 GB, free: 45.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.549, allocations: 8.906 kB / 0.5748 GB, free: 45.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/1.549, allocations: 16 kB / 0.5748 GB, free: 45.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/1.552, allocations: 219.6 kB / 0.575 GB, free: 45.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005613/1.553, allocations: 1.184 MB / 0.5762 GB, free: 44.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/1.553, allocations: 24.12 kB / 0.5762 GB, free: 44.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/1.554, allocations: 47.98 kB / 0.5762 GB, free: 44.28 MB / 426.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.0002534/1.554, allocations: 158.2 kB / 0.5764 GB, free: 44.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/1.554, allocations: 31.66 kB / 0.5764 GB, free: 44.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/1.558, allocations: 2.878 MB / 0.5792 GB, free: 41.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/1.558, allocations: 23.97 kB / 0.5792 GB, free: 41.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.558, allocations: 7.844 kB / 0.5792 GB, free: 41.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.558, allocations: 11.94 kB / 0.5793 GB, free: 41.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.559, allocations: 0.9653 MB / 0.5802 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.559, allocations: 4 kB / 0.5802 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/1.56, allocations: 97.14 kB / 0.5803 GB, free: 40.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003176/1.561, allocations: 166.8 kB / 0.5805 GB, free: 39.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/1.561, allocations: 19.98 kB / 0.5805 GB, free: 39.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003854/1.561, allocations: 0.6362 MB / 0.5811 GB, free: 39.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.561, allocations: 4 kB / 0.5811 GB, free: 39.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/1.562, allocations: 0.9683 MB / 0.582 GB, free: 38.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/1.563, allocations: 354.9 kB / 0.5824 GB, free: 37.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/1.563, allocations: 9.438 kB / 0.5824 GB, free: 37.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/1.564, allocations: 19.98 kB / 0.5824 GB, free: 37.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/1.564, allocations: 35.86 kB / 0.5824 GB, free: 37.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/1.564, allocations: 16 kB / 0.5825 GB, free: 37.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000714/1.564, allocations: 463 kB / 0.5829 GB, free: 37.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.564, allocations: 0 / 0.5829 GB, free: 37.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005266/1.57, allocations: 1.623 MB / 0.5845 GB, free: 35.8 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: 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.01265/1.582, allocations: 3.126 MB / 0.5875 GB, free: 32.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/1.585, allocations: 0.5312 MB / 0.5881 GB, free: 32.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.585, allocations: 0 / 0.5881 GB, free: 32.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006743/1.585, allocations: 366.4 kB / 0.5884 GB, free: 31.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/1.587, allocations: 119.8 kB / 0.5885 GB, free: 31.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009991/1.597, allocations: 4.534 MB / 0.593 GB, free: 27.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/1.597, allocations: 1.002 MB / 0.5939 GB, free: 26.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005997/1.598, allocations: 315.3 kB / 0.5942 GB, free: 25.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.604e-06/1.598, allocations: 0 / 0.5942 GB, free: 25.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.998/5.596, allocations: 44.06 MB / 0.6373 GB, free: 13.82 MB / 458.7 MB