Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 46.96 MB / 361.6 MB, free: 4.152 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 67.89 kB / 0.4974 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3242, allocations: 66.04 MB / 0.5619 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01696/0.3412, allocations: 12.71 MB / 0.5743 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03006/0.3713, allocations: 23.37 MB / 0.5971 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.3715, allocations: 0 / 0.5971 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.3719, allocations: 87.42 kB / 0.5972 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02268/0.3945, allocations: 8.503 MB / 0.6055 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009875/0.3955, allocations: 350.7 kB / 0.6058 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004064/0.3996, allocations: 2.01 MB / 0.6078 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.142e-05/0.3997, allocations: 20.53 kB / 0.6078 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.4002, allocations: 250.9 kB / 0.6081 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006081/0.4062, allocations: 3.274 MB / 0.6112 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.4063, allocations: 12 kB / 0.6113 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02279/0.4291, allocations: 11.56 MB / 0.6226 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4292, allocations: 47.77 kB / 0.6226 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.4294, allocations: 119.5 kB / 0.6227 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0205/0.4499, allocations: 6.766 MB / 0.6293 GB, free: 14.87 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.4499, allocations: 0 / 0.6293 GB, free: 14.87 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4499, allocations: 0 / 0.6293 GB, free: 14.87 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4499, allocations: 0 / 0.6293 GB, free: 14.87 MB / 478.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.007635/0.4576, allocations: 1.587 MB / 0.6309 GB, free: 13.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.4576, allocations: 8.031 kB / 0.6309 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.4603, allocations: 192.5 kB / 0.6311 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.4609, allocations: 214 kB / 0.6313 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.4609, allocations: 25.03 kB / 0.6313 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.461, allocations: 32.12 kB / 0.6313 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/0.4645, allocations: 0.8068 MB / 0.6321 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.4646, allocations: 3.938 kB / 0.6321 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.4646, allocations: 16 kB / 0.6321 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.4646, allocations: 12 kB / 0.6321 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003457/0.4681, allocations: 0.8063 MB / 0.6329 GB, free: 11.05 MB / 478.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.004957/0.4731, allocations: 2.097 MB / 0.635 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.4751, allocations: 345 kB / 0.6353 GB, free: 8.535 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.4753, allocations: 68.83 kB / 0.6354 GB, free: 8.465 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3774/0.8527, allocations: 99.97 MB / 0.733 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/0.8541, allocations: 454.8 kB / 0.7334 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.8541, allocations: 0 / 0.7334 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.00404/0.8582, allocations: 1.14 MB / 0.7345 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002033/0.8584, allocations: 379.8 kB / 0.7349 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.8586, allocations: 191.7 kB / 0.7351 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.8586, allocations: 33.7 kB / 0.7351 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.8587, allocations: 192.1 kB / 0.7353 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.8588, allocations: 119 kB / 0.7354 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.859, allocations: 122.1 kB / 0.7355 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8592, allocations: 338.8 kB / 0.7359 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.8594, allocations: 76.94 kB / 0.7359 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.8598, allocations: 345 kB / 0.7363 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.8604, allocations: 487.4 kB / 0.7367 GB, free: 96 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8604, allocations: 4 kB / 0.7367 GB, free: 92 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.2546/1.115, allocations: 467.5 kB / 0.7372 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/1.115, allocations: 11.97 kB / 0.7372 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/1.115, allocations: 13 kB / 0.7372 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.021e-05/1.115, allocations: 12.72 kB / 0.7372 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.117, allocations: 218.7 kB / 0.7374 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003956/1.118, allocations: 1.18 MB / 0.7386 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/1.118, allocations: 21.3 kB / 0.7386 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.118, allocations: 44 kB / 0.7386 GB, free: 167.4 MB / 0.5606 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.0002051/1.118, allocations: 168.5 kB / 0.7388 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/1.118, allocations: 26.45 kB / 0.7388 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/1.121, allocations: 2.978 MB / 0.7417 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.121, allocations: 5.891 kB / 0.7417 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.121, allocations: 0 / 0.7417 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/1.121, allocations: 61.58 kB / 0.7418 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/1.122, allocations: 94.7 kB / 0.7419 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/1.122, allocations: 31.06 kB / 0.7419 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/1.122, allocations: 39.67 kB / 0.7419 GB, free: 166.1 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:521:7-523: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_s: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:9812:5-9813:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005558/1.123, allocations: 198 kB / 0.7421 GB, free: 166 MB / 0.5606 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 " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.7442203140017227] Failed to read output from testmodel.py, exit status != 0: ['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'] 1.1316420459988876 1.140635654 0.688358016 Calling exit ...