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: 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.418/2.418, allocations: 234.9 MB / 251.1 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004472, allocations: 12 kB / 314.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3663, allocations: 54.87 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02233/0.3887, allocations: 11.74 MB / 381.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04642/0.4352, allocations: 22.4 MB / 404 MB, free: 8.496 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.4356, allocations: 0 / 404 MB, free: 8.496 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.4361, allocations: 83.62 kB / 404 MB, free: 8.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04049/0.4767, allocations: 6.708 MB / 410.8 MB, free: 1.688 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.4785, allocations: 307.3 kB / 411.1 MB, free: 1.387 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.4899, allocations: 3.053 MB / 414.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.49, allocations: 16.41 kB / 414.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.4912, allocations: 275 kB / 414.4 MB, free: 14.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01842/0.5097, allocations: 5.548 MB / 419.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.5098, allocations: 11.94 kB / 420 MB, free: 8.488 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04444/0.5543, allocations: 11.44 MB / 431.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.5545, allocations: 43.83 kB / 431.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.5548, allocations: 77.58 kB / 431.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.5724, allocations: 4.502 MB / 436 MB, free: 8.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5724, allocations: 0 / 436 MB, free: 8.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5724, allocations: 0 / 436 MB, free: 8.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.5725, allocations: 0 / 436 MB, free: 8.395 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.008554/0.581, allocations: 1.548 MB / 437.6 MB, free: 6.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/0.5811, allocations: 12.03 kB / 437.6 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.5842, allocations: 191.4 kB / 437.8 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.5849, allocations: 266.6 kB / 438 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.5849, allocations: 20.66 kB / 438 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.5851, allocations: 28 kB / 438.1 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/0.5887, allocations: 0.7525 MB / 438.8 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.5888, allocations: 3.938 kB / 438.8 MB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.5889, allocations: 16 kB / 438.8 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.5889, allocations: 8 kB / 438.9 MB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003187/0.5921, allocations: 0.8176 MB / 439.7 MB, free: 4.598 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.005323/0.5974, allocations: 2.715 MB / 442.4 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.5993, allocations: 344.3 kB / 442.7 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9953/1.595, allocations: 142.5 MB / 0.5715 GB, free: 272 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/1.597, allocations: 445.5 kB / 0.5719 GB, free: 15.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/1.597, allocations: 4 kB / 0.5719 GB, free: 15.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.005399/1.602, allocations: 1.107 MB / 0.573 GB, free: 14.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/1.602, allocations: 375.8 kB / 0.5734 GB, free: 14.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/1.602, allocations: 186.1 kB / 0.5735 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/1.603, allocations: 37.7 kB / 0.5736 GB, free: 13.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/1.603, allocations: 247.3 kB / 0.5738 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/1.603, allocations: 118.7 kB / 0.5739 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/1.603, allocations: 11.75 kB / 0.5739 GB, free: 13.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/1.603, allocations: 330.8 kB / 0.5742 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/1.603, allocations: 77.08 kB / 0.5743 GB, free: 13.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/1.604, allocations: 345.6 kB / 0.5746 GB, free: 12.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/1.604, allocations: 127.8 kB / 0.5748 GB, free: 12.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.604, allocations: 4 kB / 0.5748 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001346/1.606, allocations: 458.2 kB / 0.5752 GB, free: 12.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.606, allocations: 12.94 kB / 0.5752 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/1.606, allocations: 8 kB / 0.5752 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/1.606, allocations: 16 kB / 0.5752 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/1.609, allocations: 219.6 kB / 0.5755 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007825/1.609, allocations: 1.184 MB / 0.5766 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/1.61, allocations: 20.12 kB / 0.5766 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/1.61, allocations: 47.83 kB / 0.5767 GB, free: 10.63 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.000273/1.61, allocations: 169.5 kB / 0.5768 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/1.61, allocations: 27.72 kB / 0.5769 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/1.615, allocations: 2.879 MB / 0.5797 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.616, allocations: 7.984 kB / 0.5797 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.616, allocations: 4 kB / 0.5797 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004991/1.616, allocations: 346.9 kB / 0.58 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/1.616, allocations: 8.562 kB / 0.58 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/1.617, allocations: 35.89 kB / 0.5801 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/1.617, allocations: 32.05 kB / 0.5801 GB, free: 7.078 MB / 426.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.0007382/1.618, allocations: 202 kB / 0.5803 GB, free: 6.887 MB / 426.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.