Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 173.1 kB / 17.39 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 223.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007552/0.0007556, allocations: 89.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3313/0.3313, allocations: 43.54 MB / 363.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005856/0.0005856, allocations: 16 kB / 432.6 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1303, allocations: 58.85 MB / 491.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.2419/0.3723, allocations: 12.81 MB / 0.4925 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02416/0.3965, allocations: 24.6 MB / 0.5165 GB, free: 24.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003236/0.3969, allocations: 1 kB / 0.5165 GB, free: 24.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.3973, allocations: 65.69 kB / 0.5166 GB, free: 24.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02245/0.4197, allocations: 6.607 MB / 0.523 GB, free: 21.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009271/0.4207, allocations: 300.8 kB / 0.5233 GB, free: 20.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004779/0.4254, allocations: 3.199 MB / 0.5264 GB, free: 20.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.4255, allocations: 24.11 kB / 0.5265 GB, free: 20.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.4259, allocations: 243.8 kB / 0.5267 GB, free: 20.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007487/0.4334, allocations: 5.67 MB / 0.5322 GB, free: 19.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.4335, allocations: 10.16 kB / 0.5322 GB, free: 19.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0236/0.4572, allocations: 11.15 MB / 0.5431 GB, free: 17.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.4573, allocations: 45.88 kB / 0.5432 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.4577, allocations: 156.8 kB / 0.5433 GB, free: 17.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.468, allocations: 4.528 MB / 0.5477 GB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4681, allocations: 4 kB / 0.5477 GB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4681, allocations: 0 / 0.5477 GB, free: 15.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4681, allocations: 0 / 0.5477 GB, free: 15.11 MB / 378.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.005775/0.4739, allocations: 1.537 MB / 0.5492 GB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4739, allocations: 8.906 kB / 0.5493 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.4753, allocations: 190.4 kB / 0.5494 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.4756, allocations: 278 kB / 0.5497 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.4756, allocations: 20.53 kB / 0.5497 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.4757, allocations: 31.25 kB / 0.5498 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.4775, allocations: 0.7561 MB / 0.5505 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4775, allocations: 3.938 kB / 0.5505 GB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.4776, allocations: 15.38 kB / 0.5505 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.4776, allocations: 8.812 kB / 0.5505 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.4795, allocations: 0.8159 MB / 0.5513 GB, free: 12.75 MB / 378.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.002831/0.4823, allocations: 2.717 MB / 0.554 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.4834, allocations: 344.6 kB / 0.5543 GB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.66e-05/0.4835, allocations: 74.94 kB / 0.5544 GB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5597/1.043, allocations: 142.5 MB / 0.6935 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/1.045, allocations: 438.8 kB / 0.6939 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 4.178e-06/1.045, allocations: 0 / 0.6939 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003779/1.048, allocations: 1.118 MB / 0.695 GB, free: 159 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/1.048, allocations: 377.2 kB / 0.6954 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/1.049, allocations: 187.9 kB / 0.6955 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/1.049, allocations: 32.11 kB / 0.6956 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/1.049, allocations: 185.6 kB / 0.6957 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/1.049, allocations: 114.7 kB / 0.6959 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/1.049, allocations: 6.812 kB / 0.6959 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/1.049, allocations: 337.5 kB / 0.6962 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/1.049, allocations: 74.45 kB / 0.6963 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/1.049, allocations: 349.4 kB / 0.6966 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/1.05, allocations: 472 kB / 0.697 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.05, allocations: 3.312 kB / 0.697 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000917/1.051, allocations: 471.2 kB / 0.6975 GB, free: 157 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/1.051, allocations: 13.09 kB / 0.6975 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.051, allocations: 10.12 kB / 0.6975 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.568e-05/1.051, allocations: 12.69 kB / 0.6975 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.053, allocations: 211.2 kB / 0.6977 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005196/1.053, allocations: 1.185 MB / 0.6989 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/1.053, allocations: 16.06 kB / 0.6989 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/1.054, allocations: 46.27 kB / 0.6989 GB, free: 155.9 MB / 0.4948 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 (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.0002146/1.054, allocations: 167.3 kB / 0.6991 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/1.054, allocations: 33.98 kB / 0.6991 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003032/1.057, allocations: 2.879 MB / 0.7019 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/1.057, allocations: 6.938 kB / 0.7019 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.057, allocations: 3.375 kB / 0.702 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/1.057, allocations: 349.1 kB / 0.7023 GB, free: 155 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/1.057, allocations: 17.7 kB / 0.7023 GB, free: 155 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/1.058, allocations: 28.58 kB / 0.7023 GB, free: 155 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/1.058, allocations: 33.83 kB / 0.7024 GB, free: 155 MB / 0.4948 GB [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9741:5-9742:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005535/1.059, allocations: 202.2 kB / 0.7026 GB, free: 154.8 MB / 0.4948 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.