Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001079/0.001079, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 71.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3017, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01722/0.319, allocations: 13.92 MB / 0.5453 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0298/0.3488, allocations: 26.61 MB / 0.5713 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.3492, allocations: 4 kB / 0.5713 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.3497, allocations: 99.38 kB / 0.5714 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02621/0.3759, allocations: 8.528 MB / 0.5797 GB, free: 468 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.3768, allocations: 345.9 kB / 0.58 GB, free: 128 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003999/0.3809, allocations: 2.002 MB / 0.582 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.366e-05/0.3809, allocations: 16.41 kB / 0.582 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.3814, allocations: 270.8 kB / 0.5823 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005925/0.3874, allocations: 3.254 MB / 0.5854 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.364e-05/0.3874, allocations: 12 kB / 0.5855 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0238/0.4113, allocations: 11.63 MB / 0.5968 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.4114, allocations: 39.83 kB / 0.5969 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.4117, allocations: 139.3 kB / 0.597 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01801/0.4297, allocations: 6.753 MB / 0.6036 GB, free: 7.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4297, allocations: 4 kB / 0.6036 GB, free: 7.906 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4297, allocations: 0 / 0.6036 GB, free: 7.906 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4297, allocations: 4 kB / 0.6036 GB, free: 7.902 MB / 462.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.005122/0.4349, allocations: 1.615 MB / 0.6052 GB, free: 6.238 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4349, allocations: 11.97 kB / 0.6052 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.4365, allocations: 192.5 kB / 0.6054 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.4368, allocations: 267.9 kB / 0.6056 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.4369, allocations: 24.97 kB / 0.6056 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.4369, allocations: 36.06 kB / 0.6057 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.4391, allocations: 0.7603 MB / 0.6064 GB, free: 4.871 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4391, allocations: 3.938 kB / 0.6064 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.4392, allocations: 12 kB / 0.6064 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.4392, allocations: 8 kB / 0.6064 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.4413, allocations: 0.8215 MB / 0.6072 GB, free: 4.023 MB / 462.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.003221/0.4445, allocations: 2.695 MB / 0.6099 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.4458, allocations: 350.3 kB / 0.6102 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.4459, allocations: 76.81 kB / 0.6103 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.625/1.071, allocations: 147.8 MB / 0.7546 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/1.072, allocations: 453.7 kB / 0.7551 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.977e-06/1.072, allocations: 0 / 0.7551 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003759/1.076, allocations: 1.122 MB / 0.7562 GB, free: 171 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/1.076, allocations: 372 kB / 0.7565 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.076, allocations: 186.2 kB / 0.7567 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/1.076, allocations: 33.7 kB / 0.7567 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/1.076, allocations: 191.3 kB / 0.7569 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/1.076, allocations: 118.2 kB / 0.757 GB, free: 170 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.077, allocations: 122.1 kB / 0.7571 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.228e-05/1.077, allocations: 326.8 kB / 0.7575 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/1.077, allocations: 85.06 kB / 0.7575 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/1.077, allocations: 345.6 kB / 0.7579 GB, free: 169 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/1.078, allocations: 483.7 kB / 0.7583 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.078, allocations: 0 / 0.7583 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007871/1.078, allocations: 477.2 kB / 0.7588 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.078, allocations: 8 kB / 0.7588 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.078, allocations: 8 kB / 0.7588 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/1.078, allocations: 12 kB / 0.7588 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.08, allocations: 211.7 kB / 0.759 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004291/1.081, allocations: 1.186 MB / 0.7602 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/1.081, allocations: 16.88 kB / 0.7602 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/1.081, allocations: 47.97 kB / 0.7602 GB, free: 166.4 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.0001594/1.081, allocations: 167.7 kB / 0.7604 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/1.081, allocations: 30.44 kB / 0.7604 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/1.083, allocations: 2.82 MB / 0.7632 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/1.083, allocations: 11.92 kB / 0.7632 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.083, allocations: 3.062 kB / 0.7632 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/1.083, allocations: 132.4 kB / 0.7633 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/1.084, allocations: 94.73 kB / 0.7634 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/1.084, allocations: 27.97 kB / 0.7634 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/1.084, allocations: 41.06 kB / 0.7635 GB, free: 163 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_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:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005365/1.085, allocations: 200.5 kB / 0.7637 GB, free: 162.9 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