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: 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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.3 MB / 225.4 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004217, allocations: 8 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3637, allocations: 48.69 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01883/0.3826, allocations: 11.7 MB / 343.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04189/0.4246, allocations: 22.28 MB / 365.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.4249, allocations: 4 kB / 365.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.4254, allocations: 79.62 kB / 365.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03099/0.4564, allocations: 6.65 MB / 372.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.4578, allocations: 311.3 kB / 372.8 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008791/0.4667, allocations: 3.018 MB / 375.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.286e-05/0.4668, allocations: 16.41 kB / 375.9 MB, free: 2.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008995/0.4677, allocations: 279 kB / 376.1 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01526/0.483, allocations: 5.482 MB / 381.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.4831, allocations: 8 kB / 381.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03417/0.5173, allocations: 11.23 MB / 392.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.5175, allocations: 51.8 kB / 392.9 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.5177, allocations: 73.58 kB / 393 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.532, allocations: 4.428 MB / 397.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5321, allocations: 0 / 397.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.5321, allocations: 0 / 397.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.5322, allocations: 0 / 397.4 MB, free: 12.84 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.006349/0.5385, allocations: 1.517 MB / 398.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.5386, allocations: 8.031 kB / 398.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.5407, allocations: 191.5 kB / 399.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.5412, allocations: 266.7 kB / 399.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.5413, allocations: 24.61 kB / 399.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.613e-05/0.5414, allocations: 32 kB / 399.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.5446, allocations: 0.7525 MB / 400.2 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.5447, allocations: 0 / 400.2 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.5448, allocations: 16 kB / 400.2 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.5448, allocations: 12 kB / 400.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.5482, allocations: 0.8176 MB / 401 MB, free: 9.074 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.005439/0.5537, allocations: 2.715 MB / 403.7 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.5555, allocations: 347.9 kB / 404.1 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9301/1.486, allocations: 142 MB / 0.5333 GB, free: 64.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/1.487, allocations: 440.5 kB / 0.5337 GB, free: 64.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.947e-06/1.487, allocations: 0 / 0.5337 GB, free: 64.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.005117/1.493, allocations: 1.121 MB / 0.5348 GB, free: 63.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/1.493, allocations: 371.4 kB / 0.5352 GB, free: 62.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/1.493, allocations: 182.3 kB / 0.5354 GB, free: 62.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/1.493, allocations: 35.39 kB / 0.5354 GB, free: 62.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/1.493, allocations: 258.2 kB / 0.5356 GB, free: 62.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.493, allocations: 109.4 kB / 0.5357 GB, free: 62.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/1.493, allocations: 10.69 kB / 0.5357 GB, free: 62.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.672e-05/1.493, allocations: 337.1 kB / 0.5361 GB, free: 62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/1.494, allocations: 76.62 kB / 0.5361 GB, free: 61.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/1.494, allocations: 345 kB / 0.5365 GB, free: 61.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/1.494, allocations: 133.1 kB / 0.5366 GB, free: 61.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.494, allocations: 4 kB / 0.5366 GB, free: 61.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001167/1.496, allocations: 463 kB / 0.537 GB, free: 61.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.496, allocations: 8.844 kB / 0.5371 GB, free: 61.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.496, allocations: 16 kB / 0.5371 GB, free: 61.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/1.496, allocations: 12 kB / 0.5371 GB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/1.498, allocations: 212.7 kB / 0.5373 GB, free: 60.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005118/1.499, allocations: 1.186 MB / 0.5384 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005496/1.499, allocations: 27 kB / 0.5385 GB, free: 59.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/1.5, allocations: 47.03 kB / 0.5385 GB, free: 59.63 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.0002376/1.5, allocations: 156.9 kB / 0.5387 GB, free: 59.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/1.5, allocations: 31.7 kB / 0.5387 GB, free: 59.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/1.504, allocations: 2.884 MB / 0.5415 GB, free: 57.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/1.504, allocations: 4 kB / 0.5415 GB, free: 57.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.504, allocations: 0 / 0.5415 GB, free: 57.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/1.504, allocations: 350.8 kB / 0.5418 GB, free: 57.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/1.505, allocations: 16.36 kB / 0.5419 GB, free: 57.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/1.505, allocations: 40.72 kB / 0.5419 GB, free: 57.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/1.505, allocations: 28.78 kB / 0.5419 GB, free: 57.16 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): 104929.294642565 = $cse16.h 2/2 (16): $cse16 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_pT(101325.0, medium.T, 0) Variables: 1: $cse16.R:VARIABLE(protected = true ) type: Real unreplaceable 2: $cse16.cp:VARIABLE(protected = true ) type: Real unreplaceable 3: $cse16.phase:DISCRETE(protected = true ) type: Integer unreplaceable 4: $cse16.vt:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse16.region:DISCRETE(protected = true ) type: Integer unreplaceable 6: $cse16.rho:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse16.p:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse16.pd:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse16.h:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse16.T:VARIABLE(protected = true ) type: Real unreplaceable 11: medium.T:DUMMY_STATE(min = 273.15 max = 2273.15 start = 298.15 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real 12: $cse16.x:VARIABLE(protected = true ) type: Real unreplaceable 13: $cse16.vp:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse16.cv:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse16.pt:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse16.s:VARIABLE(protected = true ) type: Real unreplaceable 17: $cse16.dpT:VARIABLE(protected = true ) type: Real unreplaceable [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9703:5-9704:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007053/1.506, allocations: 200.1 kB / 0.5421 GB, free: 56.98 MB / 410.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.