Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") 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.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 109.1 kB / 17.09 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 200.2 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2097/0.2097, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.89 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1163, allocations: 57.78 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01784/0.1342, allocations: 13.82 MB / 0.5021 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0292/0.1634, allocations: 26.59 MB / 0.5281 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.1637, allocations: 0 / 0.5281 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.1642, allocations: 91.39 kB / 0.5281 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2622/0.4264, allocations: 8.5 MB / 0.5364 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.4278, allocations: 348.3 kB / 0.5368 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004861/0.4326, allocations: 1.998 MB / 0.5387 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.4327, allocations: 23.12 kB / 0.5387 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.4333, allocations: 268.6 kB / 0.539 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006289/0.4396, allocations: 3.255 MB / 0.5422 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.944e-05/0.4397, allocations: 9.375 kB / 0.5422 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02801/0.4677, allocations: 11.61 MB / 0.5535 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.4679, allocations: 48.53 kB / 0.5536 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.4682, allocations: 137.2 kB / 0.5537 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02229/0.4905, allocations: 6.733 MB / 0.5603 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.4906, allocations: 1.469 kB / 0.5603 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4906, allocations: 4 kB / 0.5603 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.4906, allocations: 0 / 0.5603 GB, free: 0.9453 MB / 414.1 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.006632/0.4973, allocations: 1.613 MB / 0.5619 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.4973, allocations: 17.3 kB / 0.5619 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.499, allocations: 187.2 kB / 0.5621 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.4994, allocations: 268.3 kB / 0.5623 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.4995, allocations: 25.12 kB / 0.5623 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.4995, allocations: 30.22 kB / 0.5624 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.5017, allocations: 0.7565 MB / 0.5631 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5018, allocations: 5.688 kB / 0.5631 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.5018, allocations: 17.16 kB / 0.5631 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.5018, allocations: 7.828 kB / 0.5631 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.504, allocations: 0.8233 MB / 0.5639 GB, free: 14.59 MB / 430.1 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.003405/0.5074, allocations: 2.701 MB / 0.5666 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.5086, allocations: 344.4 kB / 0.5669 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.5088, allocations: 71.7 kB / 0.567 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3887/0.8975, allocations: 142.9 MB / 0.7065 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.899, allocations: 437.6 kB / 0.7069 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/0.8991, allocations: 3.094 kB / 0.7069 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004294/0.9034, allocations: 1.126 MB / 0.708 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.9035, allocations: 375.1 kB / 0.7084 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.9037, allocations: 187.6 kB / 0.7086 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.9038, allocations: 33.7 kB / 0.7086 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.904, allocations: 189.2 kB / 0.7088 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.9041, allocations: 115.2 kB / 0.7089 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.9042, allocations: 126.1 kB / 0.709 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9044, allocations: 330.8 kB / 0.7093 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.9046, allocations: 81.06 kB / 0.7094 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.9049, allocations: 340.1 kB / 0.7097 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.9056, allocations: 490.2 kB / 0.7102 GB, free: 412 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.9056, allocations: 4 kB / 0.7102 GB, free: 408 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009034/0.9065, allocations: 471.7 kB / 0.7106 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.9065, allocations: 14.75 kB / 0.7107 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.9066, allocations: 15.84 kB / 0.7107 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.9066, allocations: 12 kB / 0.7107 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.9083, allocations: 205.8 kB / 0.7109 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007511/0.9091, allocations: 1.195 MB / 0.712 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.9094, allocations: 20 kB / 0.7121 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.9095, allocations: 39.98 kB / 0.7121 GB, free: 14.47 MB / 0.5762 GB 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.9097, allocations: 170.6 kB / 0.7123 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.9098, allocations: 27.72 kB / 0.7123 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/0.9129, allocations: 2.829 MB / 0.7151 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.9129, allocations: 4 kB / 0.7151 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.9129, allocations: 7.984 kB / 0.7151 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.913, allocations: 124.5 kB / 0.7152 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.9132, allocations: 100 kB / 0.7153 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.9136, allocations: 31.95 kB / 0.7153 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.9137, allocations: 35.06 kB / 0.7153 GB, free: 11.15 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): 104929.29464256502 = $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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005697/0.9142, allocations: 184.2 kB / 0.7155 GB, free: 10.98 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT could not be translated