Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006139/0.000614, allocations: 12 kB / 314.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.323, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.03735/0.3605, allocations: 11.74 MB / 380.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.06988/0.4304, allocations: 22.41 MB / 403.3 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.4308, allocations: 0 / 403.3 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.4314, allocations: 79.62 kB / 403.4 MB, free: 8.375 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03696/0.4683, allocations: 6.712 MB / 410.1 MB, free: 1.645 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.4701, allocations: 303.3 kB / 410.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.4839, allocations: 3.049 MB / 413.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.4841, allocations: 24.39 kB / 413.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.4853, allocations: 271 kB / 413.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01132/0.4967, allocations: 5.544 MB / 419.3 MB, free: 8.465 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.98e-05/0.4968, allocations: 8 kB / 419.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02741/0.5242, allocations: 11.45 MB / 430.8 MB, free: 13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.5244, allocations: 39.83 kB / 430.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.5245, allocations: 77.58 kB / 430.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.5353, allocations: 4.502 MB / 435.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5353, allocations: 0 / 435.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.691e-06/0.5353, allocations: 0 / 435.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.5353, allocations: 0 / 435.4 MB, free: 8.363 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.005277/0.5406, allocations: 1.546 MB / 436.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5407, allocations: 12.03 kB / 436.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.5426, allocations: 191.4 kB / 437.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.5431, allocations: 266.6 kB / 437.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.5431, allocations: 20.66 kB / 437.4 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.5432, allocations: 36 kB / 437.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/0.5467, allocations: 0.7525 MB / 438.2 MB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.5467, allocations: 0 / 438.2 MB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/0.5468, allocations: 19.98 kB / 438.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.5468, allocations: 8 kB / 438.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002849/0.5497, allocations: 0.8137 MB / 439 MB, free: 4.566 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.006503/0.5562, allocations: 2.719 MB / 441.8 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/0.5596, allocations: 350.3 kB / 442.1 MB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7713/1.331, allocations: 142.5 MB / 0.5709 GB, free: 236 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/1.333, allocations: 448.2 kB / 0.5713 GB, free: 15.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 5.68e-06/1.333, allocations: 0 / 0.5713 GB, free: 15.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.005033/1.338, allocations: 1.123 MB / 0.5724 GB, free: 14.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002327/1.338, allocations: 375.8 kB / 0.5727 GB, free: 14.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/1.338, allocations: 186.1 kB / 0.5729 GB, free: 13.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/1.338, allocations: 37.69 kB / 0.573 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/1.339, allocations: 257.3 kB / 0.5732 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/1.339, allocations: 113.2 kB / 0.5733 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/1.339, allocations: 8 kB / 0.5733 GB, free: 13.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/1.339, allocations: 326.8 kB / 0.5736 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/1.339, allocations: 77.06 kB / 0.5737 GB, free: 13.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/1.34, allocations: 345.6 kB / 0.574 GB, free: 12.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/1.34, allocations: 128.9 kB / 0.5742 GB, free: 12.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.623e-06/1.34, allocations: 4 kB / 0.5742 GB, free: 12.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001152/1.341, allocations: 467.1 kB / 0.5746 GB, free: 12.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/1.341, allocations: 8 kB / 0.5746 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.341, allocations: 12 kB / 0.5746 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/1.341, allocations: 19.8 kB / 0.5746 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/1.343, allocations: 211.6 kB / 0.5748 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009139/1.344, allocations: 1.18 MB / 0.576 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/1.344, allocations: 20 kB / 0.576 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/1.345, allocations: 47.97 kB / 0.5761 GB, free: 10.59 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.0002747/1.345, allocations: 166 kB / 0.5762 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.345, allocations: 35.89 kB / 0.5763 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/1.349, allocations: 2.878 MB / 0.5791 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.591e-05/1.349, allocations: 19.97 kB / 0.5791 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.35, allocations: 5.25 kB / 0.5791 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/1.35, allocations: 8 kB / 0.5791 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/1.351, allocations: 0.9621 MB / 0.58 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.018e-06/1.351, allocations: 0 / 0.58 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007153/1.352, allocations: 108.2 kB / 0.5801 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003379/1.352, allocations: 162.8 kB / 0.5803 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/1.352, allocations: 9.188 kB / 0.5803 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006129/1.353, allocations: 0.647 MB / 0.5809 GB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.95e-06/1.353, allocations: 4 kB / 0.5809 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/1.355, allocations: 0.9682 MB / 0.5819 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/1.355, allocations: 350.8 kB / 0.5822 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/1.355, allocations: 15.98 kB / 0.5822 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/1.356, allocations: 16 kB / 0.5822 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/1.356, allocations: 34.48 kB / 0.5823 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/1.356, allocations: 15.98 kB / 0.5823 GB, free: 4.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008269/1.357, allocations: 471 kB / 0.5827 GB, free: 3.555 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.06e-07/1.357, allocations: 0 / 0.5827 GB, free: 3.555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004805/1.362, allocations: 1.616 MB / 0.5843 GB, free: 2.086 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.009288/1.371, allocations: 1.857 MB / 0.5861 GB, free: 432 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002002/1.373, allocations: 0.5422 MB / 0.5867 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.373, allocations: 3.938 kB / 0.5867 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006835/1.374, allocations: 362.4 kB / 0.587 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008728/1.374, allocations: 121 kB / 0.5871 GB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/1.379, allocations: 2.629 MB / 0.5897 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/1.38, allocations: 1.002 MB / 0.5907 GB, free: 11.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/1.38, allocations: 59.41 kB / 0.5907 GB, free: 11.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.733e-06/1.38, allocations: 0 / 0.5907 GB, free: 11.88 MB / 442.7 MB Notification: Performance of Templates: time 0.07946/1.46, allocations: 42.19 MB / 0.6319 GB, free: 1.652 MB / 474.7 MB